> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Can Create Appointment In Associate Diaries

> CanCreateAppointmentInAssociateDiaries will check if the current associate can create appointments in diaries belonging to the associates listed in associateIds.

CanCreateAppointmentInAssociateDiaries will only check against associates that are diary owners. If none of the associates listed in the associateIds parameter is a diary owner, the method will return true.
NsApiSlow threshold: 5000 ms.



## OpenAPI

````yaml /openapi/agent/openapi-v3-SentryAgent.json post /api/v1/Agents/Sentry/CanCreateAppointmentInAssociateDiaries
openapi: 3.0.0
info:
  version: v1-Agents
  title: SuperOffice Agent API v1
  description: SuperOffice Agent API - SentryAgent
  contact:
    name: SuperOffice DevNet
    url: https://docs.superoffice.com/en/api/index.html
    email: sdk@superoffice.com
servers:
  - url: http://localhost:56350
  - url: https://localhost:56350
security: []
tags: []
externalDocs:
  description: >-
    The SuperOffice DevNet Community has more documentation, examples, and
    discussion forums.
  url: https://community.superoffice.com/en/developer/
paths:
  /api/v1/Agents/Sentry/CanCreateAppointmentInAssociateDiaries:
    post:
      tags:
        - Sentry_Agent
      summary: Can Create Appointment In Associate Diaries
      description: "CanCreateAppointmentInAssociateDiaries will check if the current associate can create appointments in diaries belonging to the associates listed in associateIds.\n\nCanCreateAppointmentInAssociateDiaries will only check against associates that are diary owners. If none of the associates listed in the associateIds parameter is a diary owner, the method will return true.\r\nNsApiSlow threshold: 5000 ms."
      operationId: v1SentryAgent_CanCreateAppointmentInAssociateDiaries
      parameters:
        - name: $select
          in: query
          description: >-
            Optional comma separated list of properties to include in the
            result. Other fields are then nulled out to reduce payload size:
            "Name,department,category". Default = show all fields.
          required: false
          schema:
            type: string
        - name: Accept-Language
          in: header
          description: >-
            Convert string references and multi-language values into a specified
            language (iso2) code.
          required: false
          schema:
            type: string
        - name: SO-Language
          in: header
          description: >-
            Convert string references and multi-language values into a specified
            language (iso2) code. Overrides Accept-Language value.
          required: false
          schema:
            type: string
        - name: SO-Culture
          in: header
          description: >-
            Number, date formatting in a specified culture (iso2 language) code.
            Partially overrides SO-Language/Accept-Language value. Ignored if no
            Language set.
          required: false
          schema:
            type: string
        - name: SO-TimeZone
          in: header
          description: >-
            Specify the timezone code that you would like date/time responses
            converted to.
          required: false
          schema:
            type: string
        - name: SO-AppToken
          in: header
          description: >-
            The application token that identifies the partner app. Used when
            calling Online WebAPI from a server.
          required: false
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.SentryCarriers.CanCreateAppointmentInAssociateDiariesRequest
          text/json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.SentryCarriers.CanCreateAppointmentInAssociateDiariesRequest
          application/xml:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.SentryCarriers.CanCreateAppointmentInAssociateDiariesRequest
          text/xml:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.SentryCarriers.CanCreateAppointmentInAssociateDiariesRequest
          application/x-www-form-urlencoded:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.SentryCarriers.CanCreateAppointmentInAssociateDiariesRequest
          application/json-patch+json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.SentryCarriers.CanCreateAppointmentInAssociateDiariesRequest
          application/merge-patch+json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.SentryCarriers.CanCreateAppointmentInAssociateDiariesRequest
        description: AssociateIds
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: boolean
            text/json:
              schema:
                type: boolean
            application/xml:
              schema:
                type: boolean
            text/xml:
              schema:
                type: boolean
            application/json-patch+json:
              schema:
                type: boolean
            application/merge-patch+json:
              schema:
                type: boolean
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components:
  schemas:
    SuperOffice.WebApi.v1.Carriers.SentryCarriers.CanCreateAppointmentInAssociateDiariesRequest:
      description: >-
        CanCreateAppointmentInAssociateDiaries:
        CanCreateAppointmentInAssociateDiaries will check if the current
        associate can create appointments in diaries belonging to the associates
        listed in associateIds. CanCreateAppointmentInAssociateDiaries will only
        check against associates that are diary owners. If none of the
        associates listed in the associateIds parameter is a diary owner, the
        method will return true.
      type: object
      properties:
        AssociateIds:
          type: array
          items:
            format: int32
            type: integer

````

## Related topics

- [Can Create Appointment In All Diaries](/en/api/reference/restful/agent/sentry_agent/can-create-appointment-in-all-diaries.md)
- [SuperOffice.WebApi.Data.Sentry CanCreateAppointmentInAssociateDiariesRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Sentry_CanCreateAppointmentInAssociateDiariesRequest.md)
- [SuperOffice.WebApi.Agents.ISentryAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ISentryAgent.md)
- [SuperOffice.WebApi.Agents.SentryAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.SentryAgent.md)
- [NSSentryAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSSentryAgent.md)
- [Can Create Appointment In Each Associates Diary](/en/api/reference/restful/agent/sentry_agent/can-create-appointment-in-each-associates-diary.md)
