github.com/grokify/go-ringcentral-client@v0.3.31/codegen/swagger_spec.yaml (about)

     1  ---
     2    swagger: "2.0"
     3    info:
     4      description: "<p>This is a beta interactive API explorer for the RingCentral Connect Platform. To use this service, you will need to have an account with the proper credentials to generate an OAuth2 access token.</p><p><h2>Quick Start</h2></p><ol><li>1) Go to <b>Authentication > /oauth/token</b></li><li>2) Enter <b>app_key, app_secret, username, password</b> fields and then click \"Try it out!\"</li><li>3) Upon success, your access_token is loaded and you can access any form requiring authorization.</li></ol><h2>Links</h2><ul><li><a href=\"https://github.com/ringcentral\" target=\"_blank\">RingCentral SDKs on Github</a></li><li><a href=\"mailto:devsupport@ringcentral.com\">RingCentral Developer Support Email</a></li></ul>"
     5      version: "1.0"
     6      title: "RingCentral Connect Platform API Explorer"
     7      termsOfService: "https://developer.ringcentral.com"
     8    host: "platform.devtest.ringcentral.com"
     9    basePath: "/"
    10    tags:
    11      -
    12        name: "Overview"
    13        description: " "
    14      -
    15        name: "OAuth 2.0 Authentication & Authorization"
    16        description: " "
    17      -
    18        name: "API Info"
    19        description: " "
    20      -
    21        name: "Call Log"
    22        description: " "
    23      -
    24        name: "Phone Numbers"
    25        description: " "
    26      -
    27        name: "Messages"
    28        description: " "
    29      -
    30        name: "RingOut"
    31        description: " "
    32      -
    33        name: "User Contacts"
    34        description: " "
    35      -
    36        name: "Company Contacts"
    37        description: " "
    38      -
    39        name: "Presence"
    40        description: " "
    41      -
    42        name: "Glip"
    43        description: " "
    44      -
    45        name: "Meetings"
    46        description: " "
    47      -
    48        name: "Push Notifications"
    49        description: " "
    50      -
    51        name: "Roles and Permissions"
    52        description: " "
    53      -
    54        name: "Call Handling Settings"
    55        description: " "
    56      -
    57        name: "Application Settings"
    58        description: " "
    59      -
    60        name: "User Settings"
    61        description: " "
    62      -
    63        name: "Company Settings"
    64        description: " "
    65      -
    66        name: "Regional Settings"
    67        description: " "
    68      -
    69        name: "Account Provisioning"
    70        description: " "
    71      -
    72        name: "SCIM"
    73        description: " "
    74      -
    75        name: "Reporting"
    76        description: " "
    77    schemes:
    78      - "https"
    79    securityDefinitions:
    80      OAuth2:
    81        type: "oauth2"
    82        flow: "accessCode"
    83        authorizationUrl: "https://platform.devtest.ringcentral.com/restapi/oauth/authorize"
    84        tokenUrl: "https://platform.devtest.ringcentral.com/restapi/oauth/token"
    85        scopes: {}
    86    security:
    87      - OAuth2: []
    88    paths:
    89      /restapi:
    90        get:
    91          tags:
    92            - "API Info"
    93          summary: "Get API Versions"
    94          description: "<p style='font-style:italic;'>Since 1.0.0</p><p>Returns current API version(s) and server info.</p><h4>Usage Plan Group</h4><p>Light</p>"
    95          operationId: "getAPIVersion"
    96          consumes:
    97            - "application/json"
    98          produces:
    99            - "application/json"
   100          parameters: []
   101          responses:
   102            default:
   103              description: "Success"
   104              schema:
   105                $ref: "#/definitions/GetVersionsResponse"
   106          x-api-group: "restapi"
   107          x-auth-required: false
   108          x-throttling-group: "NoThrottling"
   109          x-metered-api: true
   110          x-metering-group: "Free"
   111          x-access-level: "Public"
   112      /restapi/{apiVersion}:
   113        get:
   114          tags:
   115            - "API Info"
   116          summary: "Get Version Info"
   117          description: "<p style='font-style:italic;'>Since 1.0.0</p><p>Returns current API version info by apiVersion.</p><h4>Usage Plan Group</h4><p>Light</p>"
   118          operationId: "getVersionInfo"
   119          consumes:
   120            - "application/json"
   121          produces:
   122            - "application/json"
   123          parameters:
   124            -
   125              name: "apiVersion"
   126              in: "path"
   127              description: "API version to be requested, for example 'v1.0'"
   128              required: true
   129              type: "string"
   130          responses:
   131            default:
   132              description: "Success"
   133              schema:
   134                $ref: "#/definitions/GetVersionResponse"
   135          x-api-group: "restapi/version"
   136          x-auth-required: false
   137          x-throttling-group: "NoThrottling"
   138          x-metered-api: true
   139          x-metering-group: "Free"
   140          x-access-level: "Public"
   141      /restapi/v1.0/status:
   142        get:
   143          tags:
   144            - "API Info"
   145          summary: "Get Status"
   146          description: "<p style='font-style:italic;'>Since 1.0.27 (Release 8.3)</p><p>Returns the API status; status '200' means the API is working fine, and '503' means it is temporary unavailable.</p><h4>API Group</h4><p>Light</p>"
   147          operationId: "loadAPIStatus"
   148          consumes:
   149            - "application/json"
   150          produces:
   151            - "application/json"
   152          parameters: []
   153          responses:
   154            default:
   155              description: "Success"
   156          x-api-group: "restapi/status"
   157          x-auth-required: false
   158          x-throttling-group: "NoThrottling"
   159          x-metered-api: true
   160          x-metering-group: "Free"
   161          x-access-level: "Public"
   162      /restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log:
   163        get:
   164          tags:
   165            - "Call Log"
   166          summary: "Get Call Log Records by Filter"
   167          description: "<p style='font-style:italic;'>Since 1.0.3 (Release 5.11)</p><p>Returns call log records filtered by the specified parameters.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
   168          operationId: "loadExtensionCallLog"
   169          consumes:
   170            - "application/json"
   171          produces:
   172            - "application/json"
   173          parameters:
   174            -
   175              name: "accountId"
   176              in: "path"
   177              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
   178              required: true
   179              type: "string"
   180              default: "~"
   181            -
   182              name: "extensionId"
   183              in: "path"
   184              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
   185              required: true
   186              type: "string"
   187              default: "~"
   188            -
   189              name: "extensionNumber"
   190              in: "query"
   191              description: "Extension number of a user. If specified, returns call log for a particular extension only. Cannot be specified together with the phoneNumber filter"
   192              required: false
   193              type: "string"
   194            -
   195              name: "showBlocked"
   196              in: "query"
   197              type: "boolean"
   198              description: "If 'True' then calls from/to blocked numbers are returned. The default value is 'True'"
   199              required: false
   200            -
   201              name: "phoneNumber"
   202              in: "query"
   203              description: "Phone number of a caller/call recipient. If specified, returns all calls (both incoming and outcoming) with the mentioned phone number. Cannot be specified together with the extensionNumber filter"
   204              required: false
   205              type: "string"
   206            -
   207              name: "direction"
   208              in: "query"
   209              description: "The direction for the result records. It is allowed to specify more than one direction. If not specified, both inbound and outbound records are returned. Multiple values are accepted"
   210              required: false
   211              type: "array"
   212              items:
   213                type: "string"
   214              collectionFormat: "multi"
   215              enum:
   216                - "Inbound"
   217                - "Outbound"
   218            -
   219              name: "sessionId"
   220              in: "query"
   221              required: false
   222              type: "string"
   223            -
   224              name: "type"
   225              in: "query"
   226              description: "Call type of a record. It is allowed to specify more than one type. If not specified, all call types are returned. Multiple values are accepted"
   227              required: false
   228              type: "array"
   229              items:
   230                type: "string"
   231              collectionFormat: "multi"
   232              enum:
   233                - "Voice"
   234                - "Fax"
   235            -
   236              name: "transport"
   237              in: "query"
   238              description: "Call transport type. 'PSTN' specifies that a call leg is initiated from the PSTN network provider; 'VoIP' - from an RC phone. By default this filter is disabled"
   239              required: false
   240              type: "array"
   241              items:
   242                type: "string"
   243              collectionFormat: "multi"
   244              enum:
   245                - "PSTN"
   246                - "VoIP"
   247            -
   248              name: "view"
   249              in: "query"
   250              description: "The default value is 'Simple' for both account and extension call log"
   251              required: false
   252              type: "array"
   253              items:
   254                type: "string"
   255              collectionFormat: "multi"
   256              enum:
   257                - "Simple"
   258                - "Detailed"
   259            -
   260              name: "withRecording"
   261              in: "query"
   262              description: "'True' if only recorded calls have to be returned"
   263              required: false
   264              type: "boolean"
   265            -
   266              name: "dateTo"
   267              in: "query"
   268              description: "The end datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time"
   269              required: false
   270              type: "string"
   271              format: "date-time"
   272            -
   273              name: "dateFrom"
   274              in: "query"
   275              description: "The start datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours"
   276              required: false
   277              type: "string"
   278              format: "date-time"
   279            -
   280              name: "page"
   281              in: "query"
   282              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
   283              required: false
   284              type: "integer"
   285            -
   286              name: "perPage"
   287              in: "query"
   288              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
   289              required: false
   290              type: "integer"
   291          responses:
   292            default:
   293              description: "Success"
   294              schema:
   295                $ref: "#/definitions/ExtensionCallLogResponse"
   296          x-api-group: "extension/call-log"
   297          x-throttling-group: "Heavy"
   298          x-metered-api: true
   299          x-metering-group: "System"
   300          x-app-permission: "ReadCallLog"
   301          x-user-permission: "ReadCallLog"
   302          x-access-level: "Public"
   303        delete:
   304          tags:
   305            - "Call Log"
   306          summary: "Delete Call Log Records by Filter"
   307          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditCallLog</td><td>Viewing and updating user call logs</td></tr><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
   308          operationId: "deleteExtensionCallLog"
   309          consumes:
   310            - "application/json"
   311          produces:
   312            - "application/json"
   313          parameters:
   314            -
   315              name: "accountId"
   316              in: "path"
   317              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
   318              required: true
   319              type: "string"
   320              default: "~"
   321            -
   322              name: "extensionId"
   323              in: "path"
   324              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
   325              required: true
   326              type: "string"
   327              default: "~"
   328            -
   329              name: "dateTo"
   330              in: "query"
   331              description: "The end datetime for records deletion in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time"
   332              required: false
   333              type: "string"
   334            -
   335              name: "phoneNumber"
   336              in: "query"
   337              required: false
   338              type: "string"
   339            -
   340              name: "extensionNumber"
   341              in: "query"
   342              required: false
   343              type: "string"
   344            -
   345              name: "type"
   346              in: "query"
   347              required: false
   348              type: "array"
   349              items:
   350                type: "string"
   351                enum:
   352                  - "Voice"
   353                  - "Fax"
   354              collectionFormat: "multi"
   355            -
   356              name: "direction"
   357              in: "query"
   358              required: false
   359              type: "array"
   360              items:
   361                type: "string"
   362                enum:
   363                  - "Inbound"
   364                  - "Outbound"
   365              collectionFormat: "multi"
   366            -
   367              name: "dateFrom"
   368              in: "query"
   369              required: false
   370              type: "string"
   371              format: "date-time"
   372          responses:
   373            default:
   374              description: "Success"
   375          x-api-group: "extension/call-log"
   376          x-throttling-group: "Heavy"
   377          x-metered-api: true
   378          x-metering-group: "System"
   379          x-app-permission: "EditCallLog"
   380          x-user-permission: "EditCallLog"
   381          x-access-level: "Advanced"
   382      /restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log-sync:
   383        get:
   384          tags:
   385            - "Call Log"
   386          summary: "Call Log Synchronization"
   387          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
   388          operationId: "syncExtensionCallLog"
   389          consumes:
   390            - "application/json"
   391          produces:
   392            - "application/json"
   393          parameters:
   394            -
   395              name: "accountId"
   396              in: "path"
   397              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
   398              required: true
   399              type: "string"
   400              default: "~"
   401            -
   402              name: "extensionId"
   403              in: "path"
   404              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
   405              required: true
   406              type: "string"
   407              default: "~"
   408            -
   409              name: "syncType"
   410              in: "query"
   411              description: "Type of synchronization. 'FSync' is a default value"
   412              required: false
   413              type: "array"
   414              items:
   415                type: "string"
   416              collectionFormat: "multi"
   417              enum:
   418                - "FSync"
   419                - "ISync"
   420            -
   421              name: "syncToken"
   422              in: "query"
   423              description: "Value of syncToken property of last sync request response"
   424              required: false
   425              type: "string"
   426            -
   427              name: "dateFrom"
   428              in: "query"
   429              description: "The start datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is the current moment"
   430              required: false
   431              type: "string"
   432            -
   433              name: "recordCount"
   434              in: "query"
   435              description: "ForT?FSync the parameter is mandatory, it limits the number of records to be returned in response. For ISync it specifies with how many records to extend sync Frame to the past, the maximum number of records is 250"
   436              required: false
   437              type: "integer"
   438            -
   439              name: "statusGroup"
   440              in: "query"
   441              description: "Type of calls to be returned. The default value is 'All'"
   442              required: false
   443              type: "array"
   444              items:
   445                type: "string"
   446              collectionFormat: "multi"
   447              enum:
   448                - "Missed"
   449                - "All"
   450          responses:
   451            default:
   452              description: "Success"
   453              schema:
   454                $ref: "#/definitions/CallLogSync"
   455          x-api-group: "extension/call-log-sync"
   456          x-throttling-group: "Heavy"
   457          x-metered-api: true
   458          x-metering-group: "System"
   459          x-app-permission: "ReadCallLog"
   460          x-user-permission: "ReadCallLog"
   461          x-access-level: "Advanced"
   462      /restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log/{callRecordId}:
   463        get:
   464          tags:
   465            - "Call Log"
   466          summary: "Get Call Records by ID"
   467          operationId: "getCallRecords"
   468          consumes:
   469            - "application/json"
   470          produces:
   471            - "application/json"
   472          parameters:
   473            -
   474              name: "callRecordId"
   475              in: "path"
   476              required: true
   477              type: "array"
   478              items:
   479                type: "string"
   480              collectionFormat: "csv"
   481            -
   482              name: "view"
   483              in: "query"
   484              required: false
   485              type: "string"
   486              enum:
   487                - "Simple"
   488                - "Detailed"
   489            -
   490              name: "extensionId"
   491              in: "path"
   492              required: true
   493              type: "string"
   494            -
   495              name: "accountId"
   496              in: "path"
   497              required: true
   498              type: "string"
   499          responses:
   500            default:
   501              description: "successful operation"
   502              schema:
   503                $ref: "#/definitions/UserCallLogRecord"
   504          x-api-group: "extension/call-log"
   505          x-throttling-group: "Heavy"
   506          x-metered-api: true
   507          x-metering-group: "System"
   508          x-app-permission: "ReadCallLog"
   509          x-user-permission: "ReadCallLog"
   510          x-access-level: "Public"
   511      /restapi/v1.0/account/{accountId}/extension/{extensionId}/active-calls:
   512        get:
   513          tags:
   514            - "Call Log"
   515          summary: "Get User Active Calls"
   516          description: "<p style='font-style:italic;'>Since 1.0.13 (Release 6.5)</p><p>Returns records of all extension calls that are in progress, ordered by start time in descending order.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
   517          operationId: "listExtensionActiveCalls"
   518          consumes:
   519            - "application/json"
   520          produces:
   521            - "application/json"
   522          parameters:
   523            -
   524              name: "accountId"
   525              in: "path"
   526              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
   527              required: true
   528              type: "string"
   529              default: "~"
   530            -
   531              name: "extensionId"
   532              in: "path"
   533              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
   534              required: true
   535              type: "string"
   536              default: "~"
   537            -
   538              name: "direction"
   539              in: "query"
   540              description: "The direction for the result records. It is allowed to specify more than one direction. If not specified, both inbound and outbound records are returned. Multiple values are accepted"
   541              required: false
   542              type: "array"
   543              items:
   544                type: "string"
   545              collectionFormat: "multi"
   546              enum:
   547                - "Inbound"
   548                - "Outbound"
   549            -
   550              name: "type"
   551              in: "query"
   552              description: "Call type of a record. It is allowed to specify more than one type. If not specified, all call types are returned. Multiple values are accepted"
   553              required: false
   554              type: "array"
   555              items:
   556                type: "string"
   557              collectionFormat: "multi"
   558              enum:
   559                - "Voice"
   560                - "Fax"
   561            -
   562              name: "page"
   563              in: "query"
   564              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
   565              required: false
   566              type: "integer"
   567            -
   568              name: "perPage"
   569              in: "query"
   570              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
   571              required: false
   572              type: "integer"
   573          responses:
   574            default:
   575              description: "Success"
   576              schema:
   577                $ref: "#/definitions/ExtensionActiveCallsResponse"
   578          x-api-group: "extension/active-calls"
   579          x-throttling-group: "Heavy"
   580          x-metered-api: true
   581          x-metering-group: "System"
   582          x-app-permission: "ReadCallLog"
   583          x-user-permission: "ReadCallLog"
   584          x-access-level: "Public"
   585      /restapi/v1.0/account/{accountId}/call-log:
   586        get:
   587          tags:
   588            - "Call Log"
   589          summary: "Get Call Log Records by Filter"
   590          description: "<p style='font-style:italic;'>Since 1.0.3 (Release 5.11)</p><p>Returns call log records filtered by the specified parameters.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
   591          operationId: "loadAccountCallLog"
   592          consumes:
   593            - "application/json"
   594          produces:
   595            - "application/json"
   596          parameters:
   597            -
   598              name: "accountId"
   599              in: "path"
   600              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
   601              required: true
   602              type: "string"
   603              default: "~"
   604            -
   605              name: "extensionNumber"
   606              in: "query"
   607              description: "Extension number of a user. If specified, returns call log for a particular extension only. Cannot be specified together with the phoneNumber filter"
   608              required: false
   609              type: "string"
   610            -
   611              name: "phoneNumber"
   612              in: "query"
   613              description: "Phone number of a caller/call recipient. If specified, returns all calls (both incoming and outcoming) with the mentioned phone number. Cannot be specified together with the extensionNumber filter"
   614              required: false
   615              type: "string"
   616            -
   617              name: "direction"
   618              in: "query"
   619              description: "The direction for the result records. It is allowed to specify more than one direction. If not specified, both inbound and outbound records are returned. Multiple values are accepted"
   620              required: false
   621              type: "array"
   622              items:
   623                type: "string"
   624              collectionFormat: "multi"
   625              enum:
   626                - "Inbound"
   627                - "Outbound"
   628            -
   629              name: "type"
   630              in: "query"
   631              description: "Call type of a record. It is allowed to specify more than one type. If not specified, all call types are returned. Multiple values are accepted"
   632              required: false
   633              type: "array"
   634              items:
   635                type: "string"
   636              collectionFormat: "multi"
   637              enum:
   638                - "Voice"
   639                - "Fax"
   640            -
   641              name: "view"
   642              in: "query"
   643              description: "The default value is 'Simple' for both account and extension call log"
   644              required: false
   645              type: "array"
   646              items:
   647                type: "string"
   648              collectionFormat: "multi"
   649              enum:
   650                - "Simple"
   651                - "Detailed"
   652            -
   653              name: "withRecording"
   654              in: "query"
   655              description: "'True' if only recorded calls have to be returned"
   656              required: false
   657              type: "boolean"
   658            -
   659              name: "dateFrom"
   660              in: "query"
   661              description: "The start datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours"
   662              required: false
   663              type: "string"
   664              format: "date-time"
   665            -
   666              name: "dateTo"
   667              in: "query"
   668              description: "The end datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time"
   669              required: false
   670              type: "string"
   671              format: "date-time"
   672            -
   673              name: "page"
   674              in: "query"
   675              description: "Indicates the page number to retrieve. Only positive number values are allowed. The default value is '1'"
   676              required: false
   677              type: "integer"
   678            -
   679              name: "perPage"
   680              in: "query"
   681              description: "Indicates the page size (number of items). If not specified, the value is '100' by default."
   682              required: false
   683              type: "integer"
   684            -
   685              name: "sessionId"
   686              in: "query"
   687              required: false
   688              type: "string"
   689          responses:
   690            default:
   691              description: "Success"
   692              schema:
   693                $ref: "#/definitions/AccountCallLogResponse"
   694          x-api-group: "account/call-log"
   695          x-throttling-group: "Heavy"
   696          x-metered-api: true
   697          x-metering-group: "System"
   698          x-app-permission: "ReadCallLog"
   699          x-user-permission: "FullCompanyCallLog"
   700          x-access-level: "Public"
   701        delete:
   702          tags:
   703            - "Call Log"
   704          summary: "Delete Call Log Records by Filter"
   705          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditCallLog</td><td>Viewing and updating user call logs</td></tr><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
   706          operationId: "deleteAccountCallLog"
   707          consumes:
   708            - "application/json"
   709          produces:
   710            - "application/json"
   711          parameters:
   712            -
   713              name: "accountId"
   714              in: "path"
   715              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
   716              required: true
   717              type: "string"
   718              default: "~"
   719            -
   720              name: "dateTo"
   721              in: "query"
   722              description: "The end datetime for records deletion in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time"
   723              required: false
   724              type: "string"
   725          responses:
   726            default:
   727              description: "Success"
   728          x-api-group: "account/call-log"
   729          x-throttling-group: "Heavy"
   730          x-metered-api: true
   731          x-metering-group: "System"
   732          x-app-permission: "EditCallLog"
   733          x-user-permission: "FullCompanyCallLog"
   734          x-access-level: "Internal"
   735      /restapi/v1.0/account/{accountId}/call-log-sync:
   736        get:
   737          tags:
   738            - "Call Log"
   739          summary: "Call Log Synchronization"
   740          operationId: "syncAccountCallLog"
   741          consumes:
   742            - "application/json"
   743          produces:
   744            - "application/json"
   745          parameters:
   746            -
   747              name: "accountId"
   748              in: "path"
   749              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
   750              required: true
   751              type: "string"
   752              default: "~"
   753            -
   754              name: "syncType"
   755              in: "query"
   756              description: "Type of synchronization. 'FSync' is a default value"
   757              required: false
   758              type: "array"
   759              items:
   760                type: "string"
   761              collectionFormat: "multi"
   762              enum:
   763                - "FSync"
   764                - "ISync"
   765            -
   766              name: "syncToken"
   767              in: "query"
   768              description: "Value of syncToken property of last sync request response"
   769              required: false
   770              type: "string"
   771            -
   772              name: "dateFrom"
   773              in: "query"
   774              description: "The start datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is the current moment"
   775              required: false
   776              type: "string"
   777            -
   778              name: "recordCount"
   779              in: "query"
   780              description: "ForT?FSync the parameter is mandatory, it limits the number of records to be returned in response. For ISync it specifies with how many records to extend sync Frame to the past, the maximum number of records is 250"
   781              required: false
   782              type: "integer"
   783            -
   784              name: "statusGroup"
   785              in: "query"
   786              description: "Type of calls to be returned. The default value is 'All'"
   787              required: false
   788              type: "array"
   789              items:
   790                type: "string"
   791              collectionFormat: "multi"
   792              enum:
   793                - "Missed"
   794                - "All"
   795          responses:
   796            default:
   797              description: "Success"
   798          x-api-group: "account/call-log-sync"
   799          x-throttling-group: "Heavy"
   800          x-metered-api: true
   801          x-metering-group: "System"
   802          x-app-permission: "ReadCallLog"
   803          x-user-permission: "ReadCallLog"
   804          x-access-level: "Internal"
   805      /restapi/v1.0/account/{accountId}/call-log/{callRecordId}:
   806        get:
   807          tags:
   808            - "Call Log"
   809          summary: "Get Account Call Log Record(s) by ID"
   810          description: "<p style='font-style:italic;'>Since 1.0.3 (Release 5.11)</p><p>Returns individual call log record(s) by ID(s). Batch request is supported, see Batch Requests for details.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
   811          operationId: "loadAccountCallLogRecord"
   812          consumes:
   813            - "application/json"
   814          produces:
   815            - "application/json"
   816          parameters:
   817            -
   818              name: "accountId"
   819              in: "path"
   820              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
   821              required: true
   822              type: "string"
   823              default: "~"
   824            -
   825              name: "callRecordId"
   826              in: "path"
   827              description: "Internal identifier of a call log record"
   828              required: true
   829              type: "integer"
   830          responses:
   831            default:
   832              description: "Success"
   833              schema:
   834                $ref: "#/definitions/GetAccountCallLogRecordResponse"
   835          x-api-group: "account/call-log"
   836          x-throttling-group: "Heavy"
   837          x-metered-api: true
   838          x-metering-group: "System"
   839          x-app-permission: "ReadCallLog"
   840          x-user-permission: "FullCompanyCallLog"
   841          x-access-level: "Advanced"
   842        delete:
   843          tags:
   844            - "Call Log"
   845          summary: "Delete Account Call Log Record(s) by ID"
   846          operationId: "deleteAccountCallLogRecord"
   847          consumes:
   848            - "application/json"
   849          produces:
   850            - "application/json"
   851          parameters:
   852            -
   853              name: "accountId"
   854              in: "path"
   855              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
   856              required: true
   857              type: "string"
   858              default: "~"
   859            -
   860              name: "callRecordId"
   861              in: "path"
   862              description: "Internal identifier of a call log record"
   863              required: true
   864              type: "integer"
   865          responses:
   866            default:
   867              description: "Success"
   868          x-api-group: "account/call-log"
   869          x-throttling-group: "Heavy"
   870          x-metered-api: true
   871          x-metering-group: "System"
   872          x-app-permission: "EditCallLog"
   873          x-user-permission: "FullCompanyCallLog"
   874      /restapi/v1.0/account/{accountId}/active-calls:
   875        get:
   876          tags:
   877            - "Call Log"
   878          summary: "Get User Active Calls"
   879          description: "<p style='font-style:italic;'>Since 1.0.13 (Release 6.5)</p><p>Returns records of all calls that are in progress, ordered by start time in descending order</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
   880          operationId: "listCompanyActiveCalls"
   881          consumes:
   882            - "application/json"
   883          produces:
   884            - "application/json"
   885          parameters:
   886            -
   887              name: "accountId"
   888              in: "path"
   889              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
   890              required: true
   891              type: "string"
   892              default: "~"
   893            -
   894              name: "direction"
   895              in: "query"
   896              description: "The direction for the result records. It is allowed to specify more than one direction. If not specified, both inbound and outbound records are returned. Multiple values are accepted"
   897              required: false
   898              type: "array"
   899              items:
   900                type: "string"
   901              collectionFormat: "multi"
   902              enum:
   903                - "Inbound"
   904                - "Outbound"
   905            -
   906              name: "type"
   907              in: "query"
   908              description: "Call type of a record. It is allowed to specify more than one type. If not specified, all call types are returned. Multiple values are accepted"
   909              required: false
   910              type: "array"
   911              items:
   912                type: "string"
   913              collectionFormat: "multi"
   914              enum:
   915                - "Voice"
   916                - "Fax"
   917            -
   918              name: "transport"
   919              in: "query"
   920              description: "Call transport type. 'PSTN' specifies that a call leg is initiated from the PSTN network provider; 'VoIP' - from an RC phone. By default this filter is disabled"
   921              required: false
   922              type: "array"
   923              items:
   924                type: "string"
   925              collectionFormat: "multi"
   926              enum:
   927                - "PSTN"
   928                - "VoIP"
   929            -
   930              name: "page"
   931              in: "query"
   932              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
   933              required: false
   934              type: "integer"
   935            -
   936              name: "perPage"
   937              in: "query"
   938              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
   939              required: false
   940              type: "integer"
   941          responses:
   942            default:
   943              description: "Success"
   944              schema:
   945                $ref: "#/definitions/ExtensionActiveCallsResponse"
   946          x-api-group: "company/active-calls"
   947          x-throttling-group: "Heavy"
   948          x-metered-api: true
   949          x-metering-group: "System"
   950          x-app-permission: "ReadCallLog"
   951          x-user-permission: "ReadCallLog"
   952          x-access-level: "Advanced"
   953      /restapi/v1.0/account/{accountId}/recording/{recordingId}:
   954        get:
   955          tags:
   956            - "Call Log"
   957          summary: "Get Call Recordings"
   958          description: "<p style='font-style:italic;'>Since 1.0.18 (Release 6.5)</p><p>Returns call recording metadata.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallRecording</td><td>Downloading call recording content</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
   959          operationId: "listCallRecordings"
   960          consumes:
   961            - "application/json"
   962          produces:
   963            - "application/json"
   964          parameters:
   965            -
   966              name: "accountId"
   967              in: "path"
   968              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
   969              required: true
   970              type: "string"
   971              default: "~"
   972            -
   973              name: "recordingId"
   974              in: "path"
   975              description: "Internal identifier of a recording (returned in Call Log)"
   976              required: true
   977              type: "string"
   978          responses:
   979            default:
   980              description: "Success"
   981              schema:
   982                $ref: "#/definitions/GetCallRecordingResponse"
   983          x-api-group: "account/recordings"
   984          x-throttling-group: "Heavy"
   985          x-metered-api: true
   986          x-metering-group: "System"
   987          x-app-permission: "ReadCallRecording"
   988          x-user-permission: "ReadCallRecording"
   989          x-access-level: "Public"
   990      /restapi/v1.0/account/{accountId}/recording/{recordingId}/content:
   991        get:
   992          tags:
   993            - "Call Log"
   994          summary: "Get Call Recordings Data"
   995          description: "<p style='font-style:italic;'>Since 1.0.16 (Release 7.1)</p><p>Returns call recording metadata.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallRecording</td><td>Downloading call recording content</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
   996          operationId: "listCallRecordingData"
   997          consumes:
   998            - "application/json"
   999          produces:
  1000            - "application/json"
  1001          parameters:
  1002            -
  1003              name: "accountId"
  1004              in: "path"
  1005              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  1006              required: true
  1007              type: "string"
  1008              default: "~"
  1009            -
  1010              name: "recordingId"
  1011              in: "path"
  1012              description: "Internal identifier of a recording (returned in Call Log)"
  1013              required: true
  1014              type: "string"
  1015          responses:
  1016            default:
  1017              description: "Success"
  1018              schema:
  1019                $ref: "#/definitions/Binary"
  1020          x-api-group: "account/recordings"
  1021          x-throttling-group: "Heavy"
  1022          x-metered-api: true
  1023          x-metering-group: "System"
  1024          x-app-permission: "ReadCallRecording"
  1025          x-user-permission: "ReadCallRecording"
  1026          x-access-level: "Public"
  1027      /restapi/v1.0/account/{accountId}/extension/{extensionId}/phone-number:
  1028        get:
  1029          tags:
  1030            - "Phone Numbers"
  1031          summary: "Get Extension Phone Number List"
  1032          description: "<p style='font-style:italic;'>Since 1.0.2</p><p>Returns the list of phone numbers that are used by a particular extension, and can be filtered by the phone number type. The returned list contains all numbers which are directly mapped to a given extension plus the features and also company-level numbers which may be used when performing different operations on behalf of this extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  1033          operationId: "listExtensionPhoneNumbers"
  1034          consumes:
  1035            - "application/json"
  1036          produces:
  1037            - "application/json"
  1038          parameters:
  1039            -
  1040              name: "accountId"
  1041              in: "path"
  1042              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  1043              required: true
  1044              type: "string"
  1045              default: "~"
  1046            -
  1047              name: "extensionId"
  1048              in: "path"
  1049              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  1050              required: true
  1051              type: "string"
  1052              default: "~"
  1053            -
  1054              name: "usageType"
  1055              in: "query"
  1056              description: "Usage type of the phone number"
  1057              required: false
  1058              type: "array"
  1059              items:
  1060                type: "string"
  1061              collectionFormat: "multi"
  1062              enum:
  1063                - "MainCompanyNumber"
  1064                - "AdditionalCompanyNumber"
  1065                - "CompanyNumber"
  1066                - "DirectNumber"
  1067                - "CompanyFaxNumber"
  1068                - "ForwardedNumber"
  1069            -
  1070              name: "page"
  1071              in: "query"
  1072              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  1073              required: false
  1074              type: "integer"
  1075            -
  1076              name: "perPage"
  1077              in: "query"
  1078              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  1079              required: false
  1080              type: "integer"
  1081          responses:
  1082            default:
  1083              description: "Success"
  1084              schema:
  1085                $ref: "#/definitions/GetExtensionPhoneNumbersResponse"
  1086          x-api-group: "extension/phone-number"
  1087          x-throttling-group: "Light"
  1088          x-metered-api: true
  1089          x-metering-group: "System"
  1090          x-app-permission: "ReadAccounts"
  1091          x-user-permission: "ReadUserPhoneNumbers"
  1092          x-access-level: "Public"
  1093      /restapi/v1.0/account/{accountId}/extension/{extensionId}/sms:
  1094        post:
  1095          tags:
  1096            - "Messages"
  1097          summary: "Create SMS Message"
  1098          description: "<p style='font-style:italic;'>Since 1.0.2</p><p>Creates and sends new SMS message. Sending SMS messages simultaneously to different recipients is limited up to 50 requests per minute; relevant for all client applications.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>SMS</td><td>Sending and receiving SMS (text) messages</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  1099          operationId: "sendSMS"
  1100          consumes:
  1101            - "application/json"
  1102          produces:
  1103            - "application/json"
  1104          parameters:
  1105            -
  1106              name: "accountId"
  1107              in: "path"
  1108              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  1109              required: true
  1110              type: "string"
  1111              default: "~"
  1112            -
  1113              name: "extensionId"
  1114              in: "path"
  1115              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  1116              required: true
  1117              type: "string"
  1118              default: "~"
  1119            -
  1120              in: "body"
  1121              name: "body"
  1122              description: "JSON body"
  1123              required: true
  1124              schema:
  1125                $ref: "#/definitions/CreateSMSMessage"
  1126          responses:
  1127            default:
  1128              description: "Success"
  1129              schema:
  1130                $ref: "#/definitions/GetMessageInfoResponseIntId"
  1131          x-api-group: "extension/sms"
  1132          x-throttling-group: "Medium"
  1133          x-metered-api: true
  1134          x-metering-group: "Messaging"
  1135          x-app-permission: "SMS"
  1136          x-user-permission: "OutboundSMS"
  1137          x-access-level: "Public"
  1138      /restapi/v1.0/account/{accountId}/extension/{extensionId}/company-pager:
  1139        post:
  1140          tags:
  1141            - "Messages"
  1142          summary: "Create Pager Message"
  1143          description: "<p style='font-style:italic;'>Since 1.0.2</p><p>Creates and sends a pager message.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>InternalMessages</td><td>Sending and receiving intra-company text messages</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  1144          operationId: "sendInternalMessage"
  1145          consumes:
  1146            - "application/json"
  1147          produces:
  1148            - "application/json"
  1149          parameters:
  1150            -
  1151              name: "accountId"
  1152              in: "path"
  1153              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  1154              required: true
  1155              type: "string"
  1156              default: "~"
  1157            -
  1158              name: "extensionId"
  1159              in: "path"
  1160              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  1161              required: true
  1162              type: "string"
  1163              default: "~"
  1164            -
  1165              in: "body"
  1166              name: "body"
  1167              description: "JSON body"
  1168              required: true
  1169              schema:
  1170                $ref: "#/definitions/CreatePagerMessageRequest"
  1171          responses:
  1172            default:
  1173              description: "Success"
  1174              schema:
  1175                $ref: "#/definitions/GetMessageInfoResponse"
  1176          x-api-group: "extension/company-pager"
  1177          x-throttling-group: "Medium"
  1178          x-metered-api: true
  1179          x-metering-group: "Messaging"
  1180          x-app-permission: "InternalMessages"
  1181          x-user-permission: "InternalSMS"
  1182          x-access-level: "Public"
  1183      /restapi/v1.0/account/{accountId}/extension/{extensionId}/fax:
  1184        post:
  1185          tags:
  1186            - "Messages"
  1187          summary: "Create Fax Message"
  1188          operationId: "sendFaxMessage"
  1189          description: "<p style='font-style:italic;'>Since 1.0.2</p><p>Creates and sends/resends new fax message. Resend can be done if sending failed.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Faxes</td><td>Sending and receiving faxes</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  1190          consumes:
  1191            - "multipart/form-data"
  1192          produces:
  1193            - "application/json"
  1194          parameters:
  1195            -
  1196              name: "accountId"
  1197              in: "path"
  1198              description: "Internal identifier of a RingCentral account (integer) or tilde (~) to indicate the account which was logged-in within the current session."
  1199              required: true
  1200              type: "string"
  1201              default: "~"
  1202            -
  1203              name: "extensionId"
  1204              in: "path"
  1205              description: "Internal identifier of an extension (integer) or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  1206              required: true
  1207              type: "string"
  1208              default: "~"
  1209            -
  1210              name: "to"
  1211              in: "formData"
  1212              description: "To Phone Number"
  1213              required: true
  1214              type: "array"
  1215              items:
  1216                type: "string"
  1217            -
  1218              name: "attachment"
  1219              in: "formData"
  1220              description: "File to upload"
  1221              required: false
  1222              type: "file"
  1223            -
  1224              name: "faxResolution"
  1225              in: "formData"
  1226              description: "Resolution of Fax"
  1227              required: false
  1228              type: "string"
  1229              enum:
  1230               - High
  1231               - Low
  1232            -
  1233              name: "sendTime"
  1234              in: "formData"
  1235              description: "Optional. Timestamp to send fax at. If not specified (current or the past), the fax is sent immediately"
  1236              required: false
  1237              type: "string"
  1238              format: date-time
  1239            -
  1240              name: "isoCode"
  1241              in: "formData"
  1242              description: "ISO Code. e.g UK"
  1243              required: false
  1244              type: "string"
  1245            -
  1246              name: "coverIndex"
  1247              in: "formData"
  1248              description: "Cover page identifier. For the list of available cover page identifiers please call the method Fax Cover Pages. If not specified, the default cover page which is configured in 'Outbound Fax Settings' is attached"
  1249              required: false
  1250              type: "integer"
  1251            -
  1252              name: "coverPageText"
  1253              in: "formData"
  1254              description: "Cover page text, entered by the fax sender and printed on the cover page. Maximum length is limited to 1024 symbols"
  1255              required: false
  1256              type: "string"
  1257          responses:
  1258            default:
  1259              description: "successful operation"
  1260              schema:
  1261                $ref: "#/definitions/FaxResponse"
  1262          x-api-group: "extension/fax"
  1263          x-throttling-group: "Heavy"
  1264          x-metered-api: true
  1265          x-metering-group: "Time-based"
  1266          x-app-permission: "Faxes"
  1267          x-user-permission: "OutboundFaxes"
  1268          x-access-level: "Public"
  1269      /restapi/v1.0/dictionary/fax-cover-page:
  1270        get:
  1271          tags:
  1272            - "Messages"
  1273          summary: "Get Fax Cover Pages"
  1274          operationId: "getFaxCoverPages"
  1275          consumes:
  1276            - "application/json"
  1277          produces:
  1278            - "application/json"
  1279          parameters:
  1280            -
  1281              name: "page"
  1282              in: "query"
  1283              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  1284              required: false
  1285              type: "integer"
  1286            -
  1287              name: "perPage"
  1288              in: "query"
  1289              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  1290              required: false
  1291              type: "integer"
  1292          responses:
  1293            default:
  1294              description: "successful operation"
  1295          x-api-group: "dictionary/fax-cover-page"
  1296          x-throttling-group: "Light"
  1297          x-metered-api: true
  1298          x-metering-group: "System"
  1299          x-access-level: "Public"
  1300      /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store:
  1301        get:
  1302          tags:
  1303            - "Messages"
  1304          summary: "Get Message List"
  1305          description: "<p style='font-style:italic;'>Since 1.0.2</p><p>Returns the list of messages from an extension mailbox.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  1306          operationId: "listMessages"
  1307          consumes:
  1308            - "application/json"
  1309          produces:
  1310            - "application/json"
  1311          parameters:
  1312            -
  1313              name: "accountId"
  1314              in: "path"
  1315              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  1316              required: true
  1317              type: "string"
  1318              default: "~"
  1319            -
  1320              name: "extensionId"
  1321              in: "path"
  1322              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  1323              required: true
  1324              type: "string"
  1325              default: "~"
  1326            -
  1327              name: "availability"
  1328              in: "query"
  1329              description: "Specifies the availability status for the resulting messages. Default value is 'Alive'. Multiple values are accepted"
  1330              required: false
  1331              type: "array"
  1332              items:
  1333                type: "string"
  1334              collectionFormat: "multi"
  1335              enum:
  1336                - "Alive"
  1337                - "Deleted"
  1338                - "Purged"
  1339            -
  1340              name: "conversationId"
  1341              in: "query"
  1342              description: "Specifies the conversation identifier for the resulting messages"
  1343              required: false
  1344              type: "integer"
  1345            -
  1346              name: "dateFrom"
  1347              in: "query"
  1348              description: "The start datetime for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours"
  1349              required: false
  1350              type: "string"
  1351              format: "date-time"
  1352            -
  1353              name: "dateTo"
  1354              in: "query"
  1355              description: "The end datetime for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time"
  1356              required: false
  1357              type: "string"
  1358              format: "date-time"
  1359            -
  1360              name: "direction"
  1361              in: "query"
  1362              description: "The direction for the resulting messages. If not specified, both inbound and outbound messages are returned. Multiple values are accepted"
  1363              required: false
  1364              type: "array"
  1365              items:
  1366                type: "string"
  1367              collectionFormat: "multi"
  1368              enum:
  1369                - "Inbound"
  1370                - "Outbound"
  1371            -
  1372              name: "distinctConversations"
  1373              in: "query"
  1374              description: "If 'True', then the latest messages per every conversation ID are returned"
  1375              required: false
  1376              type: "boolean"
  1377            -
  1378              name: "messageType"
  1379              in: "query"
  1380              description: "The type of the resulting messages. If not specified, all messages without message type filtering are returned. Multiple values are accepted"
  1381              required: false
  1382              type: "array"
  1383              items:
  1384                type: "string"
  1385              collectionFormat: "multi"
  1386              enum:
  1387                - "Fax"
  1388                - "SMS"
  1389                - "VoiceMail"
  1390                - "Pager"
  1391                - "Text"
  1392            -
  1393              name: "readStatus"
  1394              in: "query"
  1395              description: "The read status for the resulting messages. Multiple values are accepted"
  1396              required: false
  1397              type: "array"
  1398              items:
  1399                type: "string"
  1400              collectionFormat: "multi"
  1401              enum:
  1402                - "Read"
  1403                - "Unread"
  1404            -
  1405              name: "page"
  1406              in: "query"
  1407              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  1408              required: false
  1409              type: "integer"
  1410            -
  1411              name: "perPage"
  1412              in: "query"
  1413              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  1414              required: false
  1415              type: "integer"
  1416            -
  1417              name: "phoneNumber"
  1418              in: "query"
  1419              description: "The phone number. If specified, messages are returned for this particular phone number only"
  1420              required: false
  1421              type: "string"
  1422          responses:
  1423            default:
  1424              description: "Success"
  1425              schema:
  1426                $ref: "#/definitions/GetMessageList"
  1427          x-api-group: "extension/message-store"
  1428          x-throttling-group: "Light"
  1429          x-metered-api: true
  1430          x-metering-group: "System"
  1431          x-app-permission: "ReadMessages"
  1432          x-user-permission: "ReadMessages"
  1433          x-access-level: "Public"
  1434        delete:
  1435          tags:
  1436            - "Messages"
  1437          summary: "Delete Conversations by ID's"
  1438          operationId: "deleteMessagesByFilter"
  1439          consumes:
  1440            - "application/json"
  1441          produces:
  1442            - "application/json"
  1443          parameters:
  1444            -
  1445              name: "conversationId"
  1446              in: "query"
  1447              required: false
  1448              type: "array"
  1449              items:
  1450                type: "string"
  1451              collectionFormat: "multi"
  1452            -
  1453              name: "extensionId"
  1454              in: "path"
  1455              required: true
  1456              type: "string"
  1457            -
  1458              name: "accountId"
  1459              in: "path"
  1460              required: true
  1461              type: "string"
  1462          responses:
  1463            default:
  1464              description: "successful operation"
  1465          x-api-group: "extension/message-store"
  1466          x-throttling-group: "Medium"
  1467          x-metered-api: true
  1468          x-metering-group: "System"
  1469          x-app-permission: "EditMessages"
  1470          x-user-permission: "EditMessages"
  1471          x-access-level: "Public"
  1472      /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store/{messageId}:
  1473        get:
  1474          tags:
  1475            - "Messages"
  1476          summary: "Get Message(s) by ID"
  1477          description: "<p style='font-style:italic;'>Since 1.0.2</p><p>Returns individual message record(s) by the given message ID(s). The length of inbound messages is unlimited. Batch request is supported, see Batch Requests for details.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  1478          operationId: "loadMessage"
  1479          consumes:
  1480            - "application/json"
  1481          produces:
  1482            - "application/json"
  1483          parameters:
  1484            -
  1485              name: "accountId"
  1486              in: "path"
  1487              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  1488              required: true
  1489              type: "string"
  1490              default: "~"
  1491            -
  1492              name: "extensionId"
  1493              in: "path"
  1494              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  1495              required: true
  1496              type: "string"
  1497              default: "~"
  1498            -
  1499              name: "messageId"
  1500              in: "path"
  1501              description: "Internal identifier of a message"
  1502              required: true
  1503              type: "integer"
  1504          responses:
  1505            default:
  1506              description: "Success"
  1507              schema:
  1508                $ref: "#/definitions/GetMessageInfoResponse"
  1509          x-api-group: "extension/message-store"
  1510          x-throttling-group: "Light"
  1511          x-metered-api: true
  1512          x-metering-group: "System"
  1513          x-app-permission: "ReadMessages"
  1514          x-user-permission: "ReadMessages"
  1515          x-access-level: "Public"
  1516        put:
  1517          tags:
  1518            - "Messages"
  1519          summary: "Update Message(s) by ID"
  1520          description: "<p style='font-style:italic;'>Since 1.0.2</p><p>Updates message(s) by ID(s). Batch request is supported, see Batch Requests for details. Currently, only the message read status updating is supported.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditMessages</td><td>Viewing and updating user messages</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  1521          operationId: "updateMessage"
  1522          consumes:
  1523            - "application/json"
  1524          produces:
  1525            - "application/json"
  1526          parameters:
  1527            -
  1528              name: "accountId"
  1529              in: "path"
  1530              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  1531              required: true
  1532              type: "string"
  1533              default: "~"
  1534            -
  1535              name: "extensionId"
  1536              in: "path"
  1537              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  1538              required: true
  1539              type: "string"
  1540              default: "~"
  1541            -
  1542              name: "messageId"
  1543              in: "path"
  1544              description: "Internal identifier of a message"
  1545              required: true
  1546              type: "integer"
  1547            -
  1548              in: "body"
  1549              name: "body"
  1550              description: "JSON body"
  1551              required: true
  1552              schema:
  1553                $ref: "#/definitions/UpdateMessageRequest"
  1554          responses:
  1555            default:
  1556              description: "Success"
  1557              schema:
  1558                $ref: "#/definitions/GetMessageInfoResponse"
  1559          x-api-group: "extension/message-store"
  1560          x-throttling-group: "Medium"
  1561          x-metered-api: true
  1562          x-metering-group: "System"
  1563          x-app-permission: "EditMessages"
  1564          x-user-permission: "EditMessages"
  1565          x-access-level: "Public"
  1566        delete:
  1567          tags:
  1568            - "Messages"
  1569          summary: "Delete Message(s) by ID"
  1570          description: "<p style='font-style:italic;'></p><p>Deletes message(s) by the given message ID(s). The first call of this method transfers the message to the 'Delete' status. The second call transfers the deleted message to the 'Purged' status. If it is required to make the message 'Purged' immediately (from the first call), then set the query parameter purge to 'True'.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditMessages</td><td>Viewing and updating user messages</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  1571          operationId: "deleteMessage"
  1572          consumes:
  1573            - "application/json"
  1574          produces:
  1575            - "application/json"
  1576          parameters:
  1577            -
  1578              name: "accountId"
  1579              in: "path"
  1580              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  1581              required: true
  1582              type: "string"
  1583              default: "~"
  1584            -
  1585              name: "extensionId"
  1586              in: "path"
  1587              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  1588              required: true
  1589              type: "string"
  1590              default: "~"
  1591            -
  1592              name: "messageId"
  1593              in: "path"
  1594              description: "Internal identifier of a message"
  1595              required: true
  1596              type: "integer"
  1597            -
  1598              name: "purge"
  1599              in: "query"
  1600              description: "If the value is 'True', then the message is purged immediately with all the attachments. The default value is 'False'"
  1601              required: false
  1602              type: "boolean"
  1603            -
  1604              name: "conversationId"
  1605              in: "query"
  1606              description: "Internal identifier of a message thread"
  1607              required: false
  1608              type: "integer"
  1609          responses:
  1610            default:
  1611              description: "Success"
  1612          x-api-group: "extension/message-store"
  1613          x-throttling-group: "Medium"
  1614          x-metered-api: true
  1615          x-metering-group: "System"
  1616          x-app-permission: "EditMessages"
  1617          x-user-permission: "EditMessages"
  1618          x-access-level: "Public"
  1619      /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store/{messageId}/content/{attachmentId}:
  1620        get:
  1621          tags:
  1622            - "Messages"
  1623          summary: "Get Message Attachment"
  1624          description: "<p style='font-style:italic;'>Since 1.0.4 (Release 5.13)</p><p>Returns particular message attachment data as a media stream.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  1625          operationId: "loadMessageAttachment"
  1626          consumes:
  1627            - "application/json"
  1628          produces:
  1629            - "application/json"
  1630          parameters:
  1631            -
  1632              name: "accountId"
  1633              in: "path"
  1634              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  1635              required: true
  1636              type: "string"
  1637              default: "~"
  1638            -
  1639              name: "extensionId"
  1640              in: "path"
  1641              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  1642              required: true
  1643              type: "string"
  1644              default: "~"
  1645            -
  1646              name: "attachmentId"
  1647              in: "path"
  1648              description: "Internal identifier of a message attachment"
  1649              required: true
  1650              type: "integer"
  1651            -
  1652              name: "messageId"
  1653              in: "path"
  1654              description: "Internal identifier of a message"
  1655              required: true
  1656              type: "integer"
  1657            -
  1658              name: "Range"
  1659              in: "header"
  1660              required: false
  1661              type: "string"
  1662          responses:
  1663            default:
  1664              description: "Success"
  1665          x-api-group: "extension/message-store/content"
  1666          x-throttling-group: "Medium"
  1667          x-metered-api: true
  1668          x-metering-group: "System"
  1669          x-app-permission: "ReadMessages"
  1670          x-user-permission: "ReadMessageContent"
  1671          x-access-level: "Public"
  1672      /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-sync:
  1673        get:
  1674          tags:
  1675            - "Messages"
  1676          summary: "Get Message Sync"
  1677          description: "<p style='font-style:italic;'>Since 1.0.4 (Release 5.13)</p><p>Provides facilities to synchronize mailbox content stored externally with server state.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  1678          operationId: "syncMessages"
  1679          consumes:
  1680            - "application/json"
  1681          produces:
  1682            - "application/json"
  1683          parameters:
  1684            -
  1685              name: "accountId"
  1686              in: "path"
  1687              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  1688              required: true
  1689              type: "string"
  1690              default: "~"
  1691            -
  1692              name: "extensionId"
  1693              in: "path"
  1694              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  1695              required: true
  1696              type: "string"
  1697              default: "~"
  1698            -
  1699              name: "conversationId"
  1700              in: "query"
  1701              description: "Conversation identifier for the resulting messages. Meaningful for SMS and Pager messages only."
  1702              required: false
  1703              type: "integer"
  1704            -
  1705              name: "dateFrom"
  1706              in: "query"
  1707              description: "The start datetime for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours"
  1708              required: false
  1709              type: "string"
  1710            -
  1711              name: "dateTo"
  1712              in: "query"
  1713              description: "The end datetime for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time"
  1714              required: false
  1715              type: "string"
  1716            -
  1717              name: "direction"
  1718              in: "query"
  1719              description: "Direction for the resulting messages. If not specified, both inbound and outbound messages are returned. Multiple values are accepted"
  1720              required: false
  1721              type: "array"
  1722              items:
  1723                type: "string"
  1724              collectionFormat: "multi"
  1725              enum:
  1726                - "Inbound"
  1727                - "Outbound"
  1728            -
  1729              name: "distinctConversations"
  1730              in: "query"
  1731              description: "If 'True', then the latest messages per every conversation ID are returned"
  1732              required: false
  1733              type: "boolean"
  1734            -
  1735              name: "messageType"
  1736              in: "query"
  1737              description: "Type for the resulting messages. If not specified, all types of messages are returned. Multiple values are accepted"
  1738              required: false
  1739              type: "array"
  1740              items:
  1741                type: "string"
  1742              collectionFormat: "multi"
  1743              enum:
  1744                - "Fax"
  1745                - "SMS"
  1746                - "VoiceMail"
  1747                - "Pager"
  1748                - "Text"
  1749            -
  1750              name: "recordCount"
  1751              in: "query"
  1752              description: "Limits the number of records to be returned (works in combination with dateFrom and dateTo if specified)"
  1753              required: false
  1754              type: "integer"
  1755            -
  1756              name: "syncToken"
  1757              in: "query"
  1758              description: "Value of syncToken property of last sync request response"
  1759              required: false
  1760              type: "string"
  1761            -
  1762              name: "syncType"
  1763              in: "query"
  1764              description: "Type of message synchronization"
  1765              required: false
  1766              type: "array"
  1767              items:
  1768                type: "string"
  1769              collectionFormat: "multi"
  1770              enum:
  1771                - "FSync"
  1772                - "ISync"
  1773          responses:
  1774            default:
  1775              description: "Success"
  1776              schema:
  1777                $ref: "#/definitions/GetMessageSyncResponse"
  1778          x-api-group: "extension/message-sync"
  1779          x-throttling-group: "Light"
  1780          x-metered-api: true
  1781          x-metering-group: "System"
  1782          x-app-permission: "ReadMessages"
  1783          x-user-permission: "ReadMessages"
  1784          x-access-level: "Public"
  1785      /restapi/v1.0/account/{accountId}/extension/{extensionId}/ringout:
  1786        post:
  1787          tags:
  1788            - "RingOut"
  1789          summary: "Make RingOut Call"
  1790          deprecated: true
  1791          description: "<p style='font-style:italic;'>Since 1.0.7 (Release 5.16)</p><p>Makes a 2-leg RingOut call.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RingOut</td><td>Performing two-legged ring-out phone calls</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  1792          operationId: "makeRingOutCall"
  1793          consumes:
  1794            - "application/json"
  1795          produces:
  1796            - "application/json"
  1797          parameters:
  1798            -
  1799              name: "accountId"
  1800              in: "path"
  1801              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  1802              required: true
  1803              type: "string"
  1804              default: "~"
  1805            -
  1806              name: "extensionId"
  1807              in: "path"
  1808              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  1809              required: true
  1810              type: "string"
  1811              default: "~"
  1812            -
  1813              in: "body"
  1814              name: "body"
  1815              description: "JSON body"
  1816              required: true
  1817              schema:
  1818                $ref: "#/definitions/MakeRingOutRequest"
  1819          responses:
  1820            default:
  1821              description: "Success"
  1822              schema:
  1823                $ref: "#/definitions/GetRingOutStatusResponseIntId"
  1824          x-api-group: "extension/ringout"
  1825          x-throttling-group: "Heavy"
  1826          x-metered-api: true
  1827          x-metering-group: "Time-based"
  1828          x-app-permission: "RingOut"
  1829          x-access-level: "Public"
  1830      /restapi/v1.0/account/{accountId}/extension/{extensionId}/ringout/direct:
  1831        post:
  1832          tags:
  1833            - "RingOut"
  1834          deprecated: true
  1835          operationId: "createDirectRingOut"
  1836          consumes:
  1837            - "application/json"
  1838          produces:
  1839            - "application/json"
  1840          parameters:
  1841            -
  1842              name: "accountId"
  1843              in: "path"
  1844              required: true
  1845              type: "string"
  1846            -
  1847              name: "extensionId"
  1848              in: "path"
  1849              required: true
  1850              type: "string"
  1851            -
  1852              in: "body"
  1853              name: "body"
  1854              required: true
  1855              schema:
  1856                $ref: "#/definitions/RingOutResource"
  1857          responses:
  1858            default:
  1859              description: "successful operation"
  1860          x-api-group: "extension/ringout/direct"
  1861          x-throttling-group: "Heavy"
  1862          x-metered-api: true
  1863          x-metering-group: "Time-based"
  1864          x-app-permission: "DirectRingOut"
  1865          x-access-level: "Internal"
  1866      /restapi/v1.0/account/{accountId}/extension/{extensionId}/ringout/{ringoutId}:
  1867        get:
  1868          tags:
  1869            - "RingOut"
  1870          deprecated: true
  1871          summary: "Get Status of RingOut Call"
  1872          description: "<p style='font-style:italic;'>Since 1.0.7 (Release 5.16)</p><p>Returns the status of a 2-leg RingOut call.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RingOut</td><td>Performing two-legged ring-out phone calls</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  1873          operationId: "getRingOutCallStatus"
  1874          consumes:
  1875            - "application/json"
  1876          produces:
  1877            - "application/json"
  1878          parameters:
  1879            -
  1880              name: "accountId"
  1881              in: "path"
  1882              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  1883              required: true
  1884              type: "string"
  1885              default: "~"
  1886            -
  1887              name: "extensionId"
  1888              in: "path"
  1889              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  1890              required: true
  1891              type: "string"
  1892              default: "~"
  1893            -
  1894              name: "ringoutId"
  1895              in: "path"
  1896              description: "Internal identifier of a RingOut call"
  1897              required: true
  1898              type: "integer"
  1899          responses:
  1900            default:
  1901              description: "Success"
  1902              schema:
  1903                $ref: "#/definitions/GetRingOutStatusResponse"
  1904          x-api-group: "extension/ringout"
  1905          x-throttling-group: "Light"
  1906          x-metered-api: true
  1907          x-metering-group: "Time-based"
  1908          x-app-permission: "RingOut"
  1909          x-access-level: "Public"
  1910        delete:
  1911          tags:
  1912            - "RingOut"
  1913          deprecated: true
  1914          summary: "Cancel RingOut Call"
  1915          description: "<p style='font-style:italic;'></p><p>Cancels the 2-leg RingOut call.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RingOut</td><td>Performing two-legged ring-out phone calls</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  1916          operationId: "cancelRingOutCall"
  1917          consumes:
  1918            - "application/json"
  1919          produces:
  1920            - "application/json"
  1921          parameters:
  1922            -
  1923              name: "accountId"
  1924              in: "path"
  1925              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  1926              required: true
  1927              type: "string"
  1928              default: "~"
  1929            -
  1930              name: "extensionId"
  1931              in: "path"
  1932              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  1933              required: true
  1934              type: "string"
  1935              default: "~"
  1936            -
  1937              name: "ringoutId"
  1938              in: "path"
  1939              description: "Internal identifier of a RingOut call"
  1940              required: true
  1941              type: "integer"
  1942          responses:
  1943            default:
  1944              description: "Success"
  1945          x-api-group: "extension/ringout"
  1946          x-throttling-group: "Heavy"
  1947          x-metered-api: true
  1948          x-metering-group: "Time-based"
  1949          x-app-permission: "RingOut"
  1950          x-access-level: "Public"
  1951      /restapi/v1.0/account/{accountId}/extension/{extensionId}/ring-out:
  1952        post:
  1953          tags:
  1954            - "RingOut"
  1955          summary: "Make RingOut Call"
  1956          description: "<p style='font-style:italic;'>Since 1.0.7 (Release 5.16)</p><p>Makes a 2-leg RingOut call.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RingOut</td><td>Performing two-legged ring-out phone calls</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  1957          operationId: "makeRingOutCallNew"
  1958          consumes:
  1959            - "application/json"
  1960          produces:
  1961            - "application/json"
  1962          parameters:
  1963            -
  1964              name: "accountId"
  1965              in: "path"
  1966              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  1967              required: true
  1968              type: "string"
  1969              default: "~"
  1970            -
  1971              name: "extensionId"
  1972              in: "path"
  1973              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  1974              required: true
  1975              type: "string"
  1976              default: "~"
  1977            -
  1978              in: "body"
  1979              name: "body"
  1980              description: "JSON body"
  1981              required: true
  1982              schema:
  1983                $ref: "#/definitions/MakeRingOutRequest"
  1984          responses:
  1985            default:
  1986              description: "Success"
  1987              schema:
  1988                $ref: "#/definitions/GetRingOutStatusResponse"
  1989          x-api-group: "extension/ringout"
  1990          x-throttling-group: "Heavy"
  1991          x-metered-api: true
  1992          x-metering-group: "Time-based"
  1993          x-app-permission: "RingOut"
  1994          x-access-level: "Public"
  1995      /restapi/v1.0/account/{accountId}/extension/{extensionId}/direct-ring-out:
  1996        post:
  1997          tags:
  1998            - "RingOut"
  1999          summary: "Make Direct RingOut Call"
  2000          operationId: "createDirectRingOutNew"
  2001          consumes:
  2002            - "application/json"
  2003          produces:
  2004            - "application/json"
  2005          parameters:
  2006            -
  2007              name: "accountId"
  2008              in: "path"
  2009              required: true
  2010              type: "string"
  2011            -
  2012              name: "extensionId"
  2013              in: "path"
  2014              required: true
  2015              type: "string"
  2016            -
  2017              in: "body"
  2018              name: "body"
  2019              required: true
  2020              schema:
  2021                $ref: "#/definitions/RingOutResource"
  2022          responses:
  2023            default:
  2024              description: "successful operation"
  2025          x-api-group: "extension/ringout/direct"
  2026          x-throttling-group: "Heavy"
  2027          x-metered-api: true
  2028          x-metering-group: "Time-based"
  2029          x-app-permission: "DirectRingOut"
  2030          x-access-level: "Internal"
  2031      /restapi/v1.0/account/{accountId}/extension/{extensionId}/ring-out/{ringoutId}:
  2032        get:
  2033          tags:
  2034            - "RingOut"
  2035          summary: "Get Status of RingOut Call"
  2036          description: "<p style='font-style:italic;'>Since 1.0.7 (Release 5.16)</p><p>Returns the status of a 2-leg RingOut call.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RingOut</td><td>Performing two-legged ring-out phone calls</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  2037          operationId: "getRingOutCallStatusNew"
  2038          consumes:
  2039            - "application/json"
  2040          produces:
  2041            - "application/json"
  2042          parameters:
  2043            -
  2044              name: "accountId"
  2045              in: "path"
  2046              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2047              required: true
  2048              type: "string"
  2049              default: "~"
  2050            -
  2051              name: "extensionId"
  2052              in: "path"
  2053              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  2054              required: true
  2055              type: "string"
  2056              default: "~"
  2057            -
  2058              name: "ringoutId"
  2059              in: "path"
  2060              description: "Internal identifier of a RingOut call"
  2061              required: true
  2062              type: "integer"
  2063          responses:
  2064            default:
  2065              description: "Success"
  2066              schema:
  2067                $ref: "#/definitions/GetRingOutStatusResponse"
  2068          x-api-group: "extension/ringout"
  2069          x-throttling-group: "Light"
  2070          x-metered-api: true
  2071          x-metering-group: "Time-based"
  2072          x-app-permission: "RingOut"
  2073          x-access-level: "Public"
  2074        delete:
  2075          tags:
  2076            - "RingOut"
  2077          summary: "Cancel RingOut Call"
  2078          description: "<p style='font-style:italic;'></p><p>Cancels the 2-leg RingOut call.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RingOut</td><td>Performing two-legged ring-out phone calls</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  2079          operationId: "cancelRingOutCallNew"
  2080          consumes:
  2081            - "application/json"
  2082          produces:
  2083            - "application/json"
  2084          parameters:
  2085            -
  2086              name: "accountId"
  2087              in: "path"
  2088              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2089              required: true
  2090              type: "string"
  2091              default: "~"
  2092            -
  2093              name: "extensionId"
  2094              in: "path"
  2095              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  2096              required: true
  2097              type: "string"
  2098              default: "~"
  2099            -
  2100              name: "ringoutId"
  2101              in: "path"
  2102              description: "Internal identifier of a RingOut call"
  2103              required: true
  2104              type: "integer"
  2105          responses:
  2106            default:
  2107              description: "Success"
  2108          x-api-group: "extension/ringout"
  2109          x-throttling-group: "Heavy"
  2110          x-metered-api: true
  2111          x-metering-group: "Time-based"
  2112          x-app-permission: "RingOut"
  2113          x-access-level: "Public"
  2114      /restapi/v1.0/account/{accountId}/extension/{extensionId}/address-book/contact:
  2115        get:
  2116          tags:
  2117            - "User Contacts"
  2118          summary: "Get Contacts"
  2119          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadContacts</td><td>Viewing user personal contacts</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  2120          operationId: "listContacts"
  2121          consumes:
  2122            - "application/json"
  2123          produces:
  2124            - "application/json"
  2125          parameters:
  2126            -
  2127              name: "accountId"
  2128              in: "path"
  2129              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2130              required: true
  2131              type: "string"
  2132              default: "~"
  2133            -
  2134              name: "extensionId"
  2135              in: "path"
  2136              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  2137              required: true
  2138              type: "string"
  2139              default: "~"
  2140            -
  2141              name: "startsWith"
  2142              in: "query"
  2143              description: "If specified, only contacts whose First name or Last name start with the mentioned substring are returned. Case-insensitive"
  2144              required: false
  2145              type: "string"
  2146            -
  2147              name: "sortBy"
  2148              in: "query"
  2149              description: "Sorts results by the specified property. The default is 'First Name'"
  2150              required: false
  2151              type: "array"
  2152              items:
  2153                type: "string"
  2154              collectionFormat: "multi"
  2155              enum:
  2156                - "FirstName"
  2157                - "LastName"
  2158                - "Company"
  2159            -
  2160              name: "page"
  2161              in: "query"
  2162              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  2163              required: false
  2164              type: "integer"
  2165            -
  2166              name: "perPage"
  2167              in: "query"
  2168              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  2169              required: false
  2170              type: "integer"
  2171            -
  2172              name: "phoneNumber"
  2173              in: "query"
  2174              required: false
  2175              type: "array"
  2176              items:
  2177                type: "string"
  2178              collectionFormat: "multi"
  2179          responses:
  2180            default:
  2181              description: "Success"
  2182              schema:
  2183                $ref: "#/definitions/ContactList"
  2184          x-api-group: "extension/address-book/contact"
  2185          x-throttling-group: "Heavy"
  2186          x-metered-api: true
  2187          x-metering-group: "System"
  2188          x-app-permission: "ReadContacts"
  2189          x-user-permission: "ReadPersonalContacts"
  2190          x-access-level: "Public"
  2191        post:
  2192          tags:
  2193            - "User Contacts"
  2194          summary: "Create Contact"
  2195          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Contacts</td><td>Creating, viewing, editing and deleting user personal contacts</td></tr><tr><td class='code'>ReadContacts</td><td>Viewing user personal contacts</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  2196          operationId: "createContact"
  2197          consumes:
  2198            - "application/json"
  2199          produces:
  2200            - "application/json"
  2201          parameters:
  2202            -
  2203              name: "accountId"
  2204              in: "path"
  2205              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2206              required: true
  2207              type: "string"
  2208              default: "~"
  2209            -
  2210              name: "extensionId"
  2211              in: "path"
  2212              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  2213              required: true
  2214              type: "string"
  2215              default: "~"
  2216            -
  2217              in: "body"
  2218              name: "body"
  2219              required: false
  2220              schema:
  2221                $ref: "#/definitions/PersonalContactResource"
  2222          responses:
  2223            default:
  2224              description: "Success"
  2225              schema:
  2226                $ref: "#/definitions/PersonalContactResource"
  2227          x-api-group: "extension/address-book/contact"
  2228          x-throttling-group: "Heavy"
  2229          x-metered-api: true
  2230          x-metering-group: "System"
  2231          x-app-permission: "Contacts"
  2232          x-user-permission: "EditPersonalContacts"
  2233          x-access-level: "Public"
  2234      /restapi/v1.0/account/{accountId}/extension/{extensionId}/address-book/contact/{contactId}:
  2235        get:
  2236          tags:
  2237            - "User Contacts"
  2238          summary: "Get Contact(s) by ID"
  2239          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadContacts</td><td>Viewing user personal contacts</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  2240          operationId: "loadContact"
  2241          consumes:
  2242            - "application/json"
  2243          produces:
  2244            - "application/json"
  2245          parameters:
  2246            -
  2247              name: "accountId"
  2248              in: "path"
  2249              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2250              required: true
  2251              type: "string"
  2252              default: "~"
  2253            -
  2254              name: "extensionId"
  2255              in: "path"
  2256              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  2257              required: true
  2258              type: "string"
  2259              default: "~"
  2260            -
  2261              name: "contactId"
  2262              in: "path"
  2263              description: "Internal identifier of a contact record in the RingCentral database"
  2264              required: true
  2265              type: "integer"
  2266          responses:
  2267            default:
  2268              description: "Success"
  2269              schema:
  2270                $ref: "#/definitions/PersonalContactResource"
  2271          x-api-group: "extension/address-book/contact"
  2272          x-throttling-group: "Heavy"
  2273          x-metered-api: true
  2274          x-metering-group: "System"
  2275          x-app-permission: "ReadContacts"
  2276          x-user-permission: "ReadPersonalContacts"
  2277          x-access-level: "Public"
  2278        put:
  2279          tags:
  2280            - "User Contacts"
  2281          summary: "Update Contact(s) by ID"
  2282          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Contacts</td><td>Creating, viewing, editing and deleting user personal contacts</td></tr><tr><td class='code'>ReadContacts</td><td>Viewing user personal contacts</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  2283          operationId: "updateContact"
  2284          consumes:
  2285            - "application/json"
  2286          produces:
  2287            - "application/json"
  2288          parameters:
  2289            -
  2290              name: "accountId"
  2291              in: "path"
  2292              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2293              required: true
  2294              type: "string"
  2295              default: "~"
  2296            -
  2297              name: "extensionId"
  2298              in: "path"
  2299              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  2300              required: true
  2301              type: "string"
  2302              default: "~"
  2303            -
  2304              name: "contactId"
  2305              in: "path"
  2306              description: "Internal identifier of a contact record in the RingCentral database"
  2307              required: true
  2308              type: "integer"
  2309            -
  2310              in: "body"
  2311              name: "body"
  2312              required: false
  2313              schema:
  2314                $ref: "#/definitions/PersonalContactResource"
  2315          responses:
  2316            default:
  2317              description: "Success"
  2318              schema:
  2319                $ref: "#/definitions/PersonalContactResource"
  2320          x-api-group: "extension/address-book/contact"
  2321          x-throttling-group: "Heavy"
  2322          x-metered-api: true
  2323          x-metering-group: "System"
  2324          x-app-permission: "Contacts"
  2325          x-user-permission: "EditPersonalContacts"
  2326          x-access-level: "Public"
  2327        delete:
  2328          tags:
  2329            - "User Contacts"
  2330          summary: "Delete Contact(s) by ID"
  2331          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Contacts</td><td>Creating, viewing, editing and deleting user personal contacts</td></tr><tr><td class='code'>ReadContacts</td><td>Viewing user personal contacts</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  2332          operationId: "deleteContact"
  2333          consumes:
  2334            - "application/json"
  2335          produces:
  2336            - "application/json"
  2337          parameters:
  2338            -
  2339              name: "accountId"
  2340              in: "path"
  2341              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2342              required: true
  2343              type: "string"
  2344              default: "~"
  2345            -
  2346              name: "extensionId"
  2347              in: "path"
  2348              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  2349              required: true
  2350              type: "string"
  2351              default: "~"
  2352            -
  2353              name: "contactId"
  2354              in: "path"
  2355              description: "Internal identifier of a contact record in the RingCentral database"
  2356              required: true
  2357              type: "integer"
  2358          responses:
  2359            default:
  2360              description: "Success"
  2361          x-api-group: "extension/address-book/contact"
  2362          x-throttling-group: "Heavy"
  2363          x-metered-api: true
  2364          x-metering-group: "System"
  2365          x-app-permission: "Contacts"
  2366          x-user-permission: "EditPersonalContacts"
  2367          x-access-level: "Public"
  2368      /restapi/v1.0/account/{accountId}/extension/{extensionId}/address-book-sync:
  2369        get:
  2370          tags:
  2371            - "User Contacts"
  2372          summary: "Address Book Synchronization"
  2373          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadContacts</td><td>Viewing user personal contacts</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  2374          operationId: "syncAddressBook"
  2375          consumes:
  2376            - "application/json"
  2377          produces:
  2378            - "application/json"
  2379          parameters:
  2380            -
  2381              name: "accountId"
  2382              in: "path"
  2383              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2384              required: true
  2385              type: "string"
  2386              default: "~"
  2387            -
  2388              name: "extensionId"
  2389              in: "path"
  2390              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  2391              required: true
  2392              type: "string"
  2393              default: "~"
  2394            -
  2395              name: "syncType"
  2396              in: "query"
  2397              description: "Type of synchronization. The default value is 'FSync'"
  2398              required: false
  2399              type: "array"
  2400              items:
  2401                type: "string"
  2402              collectionFormat: "multi"
  2403              enum:
  2404                - "FSync"
  2405                - "ISync"
  2406            -
  2407              name: "syncToken"
  2408              in: "query"
  2409              description: "Value of syncToken property of the last sync request response"
  2410              required: false
  2411              type: "string"
  2412            -
  2413              name: "perPage"
  2414              in: "query"
  2415              description: "Number of records per page to be returned. The max number of records is 250, which is also the default. For FSync ??? if the number of records exceeds the parameter value (either specified or default), all of the pages can be retrieved in several requests. For ISync ??? if the number of records exceeds the page size, the number of incoming changes to this number is limited"
  2416              required: false
  2417              type: "integer"
  2418            -
  2419              name: "pageId"
  2420              in: "query"
  2421              description: "Internal identifier of a page. It can be obtained from the 'nextPageId' parameter passed in response body"
  2422              required: false
  2423              type: "integer"
  2424          responses:
  2425            default:
  2426              description: "Success"
  2427              schema:
  2428                $ref: "#/definitions/AddressBookSync"
  2429          x-api-group: "extension/address-book-sync"
  2430          x-throttling-group: "Heavy"
  2431          x-metered-api: true
  2432          x-metering-group: "System"
  2433          x-app-permission: "ReadContacts"
  2434          x-user-permission: "ReadPersonalContacts"
  2435          x-access-level: "Advanced"
  2436      /restapi/v1.0/account/{accountId}/extension/{extensionId}/favorite:
  2437        get:
  2438          tags:
  2439            - "User Contacts"
  2440          summary: "Get Favorite Contacts"
  2441          operationId: "contactFavorite"
  2442          consumes:
  2443            - "application/json"
  2444          produces:
  2445            - "application/json"
  2446          parameters:
  2447            -
  2448              name: "accountId"
  2449              in: "path"
  2450              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2451              required: true
  2452              type: "string"
  2453              default: "~"
  2454            -
  2455              name: "extensionId"
  2456              in: "path"
  2457              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  2458              required: true
  2459              type: "string"
  2460              default: "~"
  2461          responses:
  2462            default:
  2463              description: "successful operation"
  2464          x-api-group: "extension/favorite"
  2465          x-throttling-group: "Light"
  2466          x-metered-api: true
  2467          x-metering-group: "System"
  2468          x-user-permission: "ReadPersonalContacts"
  2469          x-app-permission: "ReadContacts"
  2470          x-access-level: "Public"
  2471        put:
  2472          tags:
  2473            - "User Contacts"
  2474          summary: "Update Favorite Contacts"
  2475          operationId: "createContacts"
  2476          consumes:
  2477            - "application/json"
  2478          produces:
  2479            - "application/json"
  2480          parameters:
  2481            -
  2482              name: "accountId"
  2483              in: "path"
  2484              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2485              required: true
  2486              type: "string"
  2487              default: "~"
  2488            -
  2489              name: "extensionId"
  2490              in: "path"
  2491              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  2492              required: true
  2493              type: "string"
  2494              default: "~"
  2495            -
  2496              in: "body"
  2497              name: "body"
  2498              required: false
  2499              schema:
  2500                $ref: "#/definitions/FavoriteCollection"
  2501          responses:
  2502            default:
  2503              description: "successful operation"
  2504          x-api-group: "extension/favorite"
  2505          x-throttling-group: "Medium"
  2506          x-metered-api: true
  2507          x-metering-group: "System"
  2508          x-app-permission: "Contacts"
  2509          x-user-permission: "EditPersonalContacts"
  2510          x-access-level: "Public"
  2511      /restapi/v1.0/account/{accountId}/directory/contacts:
  2512        get:
  2513          tags:
  2514            - "Company Contacts"
  2515          summary: "Get Company Directory"
  2516          operationId: "listCompanyDirectoryContacts"
  2517          description: "<p style='font-style:italic;'></p><p>Returns contact information on corporate users of federated accounts. Please note: 1. User, DigitalUser, VirtualUser and FaxUser types are returned as User type. 2.ApplicationExtension type is not returned. 3. Only extensions in Enabled, Disabled and NotActivated state are returned.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  2518          consumes:
  2519            - "application/json"
  2520          produces:
  2521            - "application/json"
  2522          parameters:
  2523            -
  2524              name: "accountId"
  2525              type: "string"
  2526              in: "path"
  2527              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2528              required: true
  2529              default: "~"
  2530            -
  2531              name: "page"
  2532              type: "integer"
  2533              format: "int64"
  2534              in: "query"
  2535              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  2536              required: false
  2537            -
  2538              name: "perPage"
  2539              type: "integer"
  2540              format: "int64"
  2541              in: "query"
  2542              description: "Indicates the page size (number of items). The possible values are: Max, all or a numeric value. If not specified, all records are returned on one page"
  2543              required: false
  2544            -
  2545              name: "excludeFederatedContacts"
  2546              type: "boolean"
  2547              in: "query"
  2548              description: "If 'True' then only contacts of current account are returned, if 'False' then all contacts of all federation accounts are returned"
  2549              required: false
  2550          responses:
  2551            default:
  2552              description: "Success"
  2553              schema:
  2554                $ref: "#/definitions/CompanyDirectoryContacts"
  2555          x-api-group: "directory/contacts"
  2556          x-throttling-group: "Medium"
  2557          x-metered-api: true
  2558          x-metering-group: "System"
  2559          x-app-permission: "ReadContacts"
  2560          x-user-permission: "AddRemoveContacts"
  2561          x-access-level: "Advanced"
  2562      /restapi/v1.0/account/{accountId}/directory/contacts/{contactId}:
  2563        get:
  2564          tags:
  2565            - "Company Contacts"
  2566          summary: "Get Company Directory Contact"
  2567          operationId: "loadCompanyDirectoryContact"
  2568          description: "<p style='font-style:italic;'></p><p>Returns contact information on a particular corporate user of a federated account.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  2569          consumes:
  2570            - "application/json"
  2571          produces:
  2572            - "application/json"
  2573          parameters:
  2574            -
  2575              name: "accountId"
  2576              type: "string"
  2577              in: "path"
  2578              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2579              required: true
  2580              default: "~"
  2581            -
  2582              name: "contactId"
  2583              type: "string"
  2584              in: "path"
  2585              description: "Internal identifier of an extension"
  2586              required: true
  2587          responses:
  2588            default:
  2589              description: "Success"
  2590              schema:
  2591                $ref: "#/definitions/ContactInfo"
  2592          x-api-group: "directory/contacts"
  2593          x-throttling-group: "Medium"
  2594          x-metered-api: true
  2595          x-metering-group: "System"
  2596          x-app-permission: "ReadContacts"
  2597          x-user-permission: "AddRemoveContacts"
  2598          x-access-level: "Advanced"
  2599      /restapi/v1.0/account/{accountId}/directory/federation:
  2600        get:
  2601          tags:
  2602            - "Company Contacts"
  2603          summary: "Get Account Federation"
  2604          operationId: "loadCompanyDirectoryFederation"
  2605          description: "<p style='font-style:italic;'></p><p>Returns information on a federation and associated accounts.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  2606          consumes:
  2607            - "application/json"
  2608          produces:
  2609            - "application/json"
  2610          parameters:
  2611            -
  2612              name: "accountId"
  2613              type: "string"
  2614              in: "path"
  2615              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2616              required: true
  2617              default: "~"
  2618          responses:
  2619            default:
  2620              description: "Success"
  2621              schema:
  2622                $ref: "#/definitions/FederationInfo"
  2623          x-api-group: "directory/federation"
  2624          x-throttling-group: "Medium"
  2625          x-metered-api: true
  2626          x-metering-group: "System"
  2627          x-app-permission: "ReadContacts"
  2628          x-user-permission: "AddRemoveContacts"
  2629          x-access-level: "Advanced"
  2630      /restapi/v1.0/account/{accountId}/directory/federation-conflicts:
  2631        get:
  2632          tags:
  2633            - "Company Contacts"
  2634          summary: "Get Account Federation Conflicts"
  2635          operationId: "loadCompanyDirectoryFederationConflicts"
  2636          description: "<p style='font-style:italic;'></p><p>Returns the list of federation extensions which numbers are conflicting with extension numbers of the requested account.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p>"
  2637          consumes:
  2638            - "application/json"
  2639          produces:
  2640            - "application/json"
  2641          parameters:
  2642            -
  2643              name: "accountId"
  2644              type: "string"
  2645              in: "path"
  2646              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2647              required: true
  2648              default: "~"
  2649          responses:
  2650            default:
  2651              description: "Success"
  2652              schema:
  2653                $ref: "#/definitions/FederationConflicts"
  2654          x-api-group: "directory/FederationConflicts"
  2655          x-throttling-group: "Medium"
  2656          x-metered-api: true
  2657          x-metering-group: "System"
  2658          x-app-permission: "ReadContacts"
  2659          x-user-permission: "AddRemoveContacts"
  2660          x-access-level: "Internal"
  2661      /restapi/v1.0/account/{accountId}/directory/extension-numbers:
  2662        get:
  2663          tags:
  2664            - "Company Contacts"
  2665          summary: "Get Existing Extension Numbers"
  2666          operationId: "loadCompanyDirectoryExtensionNumbers"
  2667          description: "<p style='font-style:italic;'></p><p>Returns the list of account federation extensions.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p>"
  2668          consumes:
  2669            - "application/json"
  2670          produces:
  2671            - "application/json"
  2672          parameters:
  2673            -
  2674              name: "accountId"
  2675              type: "string"
  2676              in: "path"
  2677              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2678              required: true
  2679              default: "~"
  2680          responses:
  2681            default:
  2682              description: "Success"
  2683              schema:
  2684                $ref: "#/definitions/FederationExtensionNumbers"
  2685          x-api-group: "directory/extension-numbers"
  2686          x-throttling-group: "Medium"
  2687          x-metered-api: true
  2688          x-metering-group: "System"
  2689          x-app-permission: "ReadContacts"
  2690          x-user-permission: "AddRemoveContacts"
  2691          x-access-level: "Internal"
  2692      /restapi/v1.0/account/{accountId}/extension:
  2693        get:
  2694          tags:
  2695            - "Company Contacts"
  2696          summary: "Get Extensions"
  2697          operationId: "listExtensions"
  2698          description: "<p style='font-style:italic;'>Since 1.0.0</p><p>Returns the list of extensions created for a particular account. All types of extensions are included in this list.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  2699          consumes:
  2700            - "application/json"
  2701          produces:
  2702            - "application/json"
  2703          parameters:
  2704            -
  2705              name: "accountId"
  2706              type: "string"
  2707              in: "path"
  2708              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2709              required: true
  2710              default: "~"
  2711            -
  2712              name: "page"
  2713              type: "integer"
  2714              format: "int64"
  2715              in: "query"
  2716              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  2717              required: false
  2718            -
  2719              name: "perPage"
  2720              type: "integer"
  2721              format: "int64"
  2722              in: "query"
  2723              description: "Indicates the page size (number of items). If not specified, the value is '100' by default."
  2724              required: false
  2725            -
  2726              name: "status"
  2727              type: "array"
  2728              items:
  2729                type: "string"
  2730              collectionFormat: "multi"
  2731              allowEmptyValue: true
  2732              enum:
  2733                - "Enabled"
  2734                - "Disabled"
  2735                - "NotActivated"
  2736                - "Unassigned"
  2737              in: "query"
  2738              description: "Extension current state. Multiple values are supported. If 'Unassigned' is specified, then extensions without extensionNumber are returned. If not specified, then all extensions are returned"
  2739              required: false
  2740            -
  2741              name: "type"
  2742              type: "array"
  2743              items:
  2744                type: "string"
  2745              collectionFormat: "multi"
  2746              allowEmptyValue: true
  2747              enum:
  2748                - "User"
  2749                - "FaxUser"
  2750                - "VirtualUser"
  2751                - "DigitalUser"
  2752                - "Department"
  2753                - "Announcement"
  2754                - "Voicemail"
  2755                - "SharedLinesGroup"
  2756                - "PagingOnly"
  2757                - "IvrMenu"
  2758                - "ApplicationExtension"
  2759                - "ParkLocation"
  2760                - "Limited"
  2761                - "Bot"
  2762              in: "query"
  2763              description: "Extension type. Multiple values are supported"
  2764              required: false
  2765          responses:
  2766            default:
  2767              description: "Success"
  2768              schema:
  2769                $ref: "#/definitions/GetExtensionListResponse"
  2770          x-api-group: "extension"
  2771          x-throttling-group: "Medium"
  2772          x-metered-api: true
  2773          x-metering-group: "System"
  2774          x-app-permission: "ReadAccounts"
  2775          x-user-permission: "ReadExtensions"
  2776          x-access-level: "Public"
  2777        post:
  2778          tags:
  2779            - "Company Contacts"
  2780          summary: "Create Extension"
  2781          operationId: "createExtension"
  2782          description: "<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Creates an extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  2783          consumes:
  2784            - "application/json"
  2785          produces:
  2786            - "application/json"
  2787          parameters:
  2788            -
  2789              name: "accountId"
  2790              type: "string"
  2791              in: "path"
  2792              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2793              required: true
  2794              default: "~"
  2795            -
  2796              name: "body"
  2797              in: "body"
  2798              description: "JSON body"
  2799              schema:
  2800                $ref: "#/definitions/ExtensionCreationRequest"
  2801              required: true
  2802          responses:
  2803            default:
  2804              description: "Success"
  2805              schema:
  2806                $ref: "#/definitions/ExtensionInfo"
  2807          x-api-group: "extension"
  2808          x-throttling-group: "Medium"
  2809          x-metered-api: true
  2810          x-metering-group: "System"
  2811          x-app-permission: "EditAccounts"
  2812          x-user-permission: "AddRemoveUsers"
  2813          x-access-level: "Advanced"
  2814      /restapi/v1.0/account/{accountId}/bot:
  2815        post:
  2816          tags:
  2817            - "Company Contacts"
  2818          summary: "Create Bot Extension"
  2819          operationId: "createBotExtension"
  2820          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Creates a bot extension. Please note: Bot extension is always created in Enabled status, no welcome email is sent.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  2821          consumes:
  2822            - "application/json"
  2823          produces:
  2824            - "application/json"
  2825          parameters:
  2826            -
  2827              name: "accountId"
  2828              type: "string"
  2829              in: "path"
  2830              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2831              required: true
  2832              default: "~"
  2833            -
  2834              name: "body"
  2835              in: "body"
  2836              description: "JSON body"
  2837              schema:
  2838                $ref: "#/definitions/BotExtensionCreationRequest"
  2839              required: true
  2840          responses:
  2841            default:
  2842              description: "Success"
  2843              schema:
  2844                $ref: "#/definitions/BotExtensionCreation"
  2845          x-api-group: "bot"
  2846          x-throttling-group: "Medium"
  2847          x-metered-api: true
  2848          x-metering-group: "System"
  2849          x-app-permission: "EditAccounts"
  2850          x-user-permission: "AddRemoveUsers"
  2851          x-access-level: "Advanced"
  2852      /restapi/v1.0/account/{accountId}/presence:
  2853        get:
  2854          tags:
  2855            - "Presence"
  2856          summary: "Get all user statuses"
  2857          operationId: "accountPresence"
  2858          consumes:
  2859            - "application/json"
  2860          produces:
  2861            - "application/json"
  2862          parameters:
  2863            -
  2864              name: "accountId"
  2865              in: "path"
  2866              required: true
  2867              type: "string"
  2868          responses:
  2869            default:
  2870              description: "successful operation"
  2871              schema:
  2872                $ref: "#/definitions/AccountPresenceInfo"
  2873          x-api-group: "account/presence"
  2874          x-throttling-group: "Heavy"
  2875          x-metered-api: true
  2876          x-metering-group: "System"
  2877          x-app-permission: "ReadPresence"
  2878          x-user-permission: "ReadPresenceStatus"
  2879          x-access-level: "Advanced"
  2880      /restapi/v1.0/account/{accountId}/extension/{extensionId}/presence:
  2881        get:
  2882          tags:
  2883            - "Presence"
  2884          summary: "Get User Status"
  2885          description: "<p style='font-style:italic;'>Since 1.0.2</p><p>Returns presence status of an extension or several extensions by their ID(s). Batch request is supported, see Batch Requests for details.The presenceStatus is returned as Offline (the parameters telephonyStatus, message, userStatus and dndStatus are not returned at all) for the following extension types: Department/Announcement Only/Take Messages Only (Voicemail)/Fax User/Paging Only Group/Shared Lines Group/IVR Menu/Application Extension/Park Location.If the user requests his/her own presence status, the response contains actual presence status even if the status publication is turned off.Batch request is supported. For batch requests the number of extensions in one request is limited to 30. If more extensions are included in the request, the error code 400 Bad Request is returned with the logical error code InvalidMultipartRequest and the corresponding message 'Extension Presence Info multipart request is limited to 30 extensions'.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadPresence</td><td>Getting user presence information</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  2886          operationId: "getPresenceStatus"
  2887          consumes:
  2888            - "application/json"
  2889          produces:
  2890            - "application/json"
  2891          parameters:
  2892            -
  2893              name: "accountId"
  2894              in: "path"
  2895              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2896              required: true
  2897              type: "string"
  2898              default: "~"
  2899            -
  2900              name: "extensionId"
  2901              in: "path"
  2902              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  2903              required: true
  2904              type: "string"
  2905              default: "~"
  2906          responses:
  2907            default:
  2908              description: "Success"
  2909              schema:
  2910                $ref: "#/definitions/GetPresenceInfo"
  2911          x-api-group: "extension/presence"
  2912          x-throttling-group: "Light"
  2913          x-metered-api: true
  2914          x-metering-group: "System"
  2915          x-app-permission: "ReadPresence"
  2916          x-user-permission: "ReadPresenceStatus"
  2917          x-access-level: "Public"
  2918        put:
  2919          tags:
  2920            - "Presence"
  2921          summary: "Update User Status"
  2922          operationId: "updatePresenceStatus"
  2923          consumes:
  2924            - "multipart/mixed"
  2925            - "application/json"
  2926          produces:
  2927            - "multipart/mixed"
  2928            - "application/json"
  2929          parameters:
  2930            -
  2931              name: "accountId"
  2932              in: "path"
  2933              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2934              required: true
  2935              type: "string"
  2936              default: "~"
  2937            -
  2938              name: "extensionId"
  2939              in: "path"
  2940              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  2941              required: true
  2942              type: "string"
  2943              default: "~"
  2944            -
  2945              in: "body"
  2946              name: "body"
  2947              required: true
  2948              schema:
  2949                $ref: "#/definitions/PresenceInfoResource"
  2950          responses:
  2951            default:
  2952              description: "successful operation"
  2953              schema:
  2954                $ref: "#/definitions/PresenceInfoResource"
  2955          x-api-group: "extension/presence"
  2956          x-throttling-group: "Medium"
  2957          x-metered-api: true
  2958          x-metering-group: "System"
  2959          x-app-permission: "EditPresence"
  2960          x-access-level: "Public"
  2961      /restapi/v1.0/account/{accountId}/extension/{extensionId}/presence/line:
  2962        get:
  2963          tags:
  2964            - "Presence"
  2965          summary: "Get Monitored Extensions"
  2966          description: "<p style='font-style:italic;'>Since 1.0.13 (Release 6.5)</p><p>Returns list of lines - extensions which presence status can be indicated and monitored on BLF-enabled (Busy Lamp Field) devices.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadPresence</td><td>Getting user presence information</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  2967          operationId: "listMonitoredExtensions"
  2968          consumes:
  2969            - "application/json"
  2970          produces:
  2971            - "application/json"
  2972          parameters:
  2973            -
  2974              name: "accountId"
  2975              in: "path"
  2976              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  2977              required: true
  2978              type: "string"
  2979              default: "~"
  2980            -
  2981              name: "extensionId"
  2982              in: "path"
  2983              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  2984              required: true
  2985              type: "string"
  2986              default: "~"
  2987          responses:
  2988            default:
  2989              description: "Success"
  2990              schema:
  2991                $ref: "#/definitions/GetMonitoredExtensionsResponse"
  2992          x-api-group: "extension/presence/line"
  2993          x-throttling-group: "Light"
  2994          x-metered-api: true
  2995          x-metering-group: "System"
  2996          x-app-permission: "ReadPresence"
  2997          x-user-permission: "ReadPresenceSettings"
  2998          x-access-level: "Internal"
  2999        put:
  3000          tags:
  3001            - "Presence"
  3002          summary: "Update Monitored Extensions"
  3003          operationId: "updatePresenceLines"
  3004          consumes:
  3005            - "application/json"
  3006          produces:
  3007            - "application/json"
  3008          parameters:
  3009            -
  3010              name: "accountId"
  3011              in: "path"
  3012              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  3013              required: true
  3014              type: "string"
  3015              default: "~"
  3016            -
  3017              name: "extensionId"
  3018              in: "path"
  3019              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  3020              required: true
  3021              type: "string"
  3022              default: "~"
  3023            -
  3024              in: "body"
  3025              name: "body"
  3026              required: true
  3027              schema:
  3028                $ref: "#/definitions/UpdatePresenceLinesRequest"
  3029          responses:
  3030            default:
  3031              description: "successful operation"
  3032              schema:
  3033                $ref: "#/definitions/UpdatePresenceLinesResponse"
  3034          x-api-group: "extension/presence/line"
  3035          x-throttling-group: "Medium"
  3036          x-metered-api: true
  3037          x-metering-group: "System"
  3038          x-app-permission: "EditPresence"
  3039          x-user-permission: "EditPresenceSettings"
  3040          x-access-level: "Internal"
  3041      /restapi/v1.0/account/{accountId}/extension/{extensionId}/presence/line/{lineId}:
  3042        get:
  3043          tags:
  3044            - "Presence"
  3045          summary: "Get Monitored Extensions by Id"
  3046          operationId: "getPresenceLine"
  3047          consumes:
  3048            - "application/json"
  3049          produces:
  3050            - "application/json"
  3051          parameters:
  3052            -
  3053              name: "lineId"
  3054              in: "path"
  3055              required: true
  3056              type: "string"
  3057            -
  3058              name: "extensionId"
  3059              in: "path"
  3060              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  3061              required: true
  3062              type: "string"
  3063              default: "~"
  3064            -
  3065              name: "accountId"
  3066              in: "path"
  3067              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  3068              required: true
  3069              type: "string"
  3070              default: "~"
  3071          responses:
  3072            default:
  3073              description: "successful operation"
  3074              schema:
  3075                $ref: "#/definitions/PresenceLineResource"
  3076          x-api-group: "extension/presence/line"
  3077          x-throttling-group: "Light"
  3078          x-metered-api: true
  3079          x-metering-group: "System"
  3080          x-app-permission: "ReadPresence"
  3081          x-user-permission: "ReadPresenceSettings"
  3082          x-access-level: "Internal"
  3083      /restapi/v1.0/account/{accountId}/extension/{extensionId}/presence/permission:
  3084        get:
  3085          tags:
  3086            - "Presence"
  3087          summary: "Get User Presence Permissions"
  3088          operationId: "getMonitoringExtensions"
  3089          consumes:
  3090            - "application/json"
  3091          produces:
  3092            - "application/json"
  3093          parameters:
  3094            -
  3095              name: "extensionId"
  3096              in: "path"
  3097              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  3098              required: true
  3099              type: "string"
  3100              default: "~"
  3101            -
  3102              name: "accountId"
  3103              in: "path"
  3104              required: true
  3105              type: "string"
  3106          responses:
  3107            default:
  3108              description: "successful operation"
  3109              schema:
  3110                $ref: "#/definitions/MonitoringExtensionsResource"
  3111          x-api-group: "extension/presence/permission"
  3112          x-throttling-group: "Light"
  3113          x-metered-api: true
  3114          x-metering-group: "System"
  3115          x-app-permission: "ReadPresence"
  3116          x-user-permission: "ReadPresenceSettings"
  3117          x-access-level: "Internal"
  3118        put:
  3119          tags:
  3120            - "Presence"
  3121          summary: "Update User Presence Permissions"
  3122          operationId: "putMonitoringExtensions"
  3123          consumes:
  3124            - "application/json"
  3125          produces:
  3126            - "application/json"
  3127          parameters:
  3128            -
  3129              name: "extensionId"
  3130              in: "path"
  3131              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  3132              required: true
  3133              type: "string"
  3134              default: "~"
  3135            -
  3136              name: "accountId"
  3137              in: "path"
  3138              required: true
  3139              type: "string"
  3140            -
  3141              name: "body"
  3142              in: "body"
  3143              required: true
  3144              schema:
  3145                $ref: "#/definitions/UserPresencePermissionsUpdateRequest"
  3146          responses:
  3147            default:
  3148              description: "successful operation"
  3149              schema:
  3150                $ref: "#/definitions/MonitoringExtensionsResource"
  3151          x-api-group: "extension/presence/permission"
  3152          x-throttling-group: "Light"
  3153          x-metered-api: true
  3154          x-metering-group: "System"
  3155          x-app-permission: "ReadPresence"
  3156          x-user-permission: "ReadPresenceSettings"
  3157          x-access-level: "Internal"
  3158      /restapi/v1.0/glip/companies/{companyId}:
  3159        get:
  3160          tags:
  3161            - "Glip"
  3162          summary: "Get Company Info"
  3163          operationId: "loadCompany"
  3164          description: "<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns a company by ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  3165          consumes:
  3166            - "application/json"
  3167          produces:
  3168            - "application/json"
  3169          parameters:
  3170            -
  3171              name: "companyId"
  3172              type: "string"
  3173              in: "path"
  3174              description: "Internal identifier of an RC account/Glip company, or tilde (~) to indicate a company the current user belongs to"
  3175              required: true
  3176          responses:
  3177            default:
  3178              description: "Success"
  3179              schema:
  3180                $ref: "#/definitions/GlipCompany"
  3181          x-api-group: "Glip"
  3182          x-throttling-group: "Light"
  3183          x-metered-api: true
  3184          x-metering-group: "System"
  3185          x-app-permission: "Glip"
  3186          x-user-permission: "Glip"
  3187          x-access-level: "PublicBeta"
  3188      /restapi/v1.0/glip/groups:
  3189        get:
  3190          tags:
  3191            - "Glip"
  3192          summary: "Get User Groups"
  3193          operationId: "loadGroupList"
  3194          description: "<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns the list of groups associated with the user.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  3195          consumes:
  3196            - "application/json"
  3197          produces:
  3198            - "application/json"
  3199          parameters:
  3200            -
  3201              name: "type"
  3202              type: "array"
  3203              items:
  3204                type: "string"
  3205              collectionFormat: "multi"
  3206              allowEmptyValue: true
  3207              enum:
  3208                - "PrivateChat"
  3209                - "Group"
  3210                - "Team"
  3211              in: "query"
  3212              description: "Type of a group. 'PrivateChat' is a group of 2 members. 'Group' is a chat of 2 and more participants, the membership cannot be changed after group creation. 'Team' is a chat of 1 and more participants, the membership can be modified in future"
  3213              required: false
  3214            -
  3215              name: "pageToken"
  3216              type: "string"
  3217              in: "query"
  3218              description: "Token of a page to be returned, see Glip Navigation Info"
  3219              required: false
  3220            -
  3221              name: "recordCount"
  3222              type: "integer"
  3223              format: "int64"
  3224              in: "query"
  3225              description: "Max numbers of records to be returned. The default/maximum value is 250"
  3226              required: false
  3227          responses:
  3228            default:
  3229              description: "Success"
  3230              schema:
  3231                $ref: "#/definitions/GlipGroupList"
  3232          x-api-group: "Glip"
  3233          x-throttling-group: "Medium"
  3234          x-metered-api: true
  3235          x-metering-group: "System"
  3236          x-app-permission: "Glip"
  3237          x-user-permission: "Glip"
  3238          x-access-level: "PublicBeta"
  3239        post:
  3240          tags:
  3241            - "Glip"
  3242          summary: "Create Group"
  3243          operationId: "createGroup"
  3244          description: "<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Creates a group.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  3245          consumes:
  3246            - "application/json"
  3247          produces:
  3248            - "application/json"
  3249          parameters:
  3250            -
  3251              name: "body"
  3252              in: "body"
  3253              description: "JSON body"
  3254              schema:
  3255                $ref: "#/definitions/GlipCreateGroup"
  3256              required: true
  3257          responses:
  3258            default:
  3259              description: "Success"
  3260              schema:
  3261                $ref: "#/definitions/GlipGroupInfo"
  3262          x-api-group: "Glip"
  3263          x-throttling-group: "Medium"
  3264          x-metered-api: true
  3265          x-metering-group: "System"
  3266          x-app-permission: "Glip"
  3267          x-user-permission: "Glip"
  3268          x-access-level: "PublicBeta"
  3269      /restapi/v1.0/glip/groups/{groupId}:
  3270        get:
  3271          tags:
  3272            - "Glip"
  3273          summary: "Get Group"
  3274          operationId: "loadGroup"
  3275          description: "<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns a group or few groups by ID(s). Batch request is supported.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  3276          consumes:
  3277            - "application/json"
  3278          produces:
  3279            - "application/json"
  3280          parameters:
  3281            -
  3282              name: "groupId"
  3283              type: "string"
  3284              in: "path"
  3285              description: "Internal identifier of a group to be returned, the maximum number of IDs is 30"
  3286              required: true
  3287          responses:
  3288            default:
  3289              description: "Success"
  3290              schema:
  3291                $ref: "#/definitions/GlipGroupInfo"
  3292          x-api-group: "Glip"
  3293          x-throttling-group: "Light"
  3294          x-metered-api: true
  3295          x-metering-group: "System"
  3296          x-app-permission: "Glip"
  3297          x-user-permission: "Glip"
  3298          x-access-level: "PublicBeta"
  3299      /restapi/v1.0/glip/groups/{groupId}/bulk-assign:
  3300        post:
  3301          tags:
  3302            - "Glip"
  3303          summary: "Edit Group Members"
  3304          operationId: "updateGroup"
  3305          description: "<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Updates group members. Please note: Only groups of 'Team' type can be updated. Currently only one operation at a time (either adding or removal) is supported.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  3306          consumes:
  3307            - "application/json"
  3308          produces:
  3309            - "application/json"
  3310          parameters:
  3311            -
  3312              name: "groupId"
  3313              type: "string"
  3314              in: "path"
  3315              description: "Internal identifier of a group to be edited"
  3316              required: true
  3317            -
  3318              name: "body"
  3319              in: "body"
  3320              description: "JSON body"
  3321              schema:
  3322                $ref: "#/definitions/EditGroupRequest"
  3323              required: true
  3324          responses:
  3325            default:
  3326              description: "Success"
  3327              schema:
  3328                $ref: "#/definitions/GlipGroupInfo"
  3329          x-api-group: "Glip"
  3330          x-throttling-group: "Medium"
  3331          x-metered-api: true
  3332          x-metering-group: "System"
  3333          x-app-permission: "Glip"
  3334          x-user-permission: "Glip"
  3335          x-access-level: "PublicBeta"
  3336      /restapi/v1.0/glip/persons/{personId}:
  3337        get:
  3338          tags:
  3339            - "Glip"
  3340          summary: "Get Person"
  3341          operationId: "loadPerson"
  3342          description: "<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns a user or few users by ID(s). Batch request is supported.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  3343          consumes:
  3344            - "application/json"
  3345          produces:
  3346            - "application/json"
  3347          parameters:
  3348            -
  3349              name: "personId"
  3350              type: "string"
  3351              in: "path"
  3352              description: "Internal identifier of a user to be returned, the maximum number of IDs is 30"
  3353              required: true
  3354          responses:
  3355            default:
  3356              description: "Success"
  3357              schema:
  3358                $ref: "#/definitions/GlipPersonInfo"
  3359          x-api-group: "Glip"
  3360          x-throttling-group: "Light"
  3361          x-metered-api: true
  3362          x-metering-group: "System"
  3363          x-app-permission: "Glip"
  3364          x-user-permission: "Glip"
  3365          x-access-level: "PublicBeta"
  3366      /restapi/v1.0/glip/groups/{groupId}/posts:
  3367        get:
  3368          tags:
  3369            - "Glip"
  3370          summary: "Get Posts"
  3371          operationId: "loadPosts"
  3372          description: "<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns list of posts.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  3373          consumes:
  3374            - "application/json"
  3375          produces:
  3376            - "application/json"
  3377          parameters:
  3378            -
  3379              name: "groupId"
  3380              type: "string"
  3381              in: "path"
  3382              description: "Identifier of a group to filter posts"
  3383              required: true
  3384            -
  3385              name: "pageToken"
  3386              type: "string"
  3387              in: "query"
  3388              description: "Token of a page to be returned, see Glip Navigation Info"
  3389              required: false
  3390            -
  3391              name: "recordCount"
  3392              type: "integer"
  3393              format: "int64"
  3394              in: "query"
  3395              description: "Max numbers of records to be returned. The default/maximum value is 250"
  3396              required: false
  3397          responses:
  3398            default:
  3399              description: "Success"
  3400              schema:
  3401                $ref: "#/definitions/GlipPosts"
  3402          x-api-group: "Glip"
  3403          x-throttling-group: "Light"
  3404          x-metered-api: true
  3405          x-metering-group: "System"
  3406          x-app-permission: "Glip"
  3407          x-user-permission: "Glip"
  3408          x-access-level: "PublicBeta"
  3409        post:
  3410          tags:
  3411            - "Glip"
  3412          summary: "Create Post"
  3413          operationId: "createPost"
  3414          description: "<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Creates a post.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  3415          consumes:
  3416            - "application/json"
  3417          produces:
  3418            - "application/json"
  3419          parameters:
  3420            -
  3421              name: "groupId"
  3422              type: "string"
  3423              in: "path"
  3424              description: "Id of a group to send post"
  3425              required: true
  3426            -
  3427              name: "body"
  3428              in: "body"
  3429              description: "JSON body"
  3430              schema:
  3431                $ref: "#/definitions/GlipCreatePost"
  3432              required: true
  3433          responses:
  3434            default:
  3435              description: "Success"
  3436              schema:
  3437                $ref: "#/definitions/GlipPostInfo"
  3438          x-api-group: "Glip"
  3439          x-throttling-group: "Light"
  3440          x-metered-api: true
  3441          x-metering-group: "System"
  3442          x-app-permission: "Glip"
  3443          x-user-permission: "Glip"
  3444          x-access-level: "PublicBeta"
  3445      /restapi/v1.0/glip/files:
  3446        post:
  3447          tags:
  3448            - "Glip"
  3449          summary: "Upload File"
  3450          operationId: "createGlipFile"
  3451          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Posts a file.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p>"
  3452          consumes:
  3453            - "multipart/form-data"
  3454          produces:
  3455            - "application/json"
  3456          parameters:
  3457            -
  3458              name: "groupId"
  3459              type: "string"
  3460              in: "query"
  3461              description: "Internal identifier of a group the post with file attached will be added to"
  3462              required: false
  3463            -
  3464              name: "body"
  3465              in: "formData"
  3466              type: "file"
  3467              required: true
  3468              description: "The file to upload"
  3469            -
  3470              name: "name"
  3471              type: "string"
  3472              in: "formData"
  3473              description: "Name of a file attached"
  3474              required: false
  3475          responses:
  3476            default:
  3477              description: "Success"
  3478              schema:
  3479                $ref: "#/definitions/PostGlipFile"
  3480          x-api-group: "Glip"
  3481          x-throttling-group: "Heavy"
  3482          x-metered-api: true
  3483          x-metering-group: "System"
  3484          x-app-permission: "Glip"
  3485          x-user-permission: "Glip"
  3486          x-access-level: "PublicBeta"
  3487      /restapi/v1.0/glip/files/{fileId}:
  3488        get:
  3489          tags:
  3490            - "Glip"
  3491          summary: "Get File Info"
  3492          operationId: "loadGlipFile"
  3493          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns a file.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  3494          consumes:
  3495            - "application/json"
  3496          produces:
  3497            - "application/json"
  3498          parameters:
  3499            -
  3500              name: "fileId"
  3501              type: "string"
  3502              in: "path"
  3503              description: "Internal identifier of file."
  3504              required: true
  3505          responses:
  3506            default:
  3507              description: "Success"
  3508              schema:
  3509                $ref: "#/definitions/PostGlipFile"
  3510          x-api-group: "Glip"
  3511          x-throttling-group: "Medium"
  3512          x-metered-api: true
  3513          x-metering-group: "System"
  3514          x-app-permission: "Glip"
  3515          x-user-permission: "Glip"
  3516          x-access-level: "PublicBeta"
  3517      /restapi/v1.0/glip/profile:
  3518        get:
  3519          tags:
  3520            - "Glip"
  3521          summary: "Glip Unread Message Count"
  3522          operationId: "loadUnreadMessageCount"
  3523          description: "<p style='font-style:italic;'>Since 1.0.30 (Release 9.1)</p><p>Returns Glip unread message count.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  3524          consumes:
  3525            - "application/json"
  3526          produces:
  3527            - "application/json"
  3528          parameters:
  3529            -
  3530              name: "fields"
  3531              type: "string"
  3532              in: "query"
  3533              description: "List of attributes to be returned. To return unread message count 'unreadPostsCount' and 'tooManyUnreadPosts' should be specified"
  3534              required: false
  3535          responses:
  3536            default:
  3537              description: "Success"
  3538              schema:
  3539                $ref: "#/definitions/GlipUnreadMessageCount"
  3540          x-api-group: "Glip"
  3541          x-throttling-group: "Medium"
  3542          x-metered-api: true
  3543          x-metering-group: "System"
  3544          x-app-permission: "Glip"
  3545          x-user-permission: "Glip"
  3546          x-access-level: "PublicBeta"
  3547      /restapi/v1.0/account/{accountId}/extension/{extensionId}/meeting:
  3548        get:
  3549          tags:
  3550            - "Meetings"
  3551          summary: "Get Scheduled Meetings"
  3552          operationId: "getLiveMeetings"
  3553          consumes:
  3554            - "application/json"
  3555          produces:
  3556            - "application/json"
  3557          parameters:
  3558            -
  3559              name: "accountId"
  3560              in: "path"
  3561              required: true
  3562              type: "string"
  3563            -
  3564              name: "extensionId"
  3565              in: "path"
  3566              required: true
  3567              type: "string"
  3568          responses:
  3569            default:
  3570              description: "successful operation"
  3571              schema:
  3572                $ref: "#/definitions/MeetingsResource"
  3573          x-api-group: "extension/meeting"
  3574          x-throttling-group: "Light"
  3575          x-metered-api: true
  3576          x-metering-group: "System"
  3577          x-user-permission: "Meetings"
  3578          x-app-permission: "Meetings"
  3579          x-access-level: "PublicBeta"
  3580        post:
  3581          tags:
  3582            - "Meetings"
  3583          summary: "Create Meetings"
  3584          operationId: "createMeeting"
  3585          consumes:
  3586            - "application/json"
  3587          produces:
  3588            - "application/json"
  3589          parameters:
  3590            -
  3591              name: "accountId"
  3592              in: "path"
  3593              required: true
  3594              type: "string"
  3595            -
  3596              name: "extensionId"
  3597              in: "path"
  3598              required: true
  3599              type: "string"
  3600            -
  3601              in: "body"
  3602              name: "body"
  3603              required: true
  3604              schema:
  3605                $ref: "#/definitions/MeetingRequestResource"
  3606          responses:
  3607            default:
  3608              description: "successful operation"
  3609              schema:
  3610                $ref: "#/definitions/MeetingResponseResource"
  3611          x-api-group: "extension/meeting"
  3612          x-throttling-group: "Medium"
  3613          x-metered-api: true
  3614          x-metering-group: "System"
  3615          x-user-permission: "Meetings"
  3616          x-app-permission: "Meetings"
  3617          x-access-level: "PublicBeta"
  3618      /restapi/v1.0/account/{accountId}/extension/{extensionId}/meeting/{meetingId}:
  3619        get:
  3620          tags:
  3621            - "Meetings"
  3622          summary: "Get Meeting Info"
  3623          operationId: "getMeetingDetails"
  3624          consumes:
  3625            - "application/json"
  3626          produces:
  3627            - "application/json"
  3628          parameters:
  3629            -
  3630              name: "accountId"
  3631              in: "path"
  3632              required: true
  3633              type: "string"
  3634            -
  3635              name: "extensionId"
  3636              in: "path"
  3637              required: true
  3638              type: "string"
  3639            -
  3640              name: "meetingId"
  3641              in: "path"
  3642              required: true
  3643              type: "string"
  3644          responses:
  3645            default:
  3646              description: "successful operation"
  3647              schema:
  3648                $ref: "#/definitions/MeetingResponseResource"
  3649          x-api-group: "extension/meeting"
  3650          x-throttling-group: "Light"
  3651          x-metered-api: true
  3652          x-metering-group: "System"
  3653          x-app-permission: "Meetings"
  3654          x-user-permission: "Meetings"
  3655          x-access-level: "PublicBeta"
  3656        put:
  3657          tags:
  3658            - "Meetings"
  3659          summary: "Update Meeting"
  3660          operationId: "updateMeeting"
  3661          consumes:
  3662            - "application/json"
  3663          produces:
  3664            - "application/json"
  3665          parameters:
  3666            -
  3667              name: "accountId"
  3668              in: "path"
  3669              required: true
  3670              type: "string"
  3671            -
  3672              name: "extensionId"
  3673              in: "path"
  3674              required: true
  3675              type: "string"
  3676            -
  3677              name: "meetingId"
  3678              in: "path"
  3679              required: true
  3680              type: "string"
  3681            -
  3682              in: "body"
  3683              name: "body"
  3684              required: true
  3685              schema:
  3686                $ref: "#/definitions/MeetingRequestResource"
  3687          responses:
  3688            default:
  3689              description: "successful operation"
  3690              schema:
  3691                $ref: "#/definitions/MeetingResponseResource"
  3692          x-api-group: "extension/meeting"
  3693          x-throttling-group: "Medium"
  3694          x-metered-api: true
  3695          x-metering-group: "System"
  3696          x-app-permission: "Meetings"
  3697          x-user-permission: "Meetings"
  3698          x-access-level: "PublicBeta"
  3699        delete:
  3700          tags:
  3701            - "Meetings"
  3702          summary: "Delete Meeting"
  3703          operationId: "deleteMeeting"
  3704          consumes:
  3705            - "application/json"
  3706          produces:
  3707            - "application/json"
  3708          parameters:
  3709            -
  3710              name: "meetingId"
  3711              in: "path"
  3712              required: true
  3713              type: "string"
  3714            -
  3715              name: "extensionId"
  3716              in: "path"
  3717              required: true
  3718              type: "string"
  3719            -
  3720              name: "accountId"
  3721              in: "path"
  3722              required: true
  3723              type: "string"
  3724          responses:
  3725            default:
  3726              description: "successful operation"
  3727          x-api-group: "extension/meeting"
  3728          x-throttling-group: "Medium"
  3729          x-metered-api: true
  3730          x-metering-group: "System"
  3731          x-app-permission: "Meetings"
  3732          x-user-permission: "Meetings"
  3733          x-access-level: "PublicBeta"
  3734      /restapi/v1.0/account/{accountId}/extension/{extensionId}/meeting/{meetingId}/end:
  3735        post:
  3736          tags:
  3737            - "Meetings"
  3738          summary: "End Meeting"
  3739          operationId: "endMeeting"
  3740          consumes:
  3741            - "application/json"
  3742          produces:
  3743            - "application/json"
  3744          parameters:
  3745            -
  3746              name: "meetingId"
  3747              in: "path"
  3748              required: true
  3749              type: "string"
  3750            -
  3751              name: "extensionId"
  3752              in: "path"
  3753              required: true
  3754              type: "string"
  3755            -
  3756              name: "accountId"
  3757              in: "path"
  3758              required: true
  3759              type: "string"
  3760          responses:
  3761            default:
  3762              description: "successful operation"
  3763          x-api-group: "extension/meeting/end"
  3764          x-throttling-group: "Medium"
  3765          x-metered-api: true
  3766          x-metering-group: "System"
  3767          x-app-permission: "Meetings"
  3768          x-user-permission: "Meetings"
  3769          x-access-level: "PublicBeta"
  3770      /restapi/v1.0/account/{accountId}/extension/{extensionId}/meeting/service-info:
  3771        get:
  3772          tags:
  3773            - "Meetings"
  3774          summary: "Get Meeting Service Info"
  3775          operationId: "getMeetingServiceInfo"
  3776          consumes:
  3777            - "application/json"
  3778          produces:
  3779            - "application/json"
  3780          parameters:
  3781            -
  3782              name: "extensionId"
  3783              in: "path"
  3784              required: true
  3785              type: "string"
  3786            -
  3787              name: "accountId"
  3788              in: "path"
  3789              required: true
  3790              type: "string"
  3791          responses:
  3792            default:
  3793              description: "successful operation"
  3794              schema:
  3795                $ref: "#/definitions/MeetingServiceInfoResource"
  3796          x-api-group: "extension/meeting/service-info"
  3797          x-throttling-group: "Light"
  3798          x-metered-api: true
  3799          x-metering-group: "System"
  3800          x-app-permission: "Meetings"
  3801          x-user-permission: "Meetings"
  3802          x-access-level: "PublicBeta"
  3803      /restapi/v1.0/subscription:
  3804        get:
  3805          tags:
  3806            - "Push Notifications"
  3807          summary: "Get Subscriptions"
  3808          operationId: "getSubscriptions"
  3809          consumes:
  3810            - "application/json"
  3811          produces:
  3812            - "application/json"
  3813          parameters: []
  3814          responses:
  3815            default:
  3816              description: "successful operation"
  3817              schema:
  3818                $ref: "#/definitions/RecordsCollectionResourceSubscriptionResponse"
  3819          x-api-group: "subscription"
  3820          x-throttling-group: "Light"
  3821          x-metered-api: true
  3822          x-metering-group: "System"
  3823          x-access-level: "Public"
  3824        post:
  3825          tags:
  3826            - "Push Notifications"
  3827          summary: "Create Subscription"
  3828          description: "<p style='font-style:italic;'>Since 1.0.6 (Release 5.15)</p><p>Creates a new subscription.</p><h4>Usage Plan Group</h4><p>Medium</p>"
  3829          operationId: "createSubscription"
  3830          consumes:
  3831            - "application/json"
  3832          produces:
  3833            - "application/json"
  3834          parameters:
  3835            -
  3836              in: "body"
  3837              name: "body"
  3838              description: "JSON body"
  3839              required: true
  3840              schema:
  3841                $ref: "#/definitions/CreateSubscriptionRequest"
  3842          responses:
  3843            default:
  3844              description: "Success"
  3845              schema:
  3846                $ref: "#/definitions/SubscriptionInfo"
  3847          x-api-group: "subscription"
  3848          x-throttling-group: "Medium"
  3849          x-metered-api: true
  3850          x-metering-group: "System"
  3851          x-access-level: "Public"
  3852      /restapi/v1.0/subscription/{subscriptionId}:
  3853        get:
  3854          tags:
  3855            - "Push Notifications"
  3856          summary: "Get Subscription"
  3857          description: "<p style='font-style:italic;'>Since 1.0.6 (Release 5.15)</p><p>Returns the requested subscription.</p><h4>Usage Plan Group</h4><p>Light</p>"
  3858          operationId: "loadSubscription"
  3859          consumes:
  3860            - "application/json"
  3861          produces:
  3862            - "application/json"
  3863          parameters:
  3864            -
  3865              name: "subscriptionId"
  3866              in: "path"
  3867              description: "Internal identifier of a subscription"
  3868              required: true
  3869              type: "integer"
  3870          responses:
  3871            default:
  3872              description: "Success"
  3873              schema:
  3874                $ref: "#/definitions/SubscriptionInfo"
  3875          x-api-group: "subscription"
  3876          x-throttling-group: "Light"
  3877          x-metered-api: true
  3878          x-metering-group: "System"
  3879          x-access-level: "Public"
  3880        put:
  3881          tags:
  3882            - "Push Notifications"
  3883          summary: "Renew Subscription / Update Event Filters"
  3884          description: "<p style='font-style:italic;'>Since 1.0.6 (Release 5.15)</p><p>Renews the existent subscription if the request body is empty. If event filters are specified, calling this method modifies the event filters for the existing subscription. The client application can extend or narrow the events for which it receives notifications in the frame of one subscription.</p><h4>Usage Plan Group</h4><p>Medium</p>"
  3885          operationId: "updateSubscription"
  3886          consumes:
  3887            - "application/json"
  3888          produces:
  3889            - "application/json"
  3890          parameters:
  3891            -
  3892              name: "subscriptionId"
  3893              in: "path"
  3894              description: "Internal identifier of a subscription"
  3895              required: true
  3896              type: "string"
  3897            -
  3898              name: "aggregated"
  3899              in: "query"
  3900              description: "If 'True' then aggregated presence status is returned in a notification payload"
  3901              required: false
  3902              type: "boolean"
  3903            -
  3904              in: "body"
  3905              name: "body"
  3906              description: "JSON body"
  3907              required: true
  3908              schema:
  3909                $ref: "#/definitions/ModifySubscriptionRequest"
  3910          responses:
  3911            default:
  3912              description: "Success"
  3913              schema:
  3914                $ref: "#/definitions/SubscriptionInfo"
  3915          x-api-group: "subscription"
  3916          x-throttling-group: "Medium"
  3917          x-metered-api: true
  3918          x-metering-group: "System"
  3919          x-access-level: "Public"
  3920        delete:
  3921          tags:
  3922            - "Push Notifications"
  3923          summary: "Cancel Subscription"
  3924          description: "<p style='font-style:italic;'></p><p>Cancels the existent subscription.</p><h4>Usage Plan Group</h4><p>Medium</p>"
  3925          operationId: "deleteSubscription"
  3926          consumes:
  3927            - "application/json"
  3928          produces:
  3929            - "application/json"
  3930          parameters:
  3931            -
  3932              name: "subscriptionId"
  3933              in: "path"
  3934              description: "Internal identifier of a subscription"
  3935              required: true
  3936              type: "string"
  3937          responses:
  3938            default:
  3939              description: "Success"
  3940          x-api-group: "subscription"
  3941          x-throttling-group: "Medium"
  3942          x-metered-api: true
  3943          x-metering-group: "System"
  3944          x-access-level: "Public"
  3945      /restapi/v1.0/subscription/{subscriptionId}/renew:
  3946        post:
  3947          tags:
  3948            - "Push Notifications"
  3949          summary: "Renew Subscription"
  3950          description: "<p style='font-style:italic;'>Since 1.0.26 (Release 8.12)</p><p>Renews an existent subscription by ID by posting request with an empty body..</p><h4>Usage Plan Group</h4><p>Medium</p>"
  3951          operationId: "renewSubscription"
  3952          consumes:
  3953            - "application/json"
  3954          produces:
  3955            - "application/json"
  3956          parameters:
  3957            -
  3958              name: "subscriptionId"
  3959              in: "path"
  3960              required: true
  3961              type: "string"
  3962          responses:
  3963            default:
  3964              description: "successful operation"
  3965              schema:
  3966                $ref: "#/definitions/SubscriptionInfo"
  3967          x-api-group: "subscription"
  3968          x-throttling-group: "Light"
  3969          x-metered-api: true
  3970          x-metering-group: "System"
  3971          x-app-permission: "webhook_subscription"
  3972          x-access-level: "Public"
  3973      /restapi/v1.0/account/{accountId}/extension/{extensionId}/authz-profile:
  3974        get:
  3975          tags:
  3976            - "Roles and Permissions"
  3977          summary: "Get User Permissions"
  3978          operationId: "getProfile"
  3979          consumes:
  3980            - "application/json"
  3981          produces:
  3982            - "application/json"
  3983          parameters:
  3984            -
  3985              name: "extensionId"
  3986              in: "path"
  3987              required: true
  3988              type: "string"
  3989            -
  3990              name: "accountId"
  3991              in: "path"
  3992              required: true
  3993              type: "string"
  3994          responses:
  3995            default:
  3996              description: "successful operation"
  3997              schema:
  3998                $ref: "#/definitions/AuthProfileResource"
  3999          x-api-group: "extension/authz-profile"
  4000          x-throttling-group: "Medium"
  4001          x-metered-api: true
  4002          x-metering-group: "System"
  4003          x-access-level: "Public"
  4004      /restapi/v1.0/account/{accountId}/extension/{extensionId}/authz-profile/check:
  4005        get:
  4006          tags:
  4007            - "Roles and Permissions"
  4008          summary: "Check User Permissions"
  4009          operationId: "checkPermission"
  4010          consumes:
  4011            - "application/json"
  4012          produces:
  4013            - "application/json"
  4014          parameters:
  4015            -
  4016              name: "permissionId"
  4017              in: "query"
  4018              required: false
  4019              type: "string"
  4020            -
  4021              name: "targetExtensionId"
  4022              in: "query"
  4023              required: false
  4024              type: "string"
  4025            -
  4026              name: "extensionId"
  4027              in: "path"
  4028              required: true
  4029              type: "string"
  4030            -
  4031              name: "accountId"
  4032              in: "path"
  4033              required: true
  4034              type: "string"
  4035          responses:
  4036            default:
  4037              description: "successful operation"
  4038              schema:
  4039                $ref: "#/definitions/AuthProfileCheckResource"
  4040          x-api-group: "extension/authz-profile/check"
  4041          x-throttling-group: "Light"
  4042          x-metered-api: true
  4043          x-metering-group: "System"
  4044          x-access-level: "Public"
  4045      /restapi/v1.0/account/{accountId}/user-role/default:
  4046        get:
  4047          tags:
  4048            - "Roles and Permissions"
  4049          summary: "Get Default User Role"
  4050          operationId: "loadUserRole"
  4051          description: "<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns account default user role.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RoleManagement</td><td>Editing and assignment of user roles</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  4052          consumes:
  4053            - "application/json"
  4054          produces:
  4055            - "application/json"
  4056          parameters:
  4057            -
  4058              name: "accountId"
  4059              type: "string"
  4060              in: "path"
  4061              description: "Internal identifier of an account"
  4062              required: true
  4063              default: "~"
  4064          responses:
  4065            default:
  4066              description: "Success"
  4067          x-api-group: "account/user-role/default"
  4068          x-throttling-group: "Light"
  4069          x-metered-api: true
  4070          x-metering-group: "System"
  4071          x-app-permission: "RoleManagement"
  4072          x-user-permission: "Roles"
  4073          x-access-level: "Internal"
  4074        put:
  4075          tags:
  4076            - "Roles and Permissions"
  4077          summary: "Set Default User Role"
  4078          operationId: "updateUserRole"
  4079          description: "<p style='font-style:italic;'>Since 1.0.30 (Release 9.1)</p><p>Updates account default user role.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RoleManagement</td><td>Editing and assignment of user roles</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  4080          consumes:
  4081            - "application/json"
  4082          produces:
  4083            - "application/json"
  4084          parameters:
  4085            -
  4086              name: "accountId"
  4087              type: "string"
  4088              in: "path"
  4089              description: "Internal identifier of an account"
  4090              required: true
  4091              default: "~"
  4092            -
  4093              name: "body"
  4094              in: "body"
  4095              description: "JSON body"
  4096              schema:
  4097                $ref: "#/definitions/DefaultUserRoleRequest"
  4098              required: true
  4099          responses:
  4100            default:
  4101              description: "Success"
  4102          x-api-group: "account/user-role/default"
  4103          x-throttling-group: "Medium"
  4104          x-metered-api: true
  4105          x-metering-group: "System"
  4106          x-app-permission: "RoleManagement"
  4107          x-user-permission: "Roles"
  4108          x-access-level: "Internal"
  4109      /restapi/v1.0/dictionary/user-role:
  4110        get:
  4111          tags:
  4112            - "Roles and Permissions"
  4113          summary: "Get Standard User Roles"
  4114          operationId: "listSystemRoles"
  4115          consumes:
  4116            - "application/json"
  4117          produces:
  4118            - "application/json"
  4119          parameters:
  4120            -
  4121              name: "page"
  4122              in: "query"
  4123              required: false
  4124              type: "string"
  4125              default: "1"
  4126            -
  4127              name: "perPage"
  4128              in: "query"
  4129              required: false
  4130              type: "string"
  4131              default: "100"
  4132            -
  4133              name: "servicePlanId"
  4134              in: "query"
  4135              required: false
  4136              type: "string"
  4137          responses:
  4138            default:
  4139              description: "successful operation"
  4140              schema:
  4141                $ref: "#/definitions/RolesCollectionResource"
  4142          x-api-group: "dictionary/user-role"
  4143          x-throttling-group: "Light"
  4144          x-metered-api: true
  4145          x-metering-group: "System"
  4146          x-access-level: "Internal"
  4147      /restapi/v1.0/dictionary/user-role/{roleId}:
  4148        get:
  4149          tags:
  4150            - "Roles and Permissions"
  4151          summary: "Get User Role"
  4152          operationId: "getSystemRole"
  4153          consumes:
  4154            - "application/json"
  4155          produces:
  4156            - "application/json"
  4157          parameters:
  4158            -
  4159              name: "roleId"
  4160              in: "path"
  4161              required: true
  4162              type: "string"
  4163          responses:
  4164            default:
  4165              description: "successful operation"
  4166              schema:
  4167                $ref: "#/definitions/RoleResource"
  4168          x-api-group: "dictionary/user-role"
  4169          x-throttling-group: "Light"
  4170          x-metered-api: true
  4171          x-metering-group: "System"
  4172          x-access-level: "Internal"
  4173      /restapi/v1.0/dictionary/permission:
  4174        get:
  4175          tags:
  4176            - "Roles and Permissions"
  4177          summary: "Get Permissions"
  4178          operationId: "listPermissions"
  4179          consumes:
  4180            - "application/json"
  4181          produces:
  4182            - "application/json"
  4183          parameters:
  4184            -
  4185              name: "page"
  4186              in: "query"
  4187              required: false
  4188              type: "string"
  4189              default: "1"
  4190            -
  4191              name: "perPage"
  4192              in: "query"
  4193              required: false
  4194              type: "string"
  4195              default: "100"
  4196            -
  4197              name: "assignable"
  4198              in: "query"
  4199              required: false
  4200              type: "boolean"
  4201            -
  4202              name: "servicePlanId"
  4203              in: "query"
  4204              required: false
  4205              type: "string"
  4206          responses:
  4207            default:
  4208              description: "successful operation"
  4209              schema:
  4210                $ref: "#/definitions/PermissionCollectionResource"
  4211          x-api-group: "dictionary/permission"
  4212          x-throttling-group: "Light"
  4213          x-metered-api: true
  4214          x-metering-group: "System"
  4215          x-access-level: "Internal"
  4216      /restapi/v1.0/dictionary/permission/{permissionId}:
  4217        get:
  4218          tags:
  4219            - "Roles and Permissions"
  4220          summary: "Get Permission Info"
  4221          operationId: "getPermission"
  4222          consumes:
  4223            - "application/json"
  4224          produces:
  4225            - "application/json"
  4226          parameters:
  4227            -
  4228              name: "permissionId"
  4229              in: "path"
  4230              required: true
  4231              type: "string"
  4232          responses:
  4233            default:
  4234              description: "successful operation"
  4235              schema:
  4236                $ref: "#/definitions/PermissionResource"
  4237          x-api-group: "dictionary/permission"
  4238          x-throttling-group: "Light"
  4239          x-metered-api: true
  4240          x-metering-group: "System"
  4241          x-access-level: "Internal"
  4242      /restapi/v1.0/dictionary/permission-category:
  4243        get:
  4244          tags:
  4245            - "Roles and Permissions"
  4246          summary: "Get Permissions Categories"
  4247          operationId: "listPermissionCategories"
  4248          consumes:
  4249            - "application/json"
  4250          produces:
  4251            - "application/json"
  4252          parameters:
  4253            -
  4254              name: "page"
  4255              in: "query"
  4256              required: false
  4257              type: "string"
  4258              default: "1"
  4259            -
  4260              name: "perPage"
  4261              in: "query"
  4262              required: false
  4263              type: "string"
  4264              default: "100"
  4265            -
  4266              name: "servicePlanId"
  4267              in: "query"
  4268              required: false
  4269              type: "string"
  4270          responses:
  4271            default:
  4272              description: "successful operation"
  4273              schema:
  4274                $ref: "#/definitions/PermissionCategoryCollectionResource"
  4275          x-api-group: "dictionary/permission-category"
  4276          x-throttling-group: "Light"
  4277          x-metered-api: true
  4278          x-metering-group: "System"
  4279          x-access-level: "Internal"
  4280      /restapi/v1.0/dictionary/permission-category/{permissionCategoryId}:
  4281        get:
  4282          tags:
  4283            - "Roles and Permissions"
  4284          summary: "Get Permission Category"
  4285          operationId: "getPermissionCategory"
  4286          consumes:
  4287            - "application/json"
  4288          produces:
  4289            - "application/json"
  4290          parameters:
  4291            -
  4292              name: "permissionCategoryId"
  4293              in: "path"
  4294              required: true
  4295              type: "string"
  4296          responses:
  4297            default:
  4298              description: "successful operation"
  4299              schema:
  4300                $ref: "#/definitions/PermissionCategoryResource"
  4301          x-api-group: "dictionary/permission-category"
  4302          x-throttling-group: "Light"
  4303          x-metered-api: true
  4304          x-metering-group: "System"
  4305          x-access-level: "Internal"
  4306      /restapi/v1.0/account/{accountId}/extension/{extensionId}/forwarding-number:
  4307        get:
  4308          tags:
  4309            - "Call Handling Settings"
  4310          summary: "Get Forwarding Numbers"
  4311          description: "<p style='font-style:italic;'>Since 1.0.7 (Release 5.16)</p><p>Returns the list of extension phone numbers used for call forwarding and call flip. The returned list contains all the extension phone numbers that are used for call forwarding and call flip.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  4312          operationId: "listExtensionForwardingNumbers"
  4313          consumes:
  4314            - "application/json"
  4315          produces:
  4316            - "application/json"
  4317          parameters:
  4318            -
  4319              name: "accountId"
  4320              in: "path"
  4321              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4322              required: true
  4323              type: "string"
  4324              default: "~"
  4325            -
  4326              name: "extensionId"
  4327              in: "path"
  4328              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4329              required: true
  4330              type: "string"
  4331              default: "~"
  4332            -
  4333              name: "page"
  4334              in: "query"
  4335              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  4336              required: false
  4337              type: "integer"
  4338            -
  4339              name: "perPage"
  4340              in: "query"
  4341              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  4342              required: false
  4343              type: "integer"
  4344          responses:
  4345            default:
  4346              description: "Success"
  4347              schema:
  4348                $ref: "#/definitions/GetExtensionForwardingNumberListResponse"
  4349          x-api-group: "extension/forwarding-number"
  4350          x-throttling-group: "Light"
  4351          x-metered-api: true
  4352          x-metering-group: "System"
  4353          x-app-permission: "ReadAccounts"
  4354          x-user-permission: "ReadUserForwardingFlipNumbers"
  4355          x-access-level: "Public"
  4356        post:
  4357          tags:
  4358            - "Call Handling Settings"
  4359          summary: "Create Forwarding Numbers"
  4360          description: "<p style='font-style:italic;'>Since 1.0.12 (Release 6.4)</p><p>Adds a new forwarding number to the forwarding number list.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  4361          operationId: "createExtensionForwardingNumber"
  4362          consumes:
  4363            - "application/json"
  4364          produces:
  4365            - "application/json"
  4366          parameters:
  4367            -
  4368              name: "accountId"
  4369              in: "path"
  4370              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4371              required: true
  4372              type: "string"
  4373              default: "~"
  4374            -
  4375              name: "extensionId"
  4376              in: "path"
  4377              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4378              required: true
  4379              type: "string"
  4380              default: "~"
  4381            -
  4382              in: "body"
  4383              name: "body"
  4384              description: "JSON body"
  4385              required: true
  4386              schema:
  4387                $ref: "#/definitions/CreateForwardingNumberRequest"
  4388          responses:
  4389            default:
  4390              description: "Success"
  4391              schema:
  4392                $ref: "#/definitions/ForwardingNumberInfo"
  4393          x-api-group: "extension/forwarding-number"
  4394          x-throttling-group: "Medium"
  4395          x-metered-api: true
  4396          x-metering-group: "System"
  4397          x-app-permission: "EditExtensions"
  4398          x-user-permission: "EditUserForwardingFlipNumbers"
  4399          x-access-level: "Public"
  4400      /restapi/v1.0/account/{accountId}/extension/{extensionId}/forwarding-number/{forwardingNumberId}:
  4401        get:
  4402          tags:
  4403            - "Call Handling Settings"
  4404          summary: "Get Forwarding Number"
  4405          operationId: "getForwardingNumber"
  4406          consumes:
  4407            - "application/json"
  4408          produces:
  4409            - "application/json"
  4410          parameters:
  4411            -
  4412              name: "forwardingNumberId"
  4413              in: "path"
  4414              required: true
  4415              type: "string"
  4416            -
  4417              name: "extensionId"
  4418              in: "path"
  4419              required: true
  4420              type: "string"
  4421            -
  4422              name: "accountId"
  4423              in: "path"
  4424              required: true
  4425              type: "string"
  4426          responses:
  4427            default:
  4428              description: "successful operation"
  4429              schema:
  4430                $ref: "#/definitions/ForwardingNumberResource"
  4431          x-api-group: "extension/forwarding-number"
  4432          x-throttling-group: "Light"
  4433          x-metered-api: true
  4434          x-metering-group: "System"
  4435          x-app-permission: "ReadAccounts"
  4436          x-user-permission: "ReadUserForwardingFlipNumbers"
  4437          x-access-level: "Public"
  4438        put:
  4439          tags:
  4440            - "Call Handling Settings"
  4441          summary: "Update Forwarding Numbers"
  4442          description: "<p style='font-style:italic;'>Since 1.0.24 (Release 8.0)</p><p>Updates an existent forwarding number from the forwarding number list.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  4443          operationId: "updateExtensionForwardingNumber"
  4444          consumes:
  4445            - "application/json"
  4446          produces:
  4447            - "application/json"
  4448          parameters:
  4449            -
  4450              name: "accountId"
  4451              in: "path"
  4452              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4453              required: true
  4454              type: "string"
  4455              default: "~"
  4456            -
  4457              name: "extensionId"
  4458              in: "path"
  4459              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4460              required: true
  4461              type: "string"
  4462              default: "~"
  4463            -
  4464              name: "forwardingNumberId"
  4465              in: "path"
  4466              description: "Internal identifier of a forwarding number; returned in response in the id field"
  4467              required: true
  4468              type: "string"
  4469            -
  4470              in: "body"
  4471              name: "body"
  4472              description: "JSON body"
  4473              required: true
  4474              schema:
  4475                $ref: "#/definitions/UpdateForwardingNumberRequest"
  4476          responses:
  4477            default:
  4478              description: "Success"
  4479              schema:
  4480                $ref: "#/definitions/ForwardingNumberInfo"
  4481          x-api-group: "extension/forwarding-number"
  4482          x-throttling-group: "Medium"
  4483          x-metered-api: true
  4484          x-metering-group: "System"
  4485          x-app-permission: "EditExtensions"
  4486          x-user-permission: "EditUserForwardingFlipNumbers"
  4487          x-access-level: "Public"
  4488        delete:
  4489          tags:
  4490            - "Call Handling Settings"
  4491          summary: "Delete Forwarding Number"
  4492          description: "<p style='font-style:italic;'>Since 1.0.24 (Release 8.0)</p><p>Deletes a forwarding number from the forwarding number list by its ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  4493          operationId: "deleteExtensionForwardingNumber"
  4494          consumes:
  4495            - "application/json"
  4496          produces:
  4497            - "application/json"
  4498          parameters:
  4499            -
  4500              name: "accountId"
  4501              in: "path"
  4502              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4503              required: true
  4504              type: "string"
  4505              default: "~"
  4506            -
  4507              name: "extensionId"
  4508              in: "path"
  4509              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4510              required: true
  4511              type: "string"
  4512              default: "~"
  4513            -
  4514              name: "forwardingNumberId"
  4515              in: "path"
  4516              description: "Internal identifier of a forwarding number"
  4517              required: true
  4518              type: "string"
  4519          responses:
  4520            default:
  4521              description: "Success"
  4522          x-api-group: "extension/forwarding-number"
  4523          x-throttling-group: "Medium"
  4524          x-metered-api: true
  4525          x-metering-group: "System"
  4526          x-app-permission: "EditExtensions"
  4527          x-user-permission: "EditUserForwardingFlipNumbers"
  4528          x-access-level: "Public"
  4529      /restapi/v1.0/account/{accountId}/extension/{extensionId}/blocked-number:
  4530        get:
  4531          tags:
  4532            - "Call Handling Settings"
  4533          summary: "Get Blocked Numbers"
  4534          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  4535          operationId: "listBlockedNumbers"
  4536          consumes:
  4537            - "application/json"
  4538          produces:
  4539            - "application/json"
  4540          parameters:
  4541            -
  4542              name: "accountId"
  4543              in: "path"
  4544              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4545              required: true
  4546              type: "string"
  4547              default: "~"
  4548            -
  4549              name: "extensionId"
  4550              in: "path"
  4551              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4552              required: true
  4553              type: "string"
  4554              default: "~"
  4555          responses:
  4556            default:
  4557              description: "Success"
  4558              schema:
  4559                $ref: "#/definitions/BlockedNumbersList"
  4560          x-api-group: "extension/blocked-number"
  4561          x-throttling-group: "Light"
  4562          x-metered-api: true
  4563          x-metering-group: "System"
  4564          x-app-permission: "ReadAccounts"
  4565          x-user-permission: "ReadBlockedNumbers"
  4566          x-access-level: "Advanced"
  4567        post:
  4568          tags:
  4569            - "Call Handling Settings"
  4570          summary: "Add Blocked Numbers"
  4571          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  4572          operationId: "blockNumber"
  4573          consumes:
  4574            - "application/json"
  4575          produces:
  4576            - "application/json"
  4577          parameters:
  4578            -
  4579              name: "accountId"
  4580              in: "path"
  4581              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4582              required: true
  4583              type: "string"
  4584              default: "~"
  4585            -
  4586              name: "extensionId"
  4587              in: "path"
  4588              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4589              required: true
  4590              type: "string"
  4591              default: "~"
  4592            -
  4593              in: "body"
  4594              name: "body"
  4595              required: false
  4596              schema:
  4597                $ref: "#/definitions/BlockedNumberInfo"
  4598          responses:
  4599            default:
  4600              description: "Success"
  4601              schema:
  4602                $ref: "#/definitions/BlockedNumberInfo"
  4603          x-api-group: "extension/blocked-number"
  4604          x-throttling-group: "Medium"
  4605          x-metered-api: true
  4606          x-metering-group: "System"
  4607          x-app-permission: "EditExtensions"
  4608          x-user-permission: "EditBlockedNumbers"
  4609          x-access-level: "Advanced"
  4610      /restapi/v1.0/account/{accountId}/extension/{extensionId}/blocked-number/{blockedNumberId}:
  4611        get:
  4612          tags:
  4613            - "Call Handling Settings"
  4614          summary: "Get Blocked Number"
  4615          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  4616          operationId: "loadBlockedNumber"
  4617          consumes:
  4618            - "application/json"
  4619          produces:
  4620            - "application/json"
  4621          parameters:
  4622            -
  4623              name: "accountId"
  4624              in: "path"
  4625              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4626              required: true
  4627              type: "string"
  4628              default: "~"
  4629            -
  4630              name: "extensionId"
  4631              in: "path"
  4632              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4633              required: true
  4634              type: "string"
  4635              default: "~"
  4636            -
  4637              name: "blockedNumberId"
  4638              in: "path"
  4639              description: "Internal identifiers of a blocked number list entry"
  4640              required: true
  4641              type: "integer"
  4642          responses:
  4643            default:
  4644              description: "Success"
  4645              schema:
  4646                $ref: "#/definitions/BlockedNumberInfo"
  4647          x-api-group: "extension/blocked-number"
  4648          x-throttling-group: "Light"
  4649          x-metered-api: true
  4650          x-metering-group: "System"
  4651          x-app-permission: "ReadAccounts"
  4652          x-user-permission: "ReadBlockedNumbers"
  4653          x-access-level: "Advanced"
  4654        put:
  4655          tags:
  4656            - "Call Handling Settings"
  4657          summary: "Update Blocked Number"
  4658          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  4659          operationId: "updateBlockedNumber"
  4660          consumes:
  4661            - "application/json"
  4662          produces:
  4663            - "application/json"
  4664          parameters:
  4665            -
  4666              name: "accountId"
  4667              in: "path"
  4668              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4669              required: true
  4670              type: "string"
  4671              default: "~"
  4672            -
  4673              name: "extensionId"
  4674              in: "path"
  4675              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4676              required: true
  4677              type: "string"
  4678              default: "~"
  4679            -
  4680              name: "blockedNumberId"
  4681              in: "path"
  4682              description: "Internal identifier of a blocked number list entry"
  4683              required: true
  4684              type: "integer"
  4685            -
  4686              in: "body"
  4687              name: "body"
  4688              required: false
  4689              schema:
  4690                $ref: "#/definitions/BlockedNumberInfo"
  4691          responses:
  4692            default:
  4693              description: "Success"
  4694              schema:
  4695                $ref: "#/definitions/BlockedNumberInfo"
  4696          x-api-group: "extension/blocked-number"
  4697          x-throttling-group: "Medium"
  4698          x-metered-api: true
  4699          x-metering-group: "System"
  4700          x-app-permission: "EditExtensions"
  4701          x-user-permission: "EditBlockedNumbers"
  4702          x-access-level: "Advanced"
  4703        delete:
  4704          tags:
  4705            - "Call Handling Settings"
  4706          summary: "Delete Blocked Number"
  4707          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  4708          operationId: "unblockNumber"
  4709          consumes:
  4710            - "application/json"
  4711          produces:
  4712            - "application/json"
  4713          parameters:
  4714            -
  4715              name: "accountId"
  4716              in: "path"
  4717              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4718              required: true
  4719              type: "string"
  4720              default: "~"
  4721            -
  4722              name: "extensionId"
  4723              in: "path"
  4724              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4725              required: true
  4726              type: "string"
  4727              default: "~"
  4728            -
  4729              name: "blockedNumberId"
  4730              in: "path"
  4731              description: "Internal identifiers of a blocked number list entry"
  4732              required: true
  4733              type: "integer"
  4734          responses:
  4735            default:
  4736              description: "Success"
  4737          x-api-group: "extension/blocked-number"
  4738          x-throttling-group: "Medium"
  4739          x-metered-api: true
  4740          x-metering-group: "System"
  4741          x-app-permission: "EditExtensions"
  4742          x-user-permission: "EditBlockedNumbers"
  4743          x-access-level: "Advanced"
  4744      /restapi/v1.0/account/{accountId}/extension/{extensionId}/business-hours:
  4745        get:
  4746          tags:
  4747            - "Call Handling Settings"
  4748          summary: "Get User Business Hours"
  4749          description: "<p style='font-style:italic;'>Since 1.0.15 (Release 7.0)</p><p>Returns the extension user hours when answering rules are to be applied.</p><h4>Usage Plan Group</h4><p>Light</p>"
  4750          operationId: "loadUserBusinessHours"
  4751          consumes:
  4752            - "application/json"
  4753          produces:
  4754            - "application/json"
  4755          parameters:
  4756            -
  4757              name: "accountId"
  4758              in: "path"
  4759              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4760              required: true
  4761              type: "string"
  4762              default: "~"
  4763            -
  4764              name: "extensionId"
  4765              in: "path"
  4766              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4767              required: true
  4768              type: "string"
  4769              default: "~"
  4770          responses:
  4771            default:
  4772              description: "Success"
  4773              schema:
  4774                $ref: "#/definitions/GetUserBusinessHoursResponse"
  4775          x-api-group: "extension/business-hours"
  4776          x-throttling-group: "Light"
  4777          x-metered-api: true
  4778          x-metering-group: "System"
  4779          x-app-permission: "ReadAccounts"
  4780          x-user-permission: "ReadExtensions"
  4781          x-access-level: "PublicBeta"
  4782        put:
  4783          tags:
  4784            - "Call Handling Settings"
  4785          summary: "Update User Business Hours"
  4786          operationId: "updateUserBusinessHours"
  4787          description: "<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Updates the extension user hours when answering rules are to be applied.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  4788          consumes:
  4789            - "application/json"
  4790          produces:
  4791            - "application/json"
  4792          parameters:
  4793            -
  4794              name: "accountId"
  4795              type: "string"
  4796              in: "path"
  4797              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4798              required: true
  4799              default: "~"
  4800            -
  4801              name: "extensionId"
  4802              type: "string"
  4803              in: "path"
  4804              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4805              required: true
  4806              default: "~"
  4807            -
  4808              name: "body"
  4809              in: "body"
  4810              description: "JSON body"
  4811              schema:
  4812                $ref: "#/definitions/UserBusinessHoursUpdateRequest"
  4813              required: true
  4814          responses:
  4815            default:
  4816              description: "Success"
  4817              schema:
  4818                $ref: "#/definitions/UserBusinessHoursUpdate"
  4819          x-api-group: "extension/business-hours"
  4820          x-throttling-group: "Medium"
  4821          x-metered-api: true
  4822          x-metering-group: "System"
  4823          x-app-permission: "EditExtensions"
  4824          x-user-permission: "EditUserAnsweringRules"
  4825          x-access-level: "PublicBeta"
  4826      /restapi/v1.0/account/{accountId}/extension/{extensionId}/answering-rule:
  4827        get:
  4828          tags:
  4829            - "Call Handling Settings"
  4830          summary: "Get Call Handling Rules"
  4831          description: "<p style='font-style:italic;'>Since 1.0.15 (Release 7.0)</p><p>Returns the extension answering rules.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  4832          operationId: "loadAnsweringRulesList"
  4833          consumes:
  4834            - "application/json"
  4835          produces:
  4836            - "application/json"
  4837          parameters:
  4838            -
  4839              name: "accountId"
  4840              in: "path"
  4841              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4842              required: true
  4843              type: "string"
  4844              default: "~"
  4845            -
  4846              name: "extensionId"
  4847              in: "path"
  4848              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4849              required: true
  4850              type: "string"
  4851              default: "~"
  4852            -
  4853              name: "page"
  4854              in: "query"
  4855              required: false
  4856              type: "string"
  4857              default: "1"
  4858            -
  4859              name: "perPage"
  4860              in: "query"
  4861              required: false
  4862              type: "string"
  4863              default: "100"
  4864          responses:
  4865            default:
  4866              description: "Success"
  4867          x-api-group: "extension/answering-rule"
  4868          x-throttling-group: "Medium"
  4869          x-metered-api: true
  4870          x-metering-group: "System"
  4871          x-app-permission: "ReadAccounts"
  4872          x-user-permission: "ReadUserAnsweringRules"
  4873          x-access-level: "PublicBeta"
  4874        post:
  4875          tags:
  4876            - "Call Handling Settings"
  4877          summary: "Create Custom Call Handling Rules"
  4878          description: "<p style='font-style:italic;'>Since 1.0.24 (Release 8.0)</p><p>Creates a custom answering rule for a particular caller ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  4879          operationId: "createAnsweringRuleInfo"
  4880          consumes:
  4881            - "application/json"
  4882          produces:
  4883            - "application/json"
  4884          parameters:
  4885            -
  4886              name: "accountId"
  4887              in: "path"
  4888              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4889              required: true
  4890              type: "string"
  4891              default: "~"
  4892            -
  4893              name: "extensionId"
  4894              in: "path"
  4895              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4896              required: true
  4897              type: "string"
  4898              default: "~"
  4899            -
  4900              in: "body"
  4901              name: "body"
  4902              description: "JSON body"
  4903              required: true
  4904              schema:
  4905                $ref: "#/definitions/CreateAnsweringRuleRequest"
  4906          responses:
  4907            default:
  4908              description: "Success"
  4909              schema:
  4910                $ref: "#/definitions/AnsweringRuleInfo"
  4911          x-api-group: "extension/answering-rule"
  4912          x-throttling-group: "Medium"
  4913          x-metered-api: true
  4914          x-metering-group: "System"
  4915          x-app-permission: "EditExtensions"
  4916          x-user-permission: "EditUserAnsweringRules"
  4917          x-access-level: "PublicBeta"
  4918      /restapi/v1.0/account/{accountId}/extension/{extensionId}/answering-rule/{ruleId}:
  4919        get:
  4920          tags:
  4921            - "Call Handling Settings"
  4922          summary: "Get Call Handling Rule"
  4923          description: "<p style='font-style:italic;'>Since 1.0.15 (Release 7.0)</p><p>Returns an answering rule by ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  4924          operationId: "loadAnsweringRuleInfo"
  4925          consumes:
  4926            - "application/json"
  4927          produces:
  4928            - "application/json"
  4929          parameters:
  4930            -
  4931              name: "accountId"
  4932              in: "path"
  4933              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4934              required: true
  4935              type: "string"
  4936              default: "~"
  4937            -
  4938              name: "extensionId"
  4939              in: "path"
  4940              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4941              required: true
  4942              type: "string"
  4943              default: "~"
  4944            -
  4945              name: "ruleId"
  4946              in: "path"
  4947              description: "Internal identifier of an answering rule. The value can be standard digital ID or specific ID - either business-hours-rule or after-hours-rule"
  4948              required: true
  4949              type: "string"
  4950          responses:
  4951            default:
  4952              description: "Success"
  4953              schema:
  4954                $ref: "#/definitions/AnsweringRuleInfo"
  4955          x-api-group: "extension/answering-rule"
  4956          x-throttling-group: "Light"
  4957          x-metered-api: true
  4958          x-metering-group: "System"
  4959          x-app-permission: "ReadAccounts"
  4960          x-user-permission: "ReadUserAnsweringRules"
  4961          x-access-level: "PublicBeta"
  4962        put:
  4963          tags:
  4964            - "Call Handling Settings"
  4965          summary: "Update Custom Call Handling Rule"
  4966          description: "<p style='font-style:italic;'>Since 1.0.24 (Release 8.0)</p><p>Updates a custom answering rule for a particular caller ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  4967          operationId: "updateAnsweringRuleInfo"
  4968          consumes:
  4969            - "application/json"
  4970          produces:
  4971            - "application/json"
  4972          parameters:
  4973            -
  4974              name: "accountId"
  4975              in: "path"
  4976              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  4977              required: true
  4978              type: "string"
  4979              default: "~"
  4980            -
  4981              name: "extensionId"
  4982              in: "path"
  4983              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  4984              required: true
  4985              type: "string"
  4986              default: "~"
  4987            -
  4988              name: "ruleId"
  4989              in: "path"
  4990              description: "Internal identifier of an answering rule"
  4991              required: true
  4992              type: "string"
  4993            -
  4994              in: "body"
  4995              name: "body"
  4996              description: "JSON body"
  4997              required: true
  4998              schema:
  4999                $ref: "#/definitions/UpdateAnsweringRuleRequest"
  5000          responses:
  5001            default:
  5002              description: "Success"
  5003              schema:
  5004                $ref: "#/definitions/AnsweringRuleInfo"
  5005          x-api-group: "extension/answering-rule"
  5006          x-throttling-group: "Medium"
  5007          x-metered-api: true
  5008          x-metering-group: "System"
  5009          x-app-permission: "EditExtensions"
  5010          x-user-permission: "EditUserAnsweringRules"
  5011          x-access-level: "PublicBeta"
  5012        delete:
  5013          tags:
  5014            - "Call Handling Settings"
  5015          summary: "Delete Call Handling Rule"
  5016          operationId: "deleteAnsweringRule"
  5017          consumes:
  5018            - "application/json"
  5019          produces:
  5020            - "application/json"
  5021          parameters:
  5022            -
  5023              name: "accountId"
  5024              in: "path"
  5025              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  5026              required: true
  5027              type: "string"
  5028              default: "~"
  5029            -
  5030              name: "extensionId"
  5031              in: "path"
  5032              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  5033              required: true
  5034              type: "string"
  5035              default: "~"
  5036            -
  5037              name: "ruleId"
  5038              in: "path"
  5039              description: "Internal identifier of an answering rule"
  5040              required: true
  5041              type: "string"
  5042          responses:
  5043            default:
  5044              description: "successful operation"
  5045          x-api-group: "extension/answering-rule"
  5046          x-throttling-group: "Medium"
  5047          x-metered-api: true
  5048          x-metering-group: "System"
  5049          x-app-permission: "EditExtensions"
  5050          x-user-permission: "EditUserAnsweringRules"
  5051          x-access-level: "PublicBeta"
  5052      /restapi/v1.0/dictionary/greeting:
  5053        get:
  5054          tags:
  5055            - "Call Handling Settings"
  5056          summary: "Get Standard Greetings"
  5057          description: "<p style='font-style:italic;'>Since 8.2 (Release 1.0.26)</p><p>Returns a list of predefined standard greetings. Please note: Custom greetings recorded by user are not returned in response to this request. See Get Extension Custom Greetings.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>View Greetings</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  5058          operationId: "getGreetings"
  5059          consumes:
  5060            - "application/json"
  5061          produces:
  5062            - "application/json"
  5063          parameters:
  5064            -
  5065              name: "page"
  5066              in: "query"
  5067              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  5068              required: false
  5069              type: "integer"
  5070            -
  5071              name: "perPage"
  5072              in: "query"
  5073              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  5074              required: false
  5075              type: "integer"
  5076            -
  5077              name: "type"
  5078              in: "query"
  5079              description: "Type of a greeting, specifying the case when the greeting is played"
  5080              required: false
  5081              type: "string"
  5082              enum:
  5083                - "Introductory"
  5084                - "Announcement"
  5085                - "ConnectingMessage"
  5086                - "ConnectingAudio"
  5087                - "Voicemail"
  5088                - "Unavailable"
  5089                - "HoldMusic"
  5090                - "Company"
  5091            -
  5092              name: "usageType"
  5093              in: "query"
  5094              type: "string"
  5095              description: "Usage type of a greeting, specifying if the greeting is applied for user extension or department extension"
  5096              enum:
  5097                - "UserExtensionAnsweringRule"
  5098                - "ExtensionAnsweringRule"
  5099                - "DepartmentExtensionAnsweringRule"
  5100                - "CompanyAnsweringRule"
  5101                - "CompanyAfterHoursAnsweringRule"
  5102          responses:
  5103            default:
  5104              description: "successful operation"
  5105              schema:
  5106                $ref: "#/definitions/DictionaryGreetingList"
  5107          x-api-group: "dictionary/greeting"
  5108          x-throttling-group: "Medium"
  5109          x-metered-api: true
  5110          x-metering-group: "System"
  5111          x-access-level: "PublicBeta"
  5112      /restapi/v1.0/dictionary/greeting/{greetingId}:
  5113        get:
  5114          tags:
  5115            - "Call Handling Settings"
  5116          summary: "Get Greeting Info"
  5117          description: "<p style='font-style:italic;'>Since 8.2 (Release 1.0.26)</p><p>Returns a standard greeting by ID</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>View Greetings</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  5118          operationId: "getGreeting"
  5119          consumes:
  5120            - "application/json"
  5121          produces:
  5122            - "application/json"
  5123          parameters:
  5124            -
  5125              name: "greetingId"
  5126              in: "path"
  5127              required: true
  5128              type: "string"
  5129          responses:
  5130            default:
  5131              description: "successful operation"
  5132              schema:
  5133                $ref: "#/definitions/DictionaryGreetingInfo"
  5134          x-api-group: "dictionary/greeting"
  5135          x-throttling-group: "Medium"
  5136          x-metered-api: true
  5137          x-metering-group: "System"
  5138          x-access-level: "PublicBeta"
  5139      /restapi/v1.0/account/{accountId}/extension/{extensionId}/greeting:
  5140        post:
  5141          tags:
  5142            - "Call Handling Settings"
  5143          summary: "Create User Custom Greeting"
  5144          operationId: "createGreeting"
  5145          consumes:
  5146            - "application/json"
  5147          produces:
  5148            - "application/json"
  5149          parameters:
  5150            -
  5151              name: "accountId"
  5152              in: "path"
  5153              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  5154              required: true
  5155              type: "string"
  5156              default: "~"
  5157            -
  5158              name: "extensionId"
  5159              in: "path"
  5160              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  5161              required: true
  5162              type: "string"
  5163              default: "~"
  5164            -
  5165              in: "body"
  5166              name: "body"
  5167              required: false
  5168              schema:
  5169                $ref: "#/definitions/CustomGreetingRequest"
  5170          responses:
  5171            default:
  5172              description: "successful operation"
  5173              schema:
  5174                $ref: "#/definitions/CustomCompanyGreetingInfo"
  5175          x-api-group: "extension/greeting"
  5176          x-throttling-group: "Heavy"
  5177          x-metered-api: true
  5178          x-metering-group: "System"
  5179          x-app-permission: "EditExtensions"
  5180          x-user-permission: "EditUserAnsweringRules"
  5181          x-access-level: "PublicBeta"
  5182      /restapi/v1.0/account/{accountId}/extension/{extensionId}/greeting/{greetingId}:
  5183        get:
  5184          tags:
  5185            - "Call Handling Settings"
  5186          summary: "Get Custom Greeting Info"
  5187          operationId: "getGreetingByID"
  5188          consumes:
  5189            - "application/json"
  5190          produces:
  5191            - "application/json"
  5192          parameters:
  5193            -
  5194              name: "accountId"
  5195              in: "path"
  5196              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  5197              required: true
  5198              type: "string"
  5199              default: "~"
  5200            -
  5201              name: "extensionId"
  5202              in: "path"
  5203              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  5204              required: true
  5205              type: "string"
  5206              default: "~"
  5207            -
  5208              name: "greetingId"
  5209              in: "path"
  5210              description: ""
  5211              required: true
  5212              type: "integer"
  5213          responses:
  5214            default:
  5215              description: "successful operation"
  5216              schema:
  5217                $ref: "#/definitions/CustomCompanyGreetingInfo"
  5218          x-api-group: "extension/greeting"
  5219          x-throttling-group: "Medium"
  5220          x-metered-api: true
  5221          x-metering-group: "System"
  5222          x-app-permission: "ReadAccounts"
  5223          x-user-permission: "ReadUserInfo"
  5224          x-access-level: "PublicBeta"
  5225      /restapi/v1.0/account/{accountId}/business-hours:
  5226        get:
  5227          tags:
  5228            - "Call Handling Settings"
  5229          summary: "Get Company Business Hours"
  5230          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns company hours when answering rules are to be applied.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  5231          operationId: "loadBusinesshoursInfo"
  5232          consumes:
  5233            - "application/json"
  5234          produces:
  5235            - "application/json"
  5236          parameters:
  5237            -
  5238              name: "accountId"
  5239              in: "path"
  5240              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  5241              required: true
  5242              type: "string"
  5243              default: "~"
  5244          responses:
  5245            default:
  5246              description: "Success"
  5247              schema:
  5248                $ref: "#/definitions/CompanyBusinessHours"
  5249          x-api-group: "extension/answering-rule"
  5250          x-throttling-group: "Light"
  5251          x-metered-api: true
  5252          x-metering-group: "System"
  5253          x-app-permission: "ReadAccounts"
  5254          x-user-permission: "ReadUserAnsweringRules"
  5255          x-access-level: "PublicBeta"
  5256        put:
  5257          tags:
  5258            - "Call Handling Settings"
  5259          summary: "Update Company Business Hours"
  5260          description: "<p style='font-style:italic;'>Since 1.0.24 (Release 8.0)</p><p>Updates company hours when answering rules are to be applied.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  5261          operationId: "updateCompanyBusinessHours"
  5262          consumes:
  5263            - "application/json"
  5264          produces:
  5265            - "application/json"
  5266          parameters:
  5267            -
  5268              name: "accountId"
  5269              in: "path"
  5270              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  5271              required: true
  5272              type: "string"
  5273              default: "~"
  5274            -
  5275              in: "body"
  5276              name: "body"
  5277              description: "JSON body"
  5278              required: true
  5279              schema:
  5280                $ref: "#/definitions/CompanyBusinessHoursUpdateRequest"
  5281          responses:
  5282            default:
  5283              description: "Success"
  5284              schema:
  5285                $ref: "#/definitions/CompanyBusinessHours"
  5286          x-api-group: "extension/answering-rule"
  5287          x-throttling-group: "Medium"
  5288          x-metered-api: true
  5289          x-metering-group: "System"
  5290          x-app-permission: "EditExtensions"
  5291          x-user-permission: "EditUserAnsweringRules"
  5292          x-access-level: "PublicBeta"
  5293      /restapi/v1.0/account/{accountId}/greeting:
  5294        post:
  5295          tags:
  5296            - "Call Handling Settings"
  5297          summary: "Create Custom Company Greeting"
  5298          operationId: "getCompanyGreeting"
  5299          consumes:
  5300            - "application/json"
  5301          produces:
  5302            - "application/json"
  5303          parameters:
  5304            -
  5305              name: "accountId"
  5306              in: "path"
  5307              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  5308              required: true
  5309              type: "string"
  5310              default: "~"
  5311            -
  5312              in: "body"
  5313              name: "body"
  5314              description: "JSON body"
  5315              required: true
  5316              schema:
  5317                $ref: "#/definitions/CustomCompanyGreetingRequest"
  5318          responses:
  5319            default:
  5320              description: "successful operation"
  5321              schema:
  5322                $ref: "#/definitions/CustomCompanyGreetingInfo"
  5323          x-api-group: "extension/greeting"
  5324          x-throttling-group: "Medium"
  5325          x-metered-api: true
  5326          x-metering-group: "System"
  5327          x-app-permission: "EditAccounts"
  5328          x-user-permission: "ReadUserInfo"
  5329          x-access-level: "Advanced"
  5330      /restapi/v1.0/account/{accountId}/answering-rule:
  5331        post:
  5332          tags:
  5333            - "Call Handling Settings"
  5334          summary: "Create Company Call Handling Rule"
  5335          operationId: "createCompanyAnsweringRuleInfo"
  5336          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Creates a company answering rule for a particular caller ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr><tr><td class='code'>EditAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  5337          consumes:
  5338            - "application/json"
  5339          produces:
  5340            - "application/json"
  5341          parameters:
  5342            -
  5343              name: "accountId"
  5344              type: "string"
  5345              in: "path"
  5346              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  5347              required: true
  5348              default: "~"
  5349            -
  5350              name: "body"
  5351              in: "body"
  5352              description: "JSON body"
  5353              schema:
  5354                $ref: "#/definitions/CompanyAnsweringRuleRequest"
  5355              required: true
  5356          responses:
  5357            default:
  5358              description: "Success"
  5359              schema:
  5360                $ref: "#/definitions/CompanyAnsweringRuleInfo"
  5361          x-api-group: "account/answering-rule"
  5362          x-throttling-group: "Medium"
  5363          x-metered-api: true
  5364          x-metering-group: "System"
  5365          x-app-permission: "EditAccounts"
  5366          x-user-permission: "EditCompanyAnsweringRules"
  5367          x-access-level: "PublicBeta"
  5368        get:
  5369          tags:
  5370            - "Call Handling Settings"
  5371          summary: "Get Company Call Handling Rules"
  5372          operationId: "listCompanyAnsweringRule"
  5373          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns a list of company answering rules.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  5374          consumes:
  5375            - "application/json"
  5376          produces:
  5377            - "application/json"
  5378          parameters:
  5379            -
  5380              name: "accountId"
  5381              type: "string"
  5382              in: "path"
  5383              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  5384              required: true
  5385              default: "~"
  5386          responses:
  5387            default:
  5388              description: "Success"
  5389              schema:
  5390                $ref: "#/definitions/CompanyAnsweringRuleList"
  5391          x-api-group: "account/answering-rule"
  5392          x-throttling-group: "Medium"
  5393          x-metered-api: true
  5394          x-metering-group: "System"
  5395          x-app-permission: "ReadAccounts"
  5396          x-user-permission: "ReadCompanyAnsweringRules"
  5397          x-access-level: "PublicBeta"
  5398      /restapi/v1.0/account/{accountId}/answering-rule/{ruleId}:
  5399        get:
  5400          tags:
  5401            - "Call Handling Settings"
  5402          summary: "Get Company Call Handling Rule"
  5403          operationId: "loadCompanyAnsweringRuleInfo"
  5404          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns a company answering rule by ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  5405          consumes:
  5406            - "application/json"
  5407          produces:
  5408            - "application/json"
  5409          parameters:
  5410            -
  5411              name: "accountId"
  5412              type: "string"
  5413              in: "path"
  5414              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  5415              required: true
  5416              default: "~"
  5417            -
  5418              name: "ruleId"
  5419              type: "string"
  5420              in: "path"
  5421              description: "Internal identifier of an answering rule. The value can be standard digital ID or specific ID - either business-hours-rule or after-hours-rule"
  5422              required: true
  5423          responses:
  5424            default:
  5425              description: "Success"
  5426              schema:
  5427                $ref: "#/definitions/CompanyAnsweringRuleInfo"
  5428          x-api-group: "account/answering-rule"
  5429          x-throttling-group: "Light"
  5430          x-metered-api: true
  5431          x-metering-group: "System"
  5432          x-app-permission: "ReadAccounts"
  5433          x-user-permission: "ReadCompanyAnsweringRules"
  5434          x-access-level: "PublicBeta"
  5435        put:
  5436          tags:
  5437            - "Call Handling Settings"
  5438          summary: "Update Company Call Handling Rule"
  5439          operationId: "updateCompanyAnsweringRuleInfo"
  5440          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Updates a company answering rule.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  5441          consumes:
  5442            - "application/json"
  5443          produces:
  5444            - "application/json"
  5445          parameters:
  5446            -
  5447              name: "accountId"
  5448              type: "string"
  5449              in: "path"
  5450              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  5451              required: true
  5452              default: "~"
  5453            -
  5454              name: "ruleId"
  5455              type: "string"
  5456              in: "path"
  5457              description: "Internal identifier of an answering rule. The value can be standard digital ID or specific ID - either business-hours-rule or after-hours-rule"
  5458              required: true
  5459            -
  5460              name: "body"
  5461              in: "body"
  5462              description: "JSON body"
  5463              schema:
  5464                $ref: "#/definitions/CompanyAnsweringRuleUpdate"
  5465              required: true
  5466          responses:
  5467            default:
  5468              description: "Success"
  5469              schema:
  5470                $ref: "#/definitions/CompanyAnsweringRuleInfo"
  5471          x-api-group: "account/answering-rule"
  5472          x-throttling-group: "Medium"
  5473          x-metered-api: true
  5474          x-metering-group: "System"
  5475          x-app-permission: "EditAccounts"
  5476          x-user-permission: "EditCompanyAnsweringRules"
  5477          x-access-level: "PublicBeta"
  5478      /restapi/v1.0/account/{accountId}/ivr-menus:
  5479        post:
  5480          summary: "Create IVR Menu"
  5481          tags:
  5482            - "Call Handling Settings"
  5483          operationId: "createIVRMenu"
  5484          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Creates a company IVR menu</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p>"
  5485          consumes:
  5486            - "application/json"
  5487          produces:
  5488            - "application/json"
  5489          parameters:
  5490            -
  5491              name: "accountId"
  5492              in: "path"
  5493              required: true
  5494              type: "string"
  5495            -
  5496              name: "body"
  5497              in: "body"
  5498              description: "JSON body"
  5499              schema:
  5500                $ref: "#/definitions/IVRMenuInfo"
  5501              required: true
  5502          responses:
  5503            default:
  5504              description: "Success"
  5505              schema:
  5506                $ref: "#/definitions/IVRMenuInfo"
  5507          x-api-group: "account/ivr-menus"
  5508          x-throttling-group: "Heavy"
  5509          x-metered-api: true
  5510          x-metering-group: "System"
  5511          x-app-permission: "ReadAccounts"
  5512          x-user-permission: "AutoReceptionist"
  5513          x-access-level: "Internal"
  5514      /restapi/v1.0/account/{accountId}/ivr-menus/{ivrMenuId}:
  5515        get:
  5516          tags:
  5517            - "Call Handling Settings"
  5518          summary: "Get IVR Menu"
  5519          operationId: "getIVRMenuById"
  5520          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns a company IVR menu by ID</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  5521          consumes:
  5522            - "application/json"
  5523          produces:
  5524            - "application/json"
  5525          parameters:
  5526            -
  5527              name: "accountId"
  5528              in: "path"
  5529              required: true
  5530              type: "string"
  5531            -
  5532              name: "ivrMenuId"
  5533              in: "path"
  5534              required: true
  5535              type: "string"
  5536          responses:
  5537            default:
  5538              description: "Success"
  5539              schema:
  5540                $ref: "#/definitions/IVRMenuInfo"
  5541          x-api-group: "account/ivr-menus"
  5542          x-throttling-group: "Medium"
  5543          x-metered-api: true
  5544          x-metering-group: "System"
  5545          x-app-permission: "ReadAccounts"
  5546          x-user-permission: "AutoReceptionist"
  5547          x-access-level: "Advanced"
  5548        put:
  5549          tags:
  5550            - "Call Handling Settings"
  5551          summary: "Update IVR Menu"
  5552          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns a company IVR menu by ID</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  5553          consumes:
  5554            - "application/json"
  5555          produces:
  5556            - "application/json"
  5557          parameters:
  5558            -
  5559              name: "accountId"
  5560              in: "path"
  5561              required: true
  5562              type: "string"
  5563            -
  5564              name: "ivrMenuId"
  5565              in: "path"
  5566              required: true
  5567              type: "string"
  5568            -
  5569              name: "body"
  5570              in: "body"
  5571              description: "JSON body"
  5572              schema:
  5573                $ref: "#/definitions/IVRMenuInfo"
  5574              required: true
  5575          responses:
  5576            default:
  5577              description: "Success"
  5578              schema:
  5579                $ref: "#/definitions/IVRMenuInfo"
  5580          x-api-group: "account/ivr-menus"
  5581          x-throttling-group: "Medium"
  5582          x-metered-api: true
  5583          x-metering-group: "System"
  5584          x-app-permission: "ReadAccounts"
  5585          x-user-permission: "AutoReceptionist"
  5586          x-access-level: "Internal"
  5587      /restapi/v1.0/account/{accountId}/ivr-prompts:
  5588        post:
  5589          tags:
  5590            - "Call Handling Settings"
  5591          summary: "Create IVR Prompt"
  5592          operationId: "createPrompts"
  5593          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Creates an IVR prompt.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p>"
  5594          consumes:
  5595            - "multipart/form-data"
  5596          produces:
  5597            - "application/json"
  5598          parameters:
  5599            -
  5600              name: "accountId"
  5601              in: "path"
  5602              required: true
  5603              type: "string"
  5604            -
  5605              in: "formData"
  5606              name: "attachment"
  5607              type: "file"
  5608              required: true
  5609              description: "Audio file that will be used as a prompt. Attachment cannot be empty, only audio files are supported"
  5610            -
  5611              in: "formData"
  5612              name: "name"
  5613              type: "string"
  5614              required: false
  5615              description: "Description of file contents."
  5616          responses:
  5617            default:
  5618              description: "Success"
  5619              schema:
  5620                $ref: "#/definitions/PromptInfo"
  5621          x-api-group: "account/ivr-prompts"
  5622          x-throttling-group: "Heavy"
  5623          x-metered-api: true
  5624          x-metering-group: "System"
  5625          x-app-permission: "EditAccounts"
  5626          x-user-permission: "EditCompanyGreetings"
  5627          x-access-level: "Internal"
  5628        get:
  5629          tags:
  5630            - "Call Handling Settings"
  5631          summary: "Get IVR Prompts"
  5632          operationId: "getIVRPrompts"
  5633          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns a list of IVR prompts.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  5634          consumes:
  5635            - "application/json"
  5636          produces:
  5637            - "application/json"
  5638          parameters:
  5639            -
  5640              name: "accountId"
  5641              in: "path"
  5642              required: true
  5643              type: "string"
  5644          responses:
  5645            default:
  5646              description: "Success"
  5647              schema:
  5648                $ref: "#/definitions/IVRPrompts"
  5649          x-api-group: "account/ivr-prompts"
  5650          x-throttling-group: "Medium"
  5651          x-metered-api: true
  5652          x-metering-group: "System"
  5653          x-app-permission: "ReadAccounts"
  5654          x-user-permission: "ReadCompanyGreetings"
  5655          x-access-level: "Advanced"
  5656      /restapi/v1.0/account/{accountId}/ivr-prompts/{promptId}:
  5657        get:
  5658          tags:
  5659            - "Call Handling Settings"
  5660          summary: "Get IVR Prompt"
  5661          operationId: "getIVRPrompt"
  5662          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns an IVR prompt by ID</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  5663          consumes:
  5664            - "application/json"
  5665          produces:
  5666            - "application/json"
  5667          parameters:
  5668            -
  5669              name: "accountId"
  5670              in: "path"
  5671              required: true
  5672              type: "string"
  5673            -
  5674              name: "promptId"
  5675              in: "path"
  5676              required: true
  5677              type: "string"
  5678          responses:
  5679            default:
  5680              description: "Success"
  5681              schema:
  5682                $ref: "#/definitions/PromptInfo"
  5683          x-api-group: "account/ivr-prompts"
  5684          x-throttling-group: "Medium"
  5685          x-metered-api: true
  5686          x-metering-group: "System"
  5687          x-app-permission: "ReadAccounts"
  5688          x-user-permission: "ReadCompanyGreetings"
  5689          x-access-level: "Advanced"
  5690        delete:
  5691          tags:
  5692            - "Call Handling Settings"
  5693          summary: "Delete IVR Prompt"
  5694          operationId: "deleteIVRPrompt"
  5695          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Deletes an IVR prompt by ID</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p>"
  5696          consumes:
  5697            - "application/json"
  5698          produces:
  5699            - "application/json"
  5700          parameters:
  5701            -
  5702              name: "accountId"
  5703              in: "path"
  5704              required: true
  5705              type: "string"
  5706            -
  5707              name: "promptId"
  5708              in: "path"
  5709              required: true
  5710              type: "string"
  5711          responses:
  5712            default:
  5713              description: "Success"
  5714          x-api-group: "account/ivr-prompts"
  5715          x-throttling-group: "Heavy"
  5716          x-metered-api: true
  5717          x-metering-group: "System"
  5718          x-app-permission: "EditAccounts"
  5719          x-user-permission: "EditCompanyGreetings"
  5720          x-access-level: "Advanced"
  5721      /restapi/v1.0/account/{accountId}/ivr-prompts/{promptId}/content:
  5722        get:
  5723          tags:
  5724            - "Call Handling Settings"
  5725          summary: "Get IVR Prompt Content"
  5726          operationId: "getIVRPromptContent"
  5727          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns media content of an IVR prompt by its ID</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  5728          consumes:
  5729            - "application/json"
  5730          produces:
  5731            - "application/json"
  5732          parameters:
  5733            -
  5734              name: "accountId"
  5735              in: "path"
  5736              required: true
  5737              type: "string"
  5738            -
  5739              name: "promptId"
  5740              in: "path"
  5741              required: true
  5742              type: "string"
  5743          responses:
  5744            default:
  5745              description: "Success"
  5746          x-api-group: "account/ivr-prompts"
  5747          x-throttling-group: "Medium"
  5748          x-metered-api: true
  5749          x-metering-group: "System"
  5750          x-app-permission: "ReadAccounts"
  5751          x-user-permission: "ReadCompanyGreetings"
  5752          x-access-level: "Advanced"
  5753      /restapi/v1.0/client-info:
  5754        get:
  5755          tags:
  5756            - "Application Settings"
  5757          summary: "Get App Settings"
  5758          description: "<p style='font-style:italic;'>Since 1.0.11 (Release 6.3)</p><p>Returns client application data: general info, specific provisioning parameters, hints, etc.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadClientInfo</td><td>Viewing of client application registered attributes and additional helper information (external URLs, hints, etc.)</td></tr></tbody></table>"
  5759          operationId: "loadClientInfo"
  5760          consumes:
  5761            - "application/json"
  5762          produces:
  5763            - "application/json"
  5764          parameters: []
  5765          responses:
  5766            default:
  5767              description: "Success"
  5768              schema:
  5769                $ref: "#/definitions/ClientApiResponse"
  5770          x-api-group: "client-info"
  5771          x-throttling-group: "Light"
  5772          x-metered-api: true
  5773          x-metering-group: "System"
  5774          x-app-permission: "ReadClientInfo"
  5775          x-access-level: "Internal"
  5776      /restapi/v1.0/client-info/sip-provision:
  5777        post:
  5778          tags:
  5779            - "Application Settings"
  5780          summary: "Register SIP Device"
  5781          description: "<p style='font-style:italic;'>Since 1.0.16 (Release 7.1)</p><p>Creates SIP registration of a device/application (WebPhone, Mobile, softphone)</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>VoipCalling</td><td>Registering as VoIP device and making VoIP calls</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p>"
  5782          operationId: "createSipRegistration"
  5783          consumes:
  5784            - "application/json"
  5785          produces:
  5786            - "application/json"
  5787          parameters:
  5788            -
  5789              in: "body"
  5790              name: "body"
  5791              description: "JSON body"
  5792              required: true
  5793              schema:
  5794                $ref: "#/definitions/CreateSipRegistrationRequest"
  5795          responses:
  5796            default:
  5797              description: "Success"
  5798              schema:
  5799                $ref: "#/definitions/CreateSipRegistrationResponse"
  5800          x-api-group: "client-info/sip-provision"
  5801          x-throttling-group: "Heavy"
  5802          x-metered-api: true
  5803          x-metering-group: "System"
  5804          x-app-permission: "VoipCalling"
  5805          x-access-level: "PublicBeta"
  5806      /restapi/v1.0/client-info/banners:
  5807        get:
  5808          tags:
  5809            - "Application Settings"
  5810          consumes:
  5811            - "application/json"
  5812          produces:
  5813            - "application/json"
  5814          summary: "Get In Product Message List"
  5815          description: "<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns list of in-product messages: learderboards, announcements, etc. Please note: Banners are set on Marketing/Messages tab in Admin Web.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadClientInfo</td><td>Viewing of client application registered attributes and additional helper information (external URLs, hints, etc.)</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  5816          operationId: "getInProductMessage"
  5817          parameters:
  5818            -
  5819              in: "query"
  5820              required: true
  5821              type: "string"
  5822              name: "bannerType"
  5823              default: "LeaderBoard"
  5824          responses:
  5825            default:
  5826              description: "Success"
  5827              schema:
  5828                $ref: "#/definitions/InProductMessages"
  5829          x-throttling-group: "Light"
  5830          x-metered-api: true
  5831          x-metering-group: "System"
  5832          x-app-permission: "ReadClientInfo"
  5833          x-api-group: "client-info/banners"
  5834          x-access-level: "Internal"
  5835      /restapi/v1.0/client-info/custom-data/{key}:
  5836        get:
  5837          tags:
  5838            - "Application Settings"
  5839          summary: "Get Custom Data"
  5840          description: "<p style='font-style:italic;'>Since 1.0.14 (Release 6.6)</p>Returns custom data of a logged-in extension.<p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditCustomData</td><td>Viewing and updating client custom data (key-value)</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  5841          operationId: "getCustomData"
  5842          consumes:
  5843            - "application/json"
  5844          produces:
  5845            - "application/json"
  5846          parameters:
  5847            -
  5848              name: "key"
  5849              in: "path"
  5850              description: "Custom data access key. The number of unique custom data keys is limited to 100 keys per extension, summarized for all the applications. For example, if you have created 50 custom data keys under the Android mobile client application for the particular extension, then logged in the iOS application and created another 50 keys, the web client application won't be allowed to create any custom data key for that extension"
  5851              required: true
  5852              type: "integer"
  5853          responses:
  5854            default:
  5855              description: "successful operation"
  5856              schema:
  5857                $ref: "#/definitions/CustomDataResource"
  5858          x-api-group: "client-info/custom-data"
  5859          x-throttling-group: "Light"
  5860          x-metered-api: true
  5861          x-metering-group: "System"
  5862          x-app-permission: "EditCustomData"
  5863          x-access-level: "Internal"
  5864        put:
  5865          tags:
  5866            - "Application Settings"
  5867          summary: "Create/Update Custom Data"
  5868          description: "<p style='font-style:italic;'>Since 1.0.14 (Release 6.6)</p><p>Creates or updates custom data for the extension that is currently logged in.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditCustomData</td><td>Viewing and updating client custom data (key-value)</td></tr></tbody></table>"
  5869          operationId: "updateCustomData"
  5870          consumes:
  5871            - "application/json"
  5872          produces:
  5873            - "application/json"
  5874          parameters:
  5875            -
  5876              name: "key"
  5877              in: "path"
  5878              description: "Custom data access key. The number of unique custom data keys is limited to 100 keys per extension, summarized for all the applications. For example, if you have created 50 custom data keys under the Android mobile client application for the particular extension, then logged in the iOS application and created another 50 keys, the web client application won't be allowed to create any custom data key for that extension"
  5879              required: true
  5880              type: "integer"
  5881            -
  5882              in: "body"
  5883              name: "body"
  5884              description: "JSON body"
  5885              required: true
  5886              schema:
  5887                $ref: "#/definitions/CustomDataRequest"
  5888          responses:
  5889            default:
  5890              description: "Success"
  5891              schema:
  5892                $ref: "#/definitions/CustomDataApiResponse"
  5893          x-api-group: "client-info/custom-data"
  5894          x-throttling-group: "Medium"
  5895          x-metered-api: true
  5896          x-metering-group: "System"
  5897          x-app-permission: "EditCustomData"
  5898          x-access-level: "Internal"
  5899        delete:
  5900          tags:
  5901            - "Application Settings"
  5902          summary: "Delete Custom Data"
  5903          description: "<p style='font-style:italic;'>Since 1.0.14 (Release 6.6)</p>Deletes custom data by its ID.<p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditCustomData</td><td>Viewing and updating client custom data (key-value)</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  5904          operationId: "deleteCustomData"
  5905          consumes:
  5906            - "application/json"
  5907          produces:
  5908            - "application/json"
  5909          parameters:
  5910            -
  5911              name: "key"
  5912              in: "path"
  5913              description: "Custom data access key. The number of unique custom data keys is limited to 100 keys per extension, summarized for all the applications. For example, if you have created 50 custom data keys under the Android mobile client application for the particular extension, then logged in the iOS application and created another 50 keys, the web client application won't be allowed to create any custom data key for that extension"
  5914              required: true
  5915              type: "integer"
  5916          responses:
  5917            default:
  5918              description: "successful operation"
  5919          x-api-group: "client-info/custom-data"
  5920          x-throttling-group: "Medium"
  5921          x-metered-api: true
  5922          x-metering-group: "System"
  5923          x-app-permission: "EditCustomData"
  5924          x-access-level: "Internal"
  5925      /restapi/v1.0/client-info/custom-data/{key}/content:
  5926        get:
  5927          tags:
  5928            - "Application Settings"
  5929          summary: "Get Custom Data Attachment"
  5930          description: "<p style='font-style:italic;'>Since 1.0.14 (Release 6.6)</p>Returns custom data attachment by ID.<p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditCustomData</td><td>Viewing and updating client custom data (key-value)</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  5931          operationId: "getAttachment"
  5932          consumes:
  5933            - "application/json"
  5934          produces:
  5935            - "application/json"
  5936          parameters:
  5937            -
  5938              name: "key"
  5939              in: "path"
  5940              required: true
  5941              type: "string"
  5942            -
  5943              name: "Range"
  5944              in: "header"
  5945              required: false
  5946              type: "string"
  5947          responses:
  5948            default:
  5949              description: "successful operation"
  5950          x-api-group: "client-info/custom-data/content"
  5951          x-throttling-group: "Light"
  5952          x-metered-api: true
  5953          x-metering-group: "System"
  5954          x-app-permission: "EditCustomData"
  5955          x-access-level: "Internal"
  5956      /restapi/v1.0/client-info/special-number-rule:
  5957        get:
  5958          tags:
  5959            - "Application Settings"
  5960          summary: "Get Special Numbers Calling Limitation"
  5961          description: "<p style='font-style:italic;'>Since 1.0.12 (Release 6.4)</p><p>Returns available special numbers and rules of processing, depending on account brand and application type (mobile/softphone/web/other). A special number rule for each number includes limitations on the options: VoIP, RingOut, outgoing SMS and Fax. If the option is disallowed, the server returns the reason code and text description.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadClientInfo</td><td>Viewing of client application registered attributes and additional helper information (external URLs, hints, etc.)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  5962          operationId: "getSpecialNumberRules."
  5963          consumes:
  5964            - "application/json"
  5965          produces:
  5966            - "application/json"
  5967          parameters:
  5968            -
  5969              name: "countryId"
  5970              in: "query"
  5971              description: "Internal identifier of a country. If not specified, the response is returned for the brand country"
  5972              required: false
  5973              type: "integer"
  5974          responses:
  5975            default:
  5976              description: "Success"
  5977              schema:
  5978                $ref: "#/definitions/NavigationInfo"
  5979          x-api-group: "client-info/special-number-rule"
  5980          x-throttling-group: "Light"
  5981          x-metered-api: true
  5982          x-metering-group: "System"
  5983          x-app-permission: "ReadClientInfo"
  5984          x-access-level: "Internal"
  5985      /restapi/v1.0/number-parser/phonedata.xml:
  5986        get:
  5987          tags:
  5988            - "Application Settings"
  5989          summary: "Get Phonedata"
  5990          description: "<p style='font-style:italic;'>Since 1.0.12 (Release 6.4)</p><p>Returns configuration settings for phone number parser in a phonedata.xml file.</p><h4>Usage Plan Group</h4><p>Medium</p>"
  5991          operationId: "loadPhoneData"
  5992          consumes:
  5993            - "application/json"
  5994          produces:
  5995            - "application/json"
  5996          parameters: []
  5997          responses:
  5998            default:
  5999              description: "Success"
  6000          x-api-group: "number-parser/phonedata.xml"
  6001          x-throttling-group: "Medium"
  6002          x-metered-api: true
  6003          x-metering-group: "System"
  6004          x-access-level: "Internal"
  6005      /restapi/v1.0/account/{accountId}/extension/{extensionId}:
  6006        get:
  6007          tags:
  6008            - "User Settings"
  6009          summary: "Get Extension Info"
  6010          description: "<p style='font-style:italic;'>Since 1.0.0</p><p>Returns basic information about a particular extension of an account.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  6011          operationId: "loadExtensionInfo"
  6012          consumes:
  6013            - "application/json"
  6014          produces:
  6015            - "application/json"
  6016          parameters:
  6017            -
  6018              name: "accountId"
  6019              in: "path"
  6020              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6021              required: true
  6022              type: "string"
  6023              default: "~"
  6024            -
  6025              name: "extensionId"
  6026              in: "path"
  6027              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  6028              required: true
  6029              type: "string"
  6030              default: "~"
  6031          responses:
  6032            default:
  6033              description: "Success"
  6034              schema:
  6035                $ref: "#/definitions/GetExtensionInfoResponse"
  6036          x-api-group: "extension"
  6037          x-throttling-group: "Light"
  6038          x-metered-api: true
  6039          x-metering-group: "System"
  6040          x-app-permission: "ReadAccounts"
  6041          x-user-permission: "ReadExtensions"
  6042          x-access-level: "Public"
  6043        put:
  6044          tags:
  6045            - "User Settings"
  6046          summary: "Update Extension"
  6047          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  6048          operationId: "updateExtension"
  6049          consumes:
  6050            - "application/json"
  6051          produces:
  6052            - "application/json"
  6053          parameters:
  6054            -
  6055              name: "accountId"
  6056              in: "path"
  6057              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6058              required: true
  6059              type: "string"
  6060              default: "~"
  6061            -
  6062              name: "extensionId"
  6063              in: "path"
  6064              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  6065              required: true
  6066              type: "string"
  6067              default: "~"
  6068            -
  6069              in: "body"
  6070              name: "body"
  6071              description: "JSON body"
  6072              required: true
  6073              schema:
  6074                $ref: "#/definitions/ExtensionUpdateRequest"
  6075          responses:
  6076            default:
  6077              description: "Success"
  6078              schema:
  6079                $ref: "#/definitions/GetExtensionInfoResponse"
  6080          x-api-group: "extension"
  6081          x-throttling-group: "Medium"
  6082          x-metered-api: true
  6083          x-metering-group: "System"
  6084          x-app-permission: "EditExtensions"
  6085          x-user-permission: "EditUserInfo OR EditUserCredentials"
  6086          x-access-level: "Advanced"
  6087        delete:
  6088          tags:
  6089            - "User Settings"
  6090          summary: "Delete Extension"
  6091          description: "<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Deletes extension(s) by ID(s).</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  6092          operationId: "deleteExtension"
  6093          consumes:
  6094            - "application/json"
  6095          produces:
  6096            - "application/json"
  6097          parameters:
  6098            -
  6099              name: "extensionId"
  6100              in: "path"
  6101              required: true
  6102              type: "string"
  6103            -
  6104              name: "accountId"
  6105              in: "path"
  6106              required: true
  6107              type: "string"
  6108          responses:
  6109            default:
  6110              description: "successful operation"
  6111          x-api-group: "extension"
  6112          x-throttling-group: "Medium"
  6113          x-metered-api: true
  6114          x-metering-group: "System"
  6115          x-app-permission: "EditAccounts"
  6116          x-user-permission: "AddRemoveUsers"
  6117          x-access-level: "Advanced"
  6118      /restapi/v1.0/account/{accountId}/extension/{extensionId}/caller-id:
  6119        get:
  6120          tags:
  6121            - "User Settings"
  6122          summary: "Get Extension Caller ID"
  6123          operationId: "loadExtensionCallerId"
  6124          description: "<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns information on an outbound caller ID of an extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  6125          consumes:
  6126            - "application/json"
  6127          produces:
  6128            - "application/json"
  6129          parameters:
  6130            -
  6131              name: "accountId"
  6132              type: "string"
  6133              in: "path"
  6134              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6135              required: true
  6136              default: "~"
  6137            -
  6138              name: "extensionId"
  6139              type: "string"
  6140              in: "path"
  6141              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  6142              required: true
  6143              default: "~"
  6144          responses:
  6145            default:
  6146              description: "Success"
  6147              schema:
  6148                $ref: "#/definitions/ExtensionCallerIdInfo"
  6149          x-api-group: "extension/caller-id"
  6150          x-throttling-group: "Light"
  6151          x-metered-api: true
  6152          x-metering-group: "System"
  6153          x-app-permission: "ReadAccounts"
  6154          x-user-permission: "ReadCallerIDSettings"
  6155          x-access-level: "Public"
  6156        put:
  6157          tags:
  6158            - "User Settings"
  6159          summary: "Update Extension Caller ID"
  6160          operationId: "updateExtensionCallerId"
  6161          description: "<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Updates outbound caller ID information of an extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  6162          consumes:
  6163            - "application/json"
  6164          produces:
  6165            - "application/json"
  6166          parameters:
  6167            -
  6168              name: "accountId"
  6169              type: "string"
  6170              in: "path"
  6171              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6172              required: true
  6173              default: "~"
  6174            -
  6175              name: "extensionId"
  6176              type: "string"
  6177              in: "path"
  6178              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  6179              required: true
  6180              default: "~"
  6181            -
  6182              name: "body"
  6183              in: "body"
  6184              description: "JSON body"
  6185              schema:
  6186                $ref: "#/definitions/ExtensionCallerIdInfo"
  6187              required: true
  6188          responses:
  6189            default:
  6190              description: "Success"
  6191              schema:
  6192                $ref: "#/definitions/ExtensionCallerIdInfo"
  6193          x-api-group: "extension/caller-id"
  6194          x-throttling-group: "Medium"
  6195          x-metered-api: true
  6196          x-metering-group: "System"
  6197          x-app-permission: "EditExtensions"
  6198          x-user-permission: "EditCallerIDSettings"
  6199          x-access-level: "Public"
  6200      /restapi/v1.0/account/{accountId}/extension/{extensionId}/credentials:
  6201        get:
  6202          tags:
  6203            - "User Settings"
  6204          summary: "Get User Credentials"
  6205          operationId: "loadExtensionUserCredentials"
  6206          description: "<p style='font-style:italic;'>Since 1.0.27 (Release 8.3)</p><p>Returns extension user credentials.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  6207          consumes:
  6208            - "application/json"
  6209          produces:
  6210            - "application/json"
  6211          parameters:
  6212            -
  6213              name: "accountId"
  6214              type: "string"
  6215              in: "path"
  6216              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6217              required: true
  6218              default: "~"
  6219            -
  6220              name: "extensionId"
  6221              type: "string"
  6222              in: "path"
  6223              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  6224              required: true
  6225              default: "~"
  6226          responses:
  6227            default:
  6228              description: "Success"
  6229              schema:
  6230                $ref: "#/definitions/ExtensionUserCredentials"
  6231          x-api-group: "extension/credentials"
  6232          x-throttling-group: "Medium"
  6233          x-metered-api: true
  6234          x-metering-group: "System"
  6235          x-app-permission: "ReadAccounts"
  6236          x-user-permission: "ReadUserInfo"
  6237          x-access-level: "Internal"
  6238        put:
  6239          tags:
  6240            - "User Settings"
  6241          summary: "Update User Credentials"
  6242          operationId: "updateExtensionUserCredentials"
  6243          description: "<p style='font-style:italic;'>Since 1.0.27 (Release 8.3)</p><p>Updates extension user credentials.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  6244          consumes:
  6245            - "application/json"
  6246          produces:
  6247            - "application/json"
  6248          parameters:
  6249            -
  6250              name: "accountId"
  6251              type: "string"
  6252              in: "path"
  6253              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6254              required: true
  6255              default: "~"
  6256            -
  6257              name: "extensionId"
  6258              type: "string"
  6259              in: "path"
  6260              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  6261              required: true
  6262              default: "~"
  6263            -
  6264              name: "body"
  6265              in: "body"
  6266              description: "JSON body"
  6267              required: true
  6268              schema:
  6269                $ref: "#/definitions/ExtensionUserCredentailsRequest"
  6270          responses:
  6271            default:
  6272              description: "Success"
  6273              schema:
  6274                $ref: "#/definitions/ExtensionUserCredentials"
  6275          x-api-group: "extension/credentials"
  6276          x-throttling-group: "Medium"
  6277          x-metered-api: true
  6278          x-metering-group: "System"
  6279          x-app-permission: "EditExtensions"
  6280          x-user-permission: "EditUserCredentials"
  6281          x-access-level: "Internal"
  6282      /restapi/v1.0/account/{accountId}/extension/{extensionId}/credentials/validate:
  6283        post:
  6284          tags:
  6285            - "User Settings"
  6286          summary: "Validate User Credentials"
  6287          operationId: "validateExtensionUserCredentials"
  6288          description: "<p style='font-style:italic;'>Since 1.0.27 (Release 8.3)</p><p>Validates if extension user credentials specified can be applied.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  6289          consumes:
  6290            - "application/json"
  6291          produces:
  6292            - "application/json"
  6293          parameters:
  6294            -
  6295              name: "accountId"
  6296              type: "string"
  6297              in: "path"
  6298              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6299              required: true
  6300              default: "~"
  6301            -
  6302              name: "extensionId"
  6303              type: "string"
  6304              in: "path"
  6305              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  6306              required: true
  6307              default: "~"
  6308            -
  6309              name: "body"
  6310              in: "body"
  6311              description: "JSON body"
  6312              schema:
  6313                $ref: "#/definitions/ValidateExtensionUserCredentials"
  6314              required: true
  6315          responses:
  6316            default:
  6317              description: "Success"
  6318          x-api-group: "extension/credentials/validate"
  6319          x-throttling-group: "Medium"
  6320          x-metered-api: true
  6321          x-metering-group: "System"
  6322          x-app-permission: "EditExtensions"
  6323          x-access-level: "Internal"
  6324      /restapi/v1.0/account/{accountId}/extension/{extensionId}/credentials/verify:
  6325        post:
  6326          tags:
  6327            - "User Settings"
  6328          summary: "Verify Extension User Credentials"
  6329          operationId: "verifyExtensionUserCredentials"
  6330          description: "<p style='font-style:italic;'>Since 1.0.27 (Release 8.3)</p><p>Verifies current extension user credentials.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  6331          consumes:
  6332            - "application/json"
  6333          produces:
  6334            - "application/json"
  6335          parameters:
  6336            -
  6337              name: "accountId"
  6338              type: "string"
  6339              in: "path"
  6340              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6341              required: true
  6342              default: "~"
  6343            -
  6344              name: "extensionId"
  6345              type: "string"
  6346              in: "path"
  6347              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  6348              required: true
  6349              default: "~"
  6350            -
  6351              name: "body"
  6352              in: "body"
  6353              description: "JSON body"
  6354              schema:
  6355                $ref: "#/definitions/VerifyExtensionUserCredentials"
  6356              required: true
  6357          responses:
  6358            default:
  6359              description: "Success"
  6360          x-api-group: "extension/credentials/validate"
  6361          x-throttling-group: "Medium"
  6362          x-metered-api: true
  6363          x-metering-group: "System"
  6364          x-app-permission: "EditExtensions"
  6365          x-user-permission: "EditUserCredentials"
  6366          x-access-level: "Internal"
  6367      /restapi/v1.0/dictionary/secret-question:
  6368        get:
  6369          tags:
  6370            - "User Settings"
  6371          summary: "Get Secret Questions"
  6372          description: "<p style='font-style:italic;'>Since 1.0.20 (Release 7.4)</p><p>Returns the list of secret questions for a specific language.</p><h4>Usage Plan Group</h4><p>Light</p>"
  6373          operationId: "listSecretQuestions"
  6374          consumes:
  6375            - "application/json"
  6376          produces:
  6377            - "application/json"
  6378          parameters:
  6379            -
  6380              name: "signupOnly"
  6381              in: "query"
  6382              required: false
  6383              type: "boolean"
  6384              default: false
  6385            -
  6386              name: "page"
  6387              in: "query"
  6388              required: false
  6389              type: "string"
  6390              default: "1"
  6391            -
  6392              name: "perPage"
  6393              in: "query"
  6394              required: false
  6395              type: "string"
  6396              default: "100"
  6397          responses:
  6398            default:
  6399              description: "Success"
  6400              schema:
  6401                $ref: "#/definitions/GetSecretQuestionListResponse"
  6402          x-api-group: "dictionary/secret-question"
  6403          x-throttling-group: "Light"
  6404          x-metered-api: true
  6405          x-metering-group: "System"
  6406          x-access-level: "Internal"
  6407      /restapi/v1.0/dictionary/secret-question/{questionId}:
  6408        get:
  6409          tags:
  6410            - "User Settings"
  6411          summary: "Get Secret Question"
  6412          description: "<p style='font-style:italic;'>Since 1.0.20 (Release 7.4)</p><p>Returns a particular secret question in specific language by question ID.</p><h4>Usage Plan Group</h4><p>Light</p>"
  6413          operationId: "loadSecretQuestion"
  6414          consumes:
  6415            - "application/json"
  6416          produces:
  6417            - "application/json"
  6418          parameters:
  6419            -
  6420              name: "questionId"
  6421              in: "path"
  6422              description: "Internal identifier of a question"
  6423              required: true
  6424              type: "integer"
  6425          responses:
  6426            default:
  6427              description: "Success"
  6428              schema:
  6429                $ref: "#/definitions/SecretQuestionInfo"
  6430          x-api-group: "dictionary/secret-question"
  6431          x-throttling-group: "Light"
  6432          x-metered-api: true
  6433          x-metering-group: "System"
  6434          x-access-level: "Internal"
  6435      /restapi/v1.0/account/{accountId}/extension/{extensionId}/grant:
  6436        get:
  6437          tags:
  6438            - "User Settings"
  6439          summary: "Get Extension Grants"
  6440          description: "<p style='font-style:italic;'></p><p>Returns the list of extension grants.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  6441          operationId: "listExtensionGrants"
  6442          consumes:
  6443            - "application/json"
  6444          produces:
  6445            - "application/json"
  6446          parameters:
  6447            -
  6448              name: "accountId"
  6449              in: "path"
  6450              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6451              required: true
  6452              type: "string"
  6453              default: "~"
  6454            -
  6455              name: "extensionId"
  6456              in: "path"
  6457              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  6458              required: true
  6459              type: "string"
  6460              default: "~"
  6461            -
  6462              name: "page"
  6463              in: "query"
  6464              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  6465              required: false
  6466              type: "integer"
  6467            -
  6468              name: "perPage"
  6469              in: "query"
  6470              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  6471              required: false
  6472              type: "integer"
  6473          responses:
  6474            default:
  6475              description: "Success"
  6476              schema:
  6477                $ref: "#/definitions/GetExtensionGrantListResponse"
  6478          x-api-group: "extension/grant"
  6479          x-throttling-group: "Light"
  6480          x-metered-api: true
  6481          x-metering-group: "System"
  6482          x-app-permission: "ReadAccounts"
  6483          x-user-permission: "ReadExtensions"
  6484          x-access-level: "Public"
  6485      /restapi/v1.0/account/{accountId}/extension/{extensionId}/notification-settings:
  6486        get:
  6487          tags:
  6488            - "User Settings"
  6489          summary: "Get Notification Settings"
  6490          description: "<p style='font-style:italic;'>Since 1.0.26 (Release 8.2)</p><p>Returns notification settings for the current extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  6491          operationId: "getNotificationSettings"
  6492          consumes:
  6493            - "application/json"
  6494          produces:
  6495            - "application/json"
  6496          parameters:
  6497            -
  6498              name: "accountId"
  6499              in: "path"
  6500              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6501              required: true
  6502              type: "string"
  6503              default: "~"
  6504            -
  6505              name: "extensionId"
  6506              in: "path"
  6507              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  6508              required: true
  6509              type: "string"
  6510          responses:
  6511            default:
  6512              description: "Success"
  6513              schema:
  6514                $ref: "#/definitions/NotificationSettings"
  6515          x-api-group: "extension/notification-settings"
  6516          x-throttling-group: "Light"
  6517          x-metered-api: true
  6518          x-metering-group: "System"
  6519          x-app-permission: "ReadAccounts"
  6520          x-user-permission: "ReadMessagesNotificationsSettings"
  6521          x-access-level: "PublicBeta"
  6522        put:
  6523          tags:
  6524            - "User Settings"
  6525          summary: "Update Notification Settings"
  6526          description: "<p style='font-style:italic;'>Since 1.0.26 (Release 8.2)</p><p>Updates notification settings for the current extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  6527          operationId: "updateNotificationSettings"
  6528          consumes:
  6529            - "application/json"
  6530          produces:
  6531            - "application/json"
  6532          parameters:
  6533            -
  6534              name: "accountId"
  6535              in: "path"
  6536              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6537              required: true
  6538              type: "string"
  6539              default: "~"
  6540            -
  6541              name: "extensionId"
  6542              in: "path"
  6543              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  6544              required: true
  6545              type: "integer"
  6546            -
  6547              in: "body"
  6548              name: "body"
  6549              required: true
  6550              schema:
  6551                $ref: "#/definitions/NotificationSettingsUpdateRequest"
  6552          responses:
  6553            default:
  6554              description: "Success"
  6555              schema:
  6556                $ref: "#/definitions/NotificationSettings"
  6557          x-api-group: "extension/notification-settings"
  6558          x-throttling-group: "Medium"
  6559          x-metered-api: true
  6560          x-metering-group: "System"
  6561          x-app-permission: "EditExtensions"
  6562          x-user-permission: "EditMessagesNotificationsSettings"
  6563          x-access-level: "PublicBeta"
  6564      /restapi/v1.0/account/{accountId}/extension/{extensionId}/profile-image:
  6565        get:
  6566          tags:
  6567            - "User Settings"
  6568          summary: "Get User Profile Image"
  6569          description: "<p style='font-style:italic;'>Since 1.0.20 (Release 7.4)</p><p>Returns the extension profile image.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  6570          operationId: "downloadImage"
  6571          consumes:
  6572            - "application/json"
  6573          produces:
  6574            - "*/*"
  6575            - "image/png"
  6576            - "image/jpeg"
  6577            - "image/gif"
  6578          parameters:
  6579            -
  6580              name: "extensionId"
  6581              in: "path"
  6582              required: true
  6583              type: "string"
  6584            -
  6585              name: "accountId"
  6586              in: "path"
  6587              required: true
  6588              type: "string"
  6589          responses:
  6590            default:
  6591              description: "successful operation"
  6592              schema:
  6593                $ref: "#/definitions/Binary"
  6594          x-api-group: "extension/profile-image"
  6595          x-throttling-group: "Medium"
  6596          x-metered-api: true
  6597          x-metering-group: "System"
  6598          x-app-permission: "ReadAccounts"
  6599          x-user-permission: "ReadExtensions"
  6600          x-access-level: "Public"
  6601        post:
  6602          tags:
  6603            - "User Settings"
  6604          summary: "Upload User Profile Image"
  6605          description: "<p style='font-style:italic;'>Since 1.0.26 (Release 8.2)</p><p>Returns the extension profile image.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  6606          operationId: "uploadImageByPostForm"
  6607          consumes:
  6608            - "multipart/form-data"
  6609          produces:
  6610            - "application/json"
  6611          parameters:
  6612            -
  6613              name: "image"
  6614              in: "formData"
  6615              required: true
  6616              type: "file"
  6617            -
  6618              name: "extensionId"
  6619              in: "path"
  6620              required: true
  6621              type: "string"
  6622            -
  6623              name: "accountId"
  6624              in: "path"
  6625              required: true
  6626              type: "string"
  6627          responses:
  6628            default:
  6629              description: "successful operation"
  6630              schema:
  6631                $ref: "#/definitions/Binary"
  6632          x-api-group: "extension/profile-image"
  6633          x-throttling-group: "Heavy"
  6634          x-metered-api: true
  6635          x-metering-group: "System"
  6636          x-app-permission: "EditExtensions"
  6637          x-user-permission: "EditUserInfo"
  6638          x-access-level: "Public"
  6639        put:
  6640          tags:
  6641            - "User Settings"
  6642          summary: "Update User Profile Image"
  6643          description: "<p style='font-style:italic;'>Since 1.0.26 (Release 8.2)</p><p>Updates the extension profile image..</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  6644          operationId: "uploadImageByPutForm"
  6645          consumes:
  6646            - "multipart/form-data"
  6647          produces:
  6648            - "application/json"
  6649          parameters:
  6650            -
  6651              name: "image"
  6652              in: "formData"
  6653              required: false
  6654              type: "file"
  6655            -
  6656              name: "extensionId"
  6657              in: "path"
  6658              required: true
  6659              type: "string"
  6660            -
  6661              name: "accountId"
  6662              in: "path"
  6663              required: true
  6664              type: "string"
  6665          responses:
  6666            default:
  6667              description: "successful operation"
  6668              schema:
  6669                $ref: "#/definitions/Binary"
  6670          x-api-group: "extension/profile-image"
  6671          x-throttling-group: "Heavy"
  6672          x-metered-api: true
  6673          x-metering-group: "System"
  6674          x-app-permission: "EditExtensions"
  6675          x-user-permission: "EditUserInfo"
  6676          x-access-level: "Public"
  6677      /restapi/v1.0/account/{accountId}/extension/{extensionId}/profile-image/{scaleSize}:
  6678        get:
  6679          tags:
  6680            - "User Settings"
  6681          summary: "Get Extension Profile Image (Scaled)"
  6682          description: "<p style='font-style:italic;'></p><p>Returns the extension profile image.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  6683          operationId: "loadExtensionProfileImage"
  6684          consumes:
  6685            - "application/json"
  6686          produces:
  6687            - "application/json"
  6688          parameters:
  6689            -
  6690              name: "accountId"
  6691              in: "path"
  6692              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6693              required: true
  6694              type: "string"
  6695              default: "~"
  6696            -
  6697              name: "extensionId"
  6698              in: "path"
  6699              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  6700              required: true
  6701              type: "string"
  6702              default: "~"
  6703            -
  6704              name: "scaleSize"
  6705              in: "path"
  6706              description: "Dimensions of a profile image which will be returned in response. If this path parameter is not specified in request URI then"
  6707              required: true
  6708              type: "string"
  6709          responses:
  6710            default:
  6711              description: "Success"
  6712              schema:
  6713                $ref: "#/definitions/Binary"
  6714          x-api-group: "extension/profile-image"
  6715          x-throttling-group: "Light"
  6716          x-metered-api: true
  6717          x-metering-group: "System"
  6718          x-app-permission: "ReadAccounts"
  6719          x-user-permission: "ReadExtensions"
  6720          x-access-level: "Public"
  6721      /restapi/v1.0/account/{accountId}/extension/{extensionId}/conferencing:
  6722        get:
  6723          tags:
  6724            - "User Settings"
  6725          summary: "Get User Conferencing Settings"
  6726          description: "<p style='font-style:italic;'>Since 1.0.4 (Release 5.13)</p><p>Returns the information on the Free Conference Calling (FCC) feature for a given extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  6727          operationId: "loadConferencingInfo"
  6728          consumes:
  6729            - "application/json"
  6730          produces:
  6731            - "application/json"
  6732          parameters:
  6733            -
  6734              name: "accountId"
  6735              in: "path"
  6736              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6737              required: true
  6738              type: "string"
  6739              default: "~"
  6740            -
  6741              name: "extensionId"
  6742              in: "path"
  6743              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  6744              required: true
  6745              type: "string"
  6746              default: "~"
  6747            -
  6748              name: "countryId"
  6749              in: "query"
  6750              description: "Internal identifier of a country. If not specified, the response is returned for the brand country"
  6751              required: false
  6752              type: "string"
  6753          responses:
  6754            default:
  6755              description: "Success"
  6756              schema:
  6757                $ref: "#/definitions/GetConferencingInfoResponse"
  6758          x-api-group: "extension/conferencing"
  6759          x-throttling-group: "Light"
  6760          x-metered-api: true
  6761          x-metering-group: "System"
  6762          x-app-permission: "ReadAccounts"
  6763          x-user-permission: "OrganizeConference"
  6764          x-access-level: "Public"
  6765        put:
  6766          tags:
  6767            - "User Settings"
  6768          summary: "Update User Conferencing Settings"
  6769          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  6770          operationId: "updateConferencingInfo"
  6771          consumes:
  6772            - "application/json"
  6773          produces:
  6774            - "application/json"
  6775          parameters:
  6776            -
  6777              name: "accountId"
  6778              in: "path"
  6779              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6780              required: true
  6781              type: "string"
  6782              default: "~"
  6783            -
  6784              name: "extensionId"
  6785              in: "path"
  6786              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  6787              required: true
  6788              type: "string"
  6789              default: "~"
  6790            -
  6791              in: "body"
  6792              name: "body"
  6793              description: "JSON body"
  6794              required: true
  6795              schema:
  6796                $ref: "#/definitions/UpdateConferencingInfoRequest"
  6797          responses:
  6798            default:
  6799              description: "Success"
  6800              schema:
  6801                $ref: "#/definitions/GetConferencingInfoResponse"
  6802          x-api-group: "extension/conferencing"
  6803          x-throttling-group: "Medium"
  6804          x-metered-api: true
  6805          x-metering-group: "System"
  6806          x-user-permission: "OrganizeConference"
  6807          x-app-permission: "EditExtensions"
  6808          x-access-level: "Public"
  6809      /restapi/v1.0/account/{accountId}:
  6810        get:
  6811          tags:
  6812            - "Company Settings"
  6813          summary: "Get Company Info"
  6814          description: "<p style='font-style:italic;'>Since 1.0.0</p><p>Returns basic information about a particular RingCentral customer account.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  6815          operationId: "loadAccount"
  6816          consumes:
  6817            - "application/json"
  6818          produces:
  6819            - "application/json"
  6820          parameters:
  6821            -
  6822              name: "accountId"
  6823              in: "path"
  6824              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6825              required: true
  6826              type: "string"
  6827              default: "~"
  6828          responses:
  6829            default:
  6830              description: "Success"
  6831              schema:
  6832                $ref: "#/definitions/GetAccountInfoResponse"
  6833          x-api-group: "account"
  6834          x-throttling-group: "Light"
  6835          x-metered-api: true
  6836          x-metering-group: "System"
  6837          x-app-permission: "ReadAccounts"
  6838          x-user-permission: "ReadCompanyInfo"
  6839          x-access-level: "Public"
  6840        put:
  6841          tags:
  6842            - "Company Settings"
  6843          summary: "Update Company"
  6844          description: "<p style='font-style:italic;'>Since 1.0.0</p><p>Updates account information.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  6845          operationId: "modifyAccount"
  6846          consumes:
  6847            - "application/json"
  6848          produces:
  6849            - "application/json"
  6850          parameters:
  6851            -
  6852              name: "accountId"
  6853              in: "path"
  6854              required: true
  6855              type: "string"
  6856            -
  6857              in: "body"
  6858              name: "body"
  6859              description: "JSON body"
  6860              required: true
  6861              schema:
  6862                $ref: "#/definitions/UpdateAccountRequest"
  6863          responses:
  6864            default:
  6865              description: "successful operation"
  6866              schema:
  6867                $ref: "#/definitions/GetAccountInfoResponse"
  6868          x-api-group: "account"
  6869          x-throttling-group: "Medium"
  6870          x-metered-api: true
  6871          x-metering-group: "System"
  6872          x-app-permission: "EditAccounts"
  6873          x-user-permission: "EditCompanyInfo"
  6874          x-access-level: "Internal"
  6875        delete:
  6876          tags:
  6877            - "Company Settings"
  6878          summary: "Delete Account"
  6879          description: "<p style='font-style:italic;'>Since 1.0.0</p><p>Updates account information.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  6880          operationId: "deleteAccount"
  6881          consumes:
  6882            - "application/json"
  6883          produces:
  6884            - "application/json"
  6885          parameters:
  6886            -
  6887              name: "accountId"
  6888              in: "path"
  6889              required: true
  6890              type: "string"
  6891          responses:
  6892            default:
  6893              description: "successful operation"
  6894          x-api-group: "account"
  6895          x-throttling-group: "Medium"
  6896          x-metered-api: true
  6897          x-metering-group: "System"
  6898          x-app-permission: "Accounts"
  6899          x-access-level: "Internal"
  6900      /restapi/v1.0/account/{accountId}/business-address:
  6901        get:
  6902          tags:
  6903            - "Company Settings"
  6904          summary: "Get Company Business Address"
  6905          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  6906          operationId: "loadAccountBusinessAddress"
  6907          consumes:
  6908            - "application/json"
  6909          produces:
  6910            - "application/json"
  6911          parameters:
  6912            -
  6913              name: "accountId"
  6914              in: "path"
  6915              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6916              required: true
  6917              type: "string"
  6918              default: "~"
  6919          responses:
  6920            default:
  6921              description: "Success"
  6922              schema:
  6923                $ref: "#/definitions/GetAccountInfoResponse"
  6924          x-api-group: "account/business-address"
  6925          x-throttling-group: "Light"
  6926          x-metered-api: true
  6927          x-metering-group: "System"
  6928          x-app-permission: "ReadAccounts"
  6929          x-user-permission: "ReadCompanyInfo"
  6930          x-access-level: "Public"
  6931        put:
  6932          tags:
  6933            - "Company Settings"
  6934          summary: "Update Company Business Address"
  6935          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  6936          operationId: "updateAccountBusinessAddress"
  6937          consumes:
  6938            - "application/json"
  6939          produces:
  6940            - "application/json"
  6941          parameters:
  6942            -
  6943              name: "accountId"
  6944              in: "path"
  6945              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6946              required: true
  6947              type: "string"
  6948              default: "~"
  6949            -
  6950              in: "body"
  6951              name: "body"
  6952              description: "JSON body"
  6953              required: true
  6954              schema:
  6955                $ref: "#/definitions/ModifyAccountBusinessAddressRequest"
  6956          responses:
  6957            default:
  6958              description: "Success"
  6959              schema:
  6960                $ref: "#/definitions/AccountBusinessAddressResource"
  6961          x-api-group: "account/business-address"
  6962          x-throttling-group: "Medium"
  6963          x-metered-api: true
  6964          x-metering-group: "System"
  6965          x-app-permission: "EditAccounts"
  6966          x-user-permission: "EditCompanyInfo"
  6967          x-access-level: "Advanced"
  6968      /restapi/v1.0/account/{accountId}/service-info:
  6969        get:
  6970          tags:
  6971            - "Company Settings"
  6972          summary: "Get Account Service Info"
  6973          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  6974          operationId: "loadServiceInfo"
  6975          consumes:
  6976            - "application/json"
  6977          produces:
  6978            - "application/json"
  6979          parameters:
  6980            -
  6981              name: "accountId"
  6982              in: "path"
  6983              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  6984              required: true
  6985              type: "string"
  6986              default: "~"
  6987          responses:
  6988            default:
  6989              description: "Success"
  6990              schema:
  6991                $ref: "#/definitions/GetServiceInfoResponse"
  6992          x-api-group: "account/service-info"
  6993          x-throttling-group: "Light"
  6994          x-metered-api: true
  6995          x-metering-group: "System"
  6996          x-app-permission: "ReadAccounts"
  6997          x-user-permission: "ReadServicePlanInfo"
  6998          x-access-level: "Advanced"
  6999        put:
  7000          tags:
  7001            - "Company Settings"
  7002          summary: "Update Account Service Info [Beta]"
  7003          operationId: "updateServiceInfo"
  7004          description: "<p style='font-style:italic;'>Since 1.0.29 (Release 9.0)</p><p>Updates limitations for a particular RingCentral customer account.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Accounts</td><td>Managing accounts: creating new accounts, viewing and updating account information, deleting existing accounts</td></tr><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  7005          consumes:
  7006            - "application/json"
  7007          produces:
  7008            - "application/json"
  7009          parameters:
  7010            -
  7011              name: "accountId"
  7012              type: "string"
  7013              in: "path"
  7014              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  7015              required: true
  7016              default: "~"
  7017            -
  7018              name: "body"
  7019              in: "body"
  7020              description: "JSON body"
  7021              schema:
  7022                $ref: "#/definitions/ServiceInfoRequest"
  7023              required: true
  7024          responses:
  7025            default:
  7026              description: "Success"
  7027              schema:
  7028                $ref: "#/definitions/AccountServiceInfo"
  7029          x-api-group: "account/service-info"
  7030          x-throttling-group: "Light"
  7031          x-metered-api: true
  7032          x-metering-group: "System"
  7033          x-app-permission: "Accounts"
  7034          x-user-permission: "EditServicePlanInfo"
  7035          x-access-level: "Internal"
  7036      /restapi/v1.0/account/{accountId}/dialing-plan:
  7037        get:
  7038          tags:
  7039            - "Company Settings"
  7040          summary: "Get Available Dialing Plans"
  7041          description: "<p style='font-style:italic;'></p><p>Returns list of countries which can be selected for a dialing plan (to call short numbers and special services).</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  7042          operationId: "listDialingPlans"
  7043          consumes:
  7044            - "application/json"
  7045          produces:
  7046            - "application/json"
  7047          parameters:
  7048            -
  7049              name: "accountId"
  7050              in: "path"
  7051              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  7052              required: true
  7053              type: "string"
  7054              default: "~"
  7055            -
  7056              name: "page"
  7057              in: "query"
  7058              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  7059              required: false
  7060              type: "integer"
  7061            -
  7062              name: "perPage"
  7063              in: "query"
  7064              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  7065              required: false
  7066              type: "integer"
  7067          responses:
  7068            default:
  7069              description: "Success"
  7070              schema:
  7071                $ref: "#/definitions/GetDialingPlanInfo"
  7072          x-api-group: "account/dialing-plan"
  7073          x-throttling-group: "Heavy"
  7074          x-metered-api: true
  7075          x-metering-group: "System"
  7076          x-app-permission: "ReadAccounts"
  7077          x-user-permission: "ReadUserInfo"
  7078          x-access-level: "Internal"
  7079      /restapi/v1.0/dictionary/language:
  7080        get:
  7081          tags:
  7082            - "Regional Settings"
  7083          summary: "Get Language List"
  7084          description: "<p style='font-style:italic;'>Since 1.0.14 (Release 6.6)</p><p>Returns the information about supported languages.</p><h4>Usage Plan Group</h4><p>Light</p>"
  7085          operationId: "listLanguages"
  7086          consumes:
  7087            - "application/json"
  7088          produces:
  7089            - "application/json"
  7090          responses:
  7091            default:
  7092              description: "Success"
  7093              schema:
  7094                $ref: "#/definitions/LanguageList"
  7095          x-api-group: "dictionary/language"
  7096          x-throttling-group: "Light"
  7097          x-metered-api: true
  7098          x-metering-group: "System"
  7099          x-access-level: "Public"
  7100      /restapi/v1.0/dictionary/language/{languageId}:
  7101        get:
  7102          tags:
  7103            - "Regional Settings"
  7104          summary: "Get Language"
  7105          description: "<p style='font-style:italic;'>Since 1.0.14 (Release 6.6)</p><p>Returns language by its respective ID.</p><h4>Usage Plan Group</h4><p>Light</p>"
  7106          operationId: "loadLanguage"
  7107          consumes:
  7108            - "application/json"
  7109          produces:
  7110            - "application/json"
  7111          parameters:
  7112            -
  7113              name: "languageId"
  7114              in: "path"
  7115              description: "Internal identifier of a language"
  7116              required: true
  7117              type: "integer"
  7118          responses:
  7119            default:
  7120              description: "Success"
  7121              schema:
  7122                $ref: "#/definitions/LanguageInfo"
  7123          x-api-group: "dictionary/language"
  7124          x-throttling-group: "Light"
  7125          x-metered-api: true
  7126          x-metering-group: "System"
  7127          x-access-level: "Public"
  7128      /restapi/v1.0/dictionary/country:
  7129        get:
  7130          tags:
  7131            - "Regional Settings"
  7132          summary: "Get Country List"
  7133          description: "<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns all the countries available for calling.</p><h4>Usage Plan Group</h4><p>Light</p>"
  7134          operationId: "listCountries"
  7135          consumes:
  7136            - "application/json"
  7137          produces:
  7138            - "application/json"
  7139          parameters:
  7140            -
  7141              name: "loginAllowed"
  7142              in: "query"
  7143              description: "Specifies whether login with the phone numbers of this country is enabled or not"
  7144              required: false
  7145              type: "boolean"
  7146            -
  7147              name: "signupAllowed"
  7148              in: "query"
  7149              description: "Indicates whether signup/billing is allowed for a country. If not specified all countries are returned (according to other filters specified if any)"
  7150              required: false
  7151              type: "boolean"
  7152            -
  7153              name: "numberSelling"
  7154              in: "query"
  7155              description: "Specifies if RingCentral sells phone numbers of this country"
  7156              required: false
  7157              type: "boolean"
  7158            -
  7159              name: "page"
  7160              in: "query"
  7161              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  7162              required: false
  7163              type: "integer"
  7164            -
  7165              name: "perPage"
  7166              in: "query"
  7167              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  7168              required: false
  7169              type: "integer"
  7170            -
  7171              name: "freeSoftphoneLine"
  7172              in: "query"
  7173              description: "Specifies if free phone line for softphone is available for a country or not"
  7174              required: false
  7175              type: "boolean"
  7176          responses:
  7177            default:
  7178              description: "Success"
  7179              schema:
  7180                $ref: "#/definitions/GetCountryListResponse"
  7181          x-api-group: "dictionary/country"
  7182          x-throttling-group: "Light"
  7183          x-metered-api: true
  7184          x-metering-group: "System"
  7185          x-access-level: "Public"
  7186      /restapi/v1.0/dictionary/country/{countryId}:
  7187        get:
  7188          tags:
  7189            - "Regional Settings"
  7190          summary: "Get Country"
  7191          description: "<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns the information on the required country.</p><h4>Usage Plan Group</h4><p>Light</p>"
  7192          operationId: "loadCountry"
  7193          consumes:
  7194            - "application/json"
  7195          produces:
  7196            - "application/json"
  7197          parameters:
  7198            -
  7199              name: "countryId"
  7200              in: "path"
  7201              description: "Internal identifier of a country"
  7202              required: true
  7203              type: "integer"
  7204          responses:
  7205            default:
  7206              description: "Success"
  7207              schema:
  7208                $ref: "#/definitions/GetCountryInfoDictionaryResponse"
  7209          x-api-group: "dictionary/country"
  7210          x-throttling-group: "Light"
  7211          x-metered-api: true
  7212          x-metering-group: "System"
  7213          x-access-level: "Public"
  7214      /restapi/v1.0/dictionary/location:
  7215        get:
  7216          tags:
  7217            - "Regional Settings"
  7218          summary: "Get Location List"
  7219          description: "<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns all the available locations for the certain state.</p><h4>Usage Plan Group</h4><p>Light</p>"
  7220          operationId: "listLocations"
  7221          consumes:
  7222            - "application/json"
  7223          produces:
  7224            - "application/json"
  7225          parameters:
  7226            -
  7227              name: "orderBy"
  7228              in: "query"
  7229              description: "Sorts results by the specified property. The default value is 'City'"
  7230              required: false
  7231              type: "array"
  7232              items:
  7233                type: "string"
  7234              collectionFormat: "multi"
  7235              enum:
  7236                - "Npa"
  7237                - "City"
  7238            -
  7239              name: "page"
  7240              in: "query"
  7241              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'."
  7242              required: false
  7243              type: "integer"
  7244            -
  7245              name: "perPage"
  7246              in: "query"
  7247              description: "Indicates the page size (number of items). If not specified, the value is '100' by default."
  7248              required: false
  7249              type: "integer"
  7250            -
  7251              name: "stateId"
  7252              in: "query"
  7253              description: "Internal identifier of a state"
  7254              required: false
  7255              type: "string"
  7256            -
  7257              name: "withNxx"
  7258              in: "query"
  7259              description: "Specifies if nxx codes are returned"
  7260              required: false
  7261              type: "boolean"
  7262          responses:
  7263            default:
  7264              description: "Success"
  7265              schema:
  7266                $ref: "#/definitions/GetLocationListResponse"
  7267          x-api-group: "dictionary/location"
  7268          x-throttling-group: "Light"
  7269          x-metered-api: true
  7270          x-metering-group: "System"
  7271          x-access-level: "Public"
  7272      /restapi/v1.0/dictionary/state:
  7273        get:
  7274          tags:
  7275            - "Regional Settings"
  7276          summary: "Get State List"
  7277          description: "<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns all the states for a certain country.</p><h4>Usage Plan Group</h4><p>Light</p>"
  7278          operationId: "loadlistStates"
  7279          consumes:
  7280            - "application/json"
  7281          produces:
  7282            - "application/json"
  7283          parameters:
  7284            -
  7285              name: "countryId"
  7286              in: "query"
  7287              description: "Internal identifier of a country"
  7288              required: false
  7289              type: "integer"
  7290            -
  7291              name: "page"
  7292              in: "query"
  7293              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'."
  7294              required: false
  7295              type: "integer"
  7296            -
  7297              name: "perPage"
  7298              in: "query"
  7299              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  7300              required: false
  7301              type: "integer"
  7302            -
  7303              name: "withPhoneNumbers"
  7304              in: "query"
  7305              description: "If 'True', the list of states with phone numbers available for buying is returned. The default value is 'False'"
  7306              required: false
  7307              type: "boolean"
  7308          responses:
  7309            default:
  7310              description: "Success"
  7311              schema:
  7312                $ref: "#/definitions/GetStateListResponse"
  7313          x-api-group: "dictionary/state"
  7314          x-throttling-group: "Light"
  7315          x-metered-api: true
  7316          x-metering-group: "System"
  7317          x-access-level: "Public"
  7318      /restapi/v1.0/dictionary/state/{stateId}:
  7319        get:
  7320          tags:
  7321            - "Regional Settings"
  7322          summary: "Get State"
  7323          description: "<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns the information on the required state.</p><h4>Usage Plan Group</h4><p>Light</p>"
  7324          operationId: "loadState"
  7325          consumes:
  7326            - "application/json"
  7327          produces:
  7328            - "application/json"
  7329          parameters:
  7330            -
  7331              name: "stateId"
  7332              in: "path"
  7333              description: "Internal identifier of a state"
  7334              required: true
  7335              type: "integer"
  7336          responses:
  7337            default:
  7338              description: "Success"
  7339              schema:
  7340                $ref: "#/definitions/GetStateInfoResponse"
  7341          x-api-group: "dictionary/state"
  7342          x-throttling-group: "Light"
  7343          x-metered-api: true
  7344          x-metering-group: "System"
  7345          x-access-level: "Public"
  7346      /restapi/v1.0/dictionary/timezone:
  7347        get:
  7348          tags:
  7349            - "Regional Settings"
  7350          summary: "Get Timezone List"
  7351          description: "<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns all available timezones.</p><h4>Usage Plan Group</h4><p>Light</p>"
  7352          operationId: "listTimezones"
  7353          consumes:
  7354            - "application/json"
  7355          produces:
  7356            - "application/json"
  7357          parameters:
  7358            -
  7359              name: "page"
  7360              in: "query"
  7361              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  7362              required: false
  7363              type: "string"
  7364            -
  7365              name: "perPage"
  7366              in: "query"
  7367              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  7368              required: false
  7369              type: "string"
  7370          responses:
  7371            default:
  7372              description: "Success"
  7373              schema:
  7374                $ref: "#/definitions/GetTimezoneListResponse"
  7375          x-api-group: "dictionary/timezone"
  7376          x-throttling-group: "Light"
  7377          x-metered-api: true
  7378          x-metering-group: "System"
  7379          x-access-level: "Public"
  7380      /restapi/v1.0/dictionary/timezone/{timezoneId}:
  7381        get:
  7382          tags:
  7383            - "Regional Settings"
  7384          summary: "Get Timezone"
  7385          description: "<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns the information on a certain timezone.</p><h4>Usage Plan Group</h4><p>Light</p>"
  7386          operationId: "loadTimezone"
  7387          consumes:
  7388            - "application/json"
  7389          produces:
  7390            - "application/json"
  7391          parameters:
  7392            -
  7393              name: "timezoneId"
  7394              in: "path"
  7395              description: "Internal identifier of a timezone"
  7396              required: true
  7397              type: "integer"
  7398            -
  7399              name: "page"
  7400              in: "query"
  7401              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  7402              required: false
  7403              type: "integer"
  7404            -
  7405              name: "perPage"
  7406              in: "query"
  7407              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  7408              required: false
  7409              type: "integer"
  7410          responses:
  7411            default:
  7412              description: "Success"
  7413              schema:
  7414                $ref: "#/definitions/GetTimezoneInfoResponse"
  7415          x-api-group: "dictionary/timezone"
  7416          x-throttling-group: "Light"
  7417          x-metered-api: true
  7418          x-metering-group: "System"
  7419          x-access-level: "Public"
  7420      /restapi/v1.0/dictionary/brand/{brandId}:
  7421        get:
  7422          tags:
  7423            - "Account Provisioning"
  7424          summary: "Get Brand Info"
  7425          operationId: "getBrandInfo"
  7426          consumes:
  7427            - "application/json"
  7428          produces:
  7429            - "application/json"
  7430          parameters:
  7431            -
  7432              name: "brandId"
  7433              in: "path"
  7434              required: true
  7435              type: "string"
  7436          responses:
  7437            default:
  7438              description: "successful operation"
  7439              schema:
  7440                $ref: "#/definitions/BrandResource"
  7441          x-api-group: "dictionary/brand"
  7442          x-throttling-group: "Light"
  7443          x-metered-api: true
  7444          x-metering-group: "System"
  7445          x-access-level: "Internal"
  7446      /restapi/v1.0/dictionary/service-plan/{servicePlanId}:
  7447        get:
  7448          tags:
  7449            - "Account Provisioning"
  7450          summary: "Get Service Plan"
  7451          operationId: "getServicePlanInfo"
  7452          consumes:
  7453            - "application/json"
  7454          produces:
  7455            - "application/json"
  7456          parameters:
  7457            -
  7458              name: "servicePlanId"
  7459              in: "path"
  7460              required: true
  7461              type: "string"
  7462          responses:
  7463            default:
  7464              description: "successful operation"
  7465              schema:
  7466                $ref: "#/definitions/ServicePlanResource"
  7467          x-api-group: "dictionary/service-plan"
  7468          x-throttling-group: "Light"
  7469          x-metered-api: true
  7470          x-metering-group: "System"
  7471          x-access-level: "Internal"
  7472      /restapi/v1.0/number-pool/lookup:
  7473        post:
  7474          tags:
  7475            - "Account Provisioning"
  7476          summary: "Get Numbers"
  7477          description: "<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns the required numbers filtered by criteria.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>NumberLookup</td><td>Looking-up and reserving available phone number</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  7478          operationId: "lookupPhoneNumbers"
  7479          consumes:
  7480            - "application/json"
  7481          produces:
  7482            - "application/json"
  7483          parameters:
  7484            -
  7485              name: "areaCode"
  7486              in: "query"
  7487              description: "Area code of the location"
  7488              required: false
  7489              type: "integer"
  7490            -
  7491              name: "countryCode"
  7492              in: "query"
  7493              description: "Two-letter country code, complying with the ISO standard"
  7494              required: false
  7495              type: "string"
  7496            -
  7497              name: "countryId"
  7498              in: "query"
  7499              description: "Internal identifier of a country; '1'- the US; '39' - Canada; '224' - the UK. The default value is '1'"
  7500              required: false
  7501              type: "string"
  7502            -
  7503              name: "exclude"
  7504              in: "query"
  7505              description: "A string of digits (one and more) that should not appear among the last four digits (line part) of the phone numbers that will be returned. It is possible to specify severalT?exclude parameters. If specified, it is taken into account in all returned phone numbers both in the phone numbers satisfying to parameters of lookup and in alternative phone numbers (in case when extendedSearch is specified)"
  7506              required: false
  7507              type: "string"
  7508            -
  7509              name: "extendedSearch"
  7510              in: "query"
  7511              description: "If the value is 'False', then the returned numbers exactly correspond to the specified NXX, NPA and LINE or countryCode, areaCode and numberPattern parameters. If the value is 'True', then the resulting numbers are ranked and returned with the rank attribute values (1-10). The default value is 'False'"
  7512              required: false
  7513              type: "boolean"
  7514            -
  7515              name: "line"
  7516              in: "query"
  7517              description: "LINE pattern for vanity or wildcard search. Digits, Latin characters and asterisks are allowed (usually 4 characters)"
  7518              required: false
  7519              type: "string"
  7520            -
  7521              name: "numberPattern"
  7522              in: "query"
  7523              description: "Phone number pattern (for wildcard or vanity search). For NANP countries (US, Canada) is concatenation of nxx (the first three digits) and line. If the first three characters are specified as not digits (e.g. 5** or CAT) then parameter extendedSearch will be ignored."
  7524              required: false
  7525              type: "string"
  7526            -
  7527              name: "nxx"
  7528              in: "query"
  7529              description: "NXX pattern for vanity or wildcard search. Digits, Latin characters and asterisks are allowed (usually 3 characters)"
  7530              required: false
  7531              type: "string"
  7532            -
  7533              name: "npa"
  7534              in: "query"
  7535              description: "Area code (mandatory). For example, 800, 844, 855, 866, 877, 888 for North America; and 647 for Canada"
  7536              required: false
  7537              type: "string"
  7538            -
  7539              name: "paymentType"
  7540              in: "query"
  7541              description: "Payment type. Default is 'Local' (it should correlate with the npa provided)"
  7542              required: false
  7543              type: "array"
  7544              items:
  7545                type: "string"
  7546              collectionFormat: "multi"
  7547              enum:
  7548                - "TollFree"
  7549                - "Local"
  7550            -
  7551              name: "perPage"
  7552              in: "query"
  7553              description: "Indicates the page size (number of items). If not specified, the value is '10' by default"
  7554              required: false
  7555              type: "integer"
  7556            -
  7557              name: "providerId"
  7558              in: "query"
  7559              description: "Internal identifier of a phone number provider. Supported if brand is specified. If specified, area code and nxx are optional"
  7560              required: false
  7561              type: "integer"
  7562            -
  7563              name: "smsEnabled"
  7564              in: "query"
  7565              description: "Specifies if SMS activation is available for the number. If specified, it is taken into account in all returned phone numbers both in the phone numbers satisfying to parameters of lookup and in alternative phone numbers (in case when extendedSearch is specified). If not specified, the value is null."
  7566              required: false
  7567              type: "boolean"
  7568          responses:
  7569            default:
  7570              description: "Success"
  7571              schema:
  7572                $ref: "#/definitions/PhoneNumbers"
  7573          x-api-group: "number-pool/lookup"
  7574          x-throttling-group: "Medium"
  7575          x-metered-api: true
  7576          x-metering-group: "System"
  7577          x-app-permission: "NumberLookup"
  7578          x-access-level: "Internal"
  7579      /restapi/v1.0/number-pool/reserve:
  7580        post:
  7581          tags:
  7582            - "Account Provisioning"
  7583          summary: "Reserve/ Un-reserve Numbers"
  7584          description: "<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>NumberLookup</td><td>Looking-up and reserving available phone number</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  7585          operationId: "reservePhoneNumbers"
  7586          consumes:
  7587            - "application/json"
  7588          produces:
  7589            - "application/json"
  7590          parameters:
  7591            -
  7592              in: "body"
  7593              name: "body"
  7594              description: "JSON body"
  7595              required: true
  7596              schema:
  7597                $ref: "#/definitions/NumberPoolPhoneNumberRequest"
  7598          responses:
  7599            default:
  7600              description: "Success"
  7601              schema:
  7602                $ref: "#/definitions/ReservePhoneNumbersRecordsResource"
  7603          x-api-group: "number-pool/reserve"
  7604          x-throttling-group: "Medium"
  7605          x-metered-api: true
  7606          x-metering-group: "System"
  7607          x-app-permission: "NumberLookup"
  7608          x-access-level: "Internal"
  7609      /restapi/v1.0/account:
  7610        post:
  7611          tags:
  7612            - "Account Provisioning"
  7613          summary: "Create Account"
  7614          description: "<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Creates the account in Initial state.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Accounts</td><td>Managing accounts: creating new accounts, viewing and updating account information, deleting existing accounts</td></tr><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  7615          operationId: "createAccount"
  7616          consumes:
  7617            - "application/json"
  7618          produces:
  7619            - "application/json"
  7620          parameters:
  7621            -
  7622              in: "body"
  7623              name: "body"
  7624              description: "JSON body"
  7625              required: true
  7626              schema:
  7627                $ref: "#/definitions/CreateAccountRequest"
  7628          responses:
  7629            default:
  7630              description: "Success"
  7631              schema:
  7632                $ref: "#/definitions/GetAccountInfoResponse"
  7633          x-api-group: "account"
  7634          x-throttling-group: "Medium"
  7635          x-metered-api: true
  7636          x-metering-group: "System"
  7637          x-app-permission: "Accounts"
  7638          x-access-level: "Internal"
  7639      /restapi/v1.0/account/{accountId}/phone-number:
  7640        get:
  7641          tags:
  7642            - "Account Provisioning"
  7643          summary: "Get All Company Phone Numbers"
  7644          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  7645          operationId: "listAccountPhoneNumbers"
  7646          consumes:
  7647            - "application/json"
  7648          produces:
  7649            - "application/json"
  7650          parameters:
  7651            -
  7652              name: "accountId"
  7653              in: "path"
  7654              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  7655              required: true
  7656              type: "string"
  7657              default: "~"
  7658            -
  7659              name: "page"
  7660              in: "query"
  7661              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  7662              required: false
  7663              type: "integer"
  7664            -
  7665              name: "perPage"
  7666              in: "query"
  7667              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  7668              required: false
  7669              type: "integer"
  7670            -
  7671              name: "usageType"
  7672              in: "query"
  7673              description: "Usage type of the phone number"
  7674              required: false
  7675              type: "array"
  7676              items:
  7677                type: "string"
  7678              collectionFormat: "multi"
  7679              enum:
  7680                - "MainCompanyNumber"
  7681                - "AdditionalCompanyNumber"
  7682                - "CompanyNumber"
  7683                - "DirectNumber"
  7684                - "CompanyFaxNumber"
  7685                - "ForwardedNumber"
  7686                - "ForwardedCompanyNumber"
  7687                - "ContactCenterNumber"
  7688          responses:
  7689            default:
  7690              description: "Success"
  7691              schema:
  7692                $ref: "#/definitions/AccountPhoneNumbers"
  7693          x-api-group: "account/phone-number"
  7694          x-throttling-group: "Heavy"
  7695          x-metered-api: true
  7696          x-metering-group: "System"
  7697          x-app-permission: "ReadAccounts"
  7698          x-user-permission: "ReadCompanyPhoneNumbers"
  7699          x-access-level: "Public"
  7700        post:
  7701          tags:
  7702            - "Account Provisioning"
  7703          summary: "Provision Phone Numbers"
  7704          description: "<p style='font-style:italic;'>Since 1.0.11 (Release 6.3)</p><p>Provisions a phone number.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  7705          operationId: "provisionPhoneNumber"
  7706          consumes:
  7707            - "application/json"
  7708          produces:
  7709            - "application/json"
  7710          parameters:
  7711            -
  7712              name: "accountId"
  7713              in: "path"
  7714              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  7715              required: true
  7716              type: "string"
  7717              default: "~"
  7718            -
  7719              in: "body"
  7720              name: "body"
  7721              description: "JSON body"
  7722              required: true
  7723              schema:
  7724                $ref: "#/definitions/ProvisionPhoneNumberRequest"
  7725          responses:
  7726            default:
  7727              description: "Success"
  7728              schema:
  7729                $ref: "#/definitions/PhoneNumberInfo"
  7730          x-api-group: "account/phone-number"
  7731          x-throttling-group: "Medium"
  7732          x-metered-api: true
  7733          x-metering-group: "System"
  7734          x-app-permission: "EditAccounts"
  7735          x-user-permission: "EditCompanyPhoneNumbers"
  7736          x-access-level: "Internal"
  7737      /restapi/v1.0/account/{accountId}/phone-number/{phoneNumberId}:
  7738        get:
  7739          tags:
  7740            - "Account Provisioning"
  7741          summary: "Get Phone Number"
  7742          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  7743          operationId: "loadAccountPhoneNumber"
  7744          consumes:
  7745            - "application/json"
  7746          produces:
  7747            - "application/json"
  7748          parameters:
  7749            -
  7750              name: "accountId"
  7751              in: "path"
  7752              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  7753              required: true
  7754              type: "string"
  7755              default: "~"
  7756            -
  7757              name: "phoneNumberId"
  7758              in: "path"
  7759              description: "Internal identifier of a phone number"
  7760              required: true
  7761              type: "integer"
  7762          responses:
  7763            default:
  7764              description: "Success"
  7765              schema:
  7766                $ref: "#/definitions/PhoneNumberInfo"
  7767          x-api-group: "account/phone-number"
  7768          x-throttling-group: "Light"
  7769          x-metered-api: true
  7770          x-metering-group: "System"
  7771          x-app-permission: "ReadAccounts"
  7772          x-user-permission: "ReadCompanyPhoneNumbers"
  7773          x-access-level: "Public"
  7774        put:
  7775          tags:
  7776            - "Account Provisioning"
  7777          summary: "Reassign Phone Number"
  7778          description: "<p style='font-style:italic;'>Since 1.0.11 (Release 6.3) </p><p>Reassigns the phone number belonging to a certain account/extension. This call reassigns a phone number, currently belonging to some other extension or company (Auto-Receptionist). Please note: numbers with certain usage types 'MainCompanyNumber', 'AdditionalCompanyNumber' and 'CompanyFaxNumber' cannot be reassigned</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  7779          operationId: "reassignPhoneNumberById"
  7780          consumes:
  7781            - "application/json"
  7782          produces:
  7783            - "application/json"
  7784          parameters:
  7785            -
  7786              name: "phoneNumberId"
  7787              in: "path"
  7788              required: true
  7789              type: "integer"
  7790              format: "int64"
  7791            -
  7792              in: "body"
  7793              name: "body"
  7794              required: false
  7795              schema:
  7796                $ref: "#/definitions/ReassignPhoneNumberResource"
  7797            -
  7798              name: "accountId"
  7799              in: "path"
  7800              required: true
  7801              type: "string"
  7802          responses:
  7803            default:
  7804              description: "successful operation"
  7805              schema:
  7806                $ref: "#/definitions/PhoneNumberResource"
  7807          x-api-group: "account/phone-number"
  7808          x-throttling-group: "Medium"
  7809          x-metered-api: true
  7810          x-metering-group: "System"
  7811          x-app-permission: "EditAccounts"
  7812          x-user-permission: "EditCompanyPhoneNumbers"
  7813          x-access-level: "Internal"
  7814        delete:
  7815          tags:
  7816            - "Account Provisioning"
  7817          summary: "Delete Phone Number"
  7818          description: "<p style='font-style:italic;'>Since 1.0.11 (Release 6.3) </p><p>Deletes a phone number belonging to a certain account/extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p>"
  7819          operationId: "deletePhoneNumberById"
  7820          consumes:
  7821            - "application/json"
  7822          produces:
  7823            - "application/json"
  7824          parameters:
  7825            -
  7826              name: "phoneNumberId"
  7827              in: "path"
  7828              required: true
  7829              type: "integer"
  7830              format: "int64"
  7831            -
  7832              name: "accountId"
  7833              in: "path"
  7834              required: true
  7835              type: "string"
  7836          responses:
  7837            default:
  7838              description: "successful operation"
  7839          x-api-group: "account/phone-number"
  7840          x-throttling-group: "Medium"
  7841          x-metered-api: true
  7842          x-metering-group: "System"
  7843          x-app-permission: "EditAccounts"
  7844          x-user-permission: "EditCompanyPhoneNumbers"
  7845          x-access-level: "Internal"
  7846      /restapi/v1.0/number-parser/parse:
  7847        post:
  7848          tags:
  7849            - "Account Provisioning"
  7850          summary: "Parse Phone Number"
  7851          description: "<p style='font-style:italic;'>Since 1.0.13 (Release 6.5)</p><p>Returns one or more parsed and/or formatted phone numbers that are passed as a string.</p><h4>Usage Plan Group</h4><p>Light</p>"
  7852          operationId: "parsePhoneNumber"
  7853          consumes:
  7854            - "application/json"
  7855          produces:
  7856            - "application/json"
  7857          parameters:
  7858            -
  7859              name: "homeCountry"
  7860              in: "query"
  7861              description: "Internal identifier of a home country. The default value is ISO code (ISO 3166) of the user's home country or brand country, if the user is undefined"
  7862              required: false
  7863              type: "string"
  7864            -
  7865              name: "nationalAsPriority"
  7866              in: "query"
  7867              description: "The default value is 'False'. If 'True', the numbers that are closer to the home country are given higher priority"
  7868              required: false
  7869              type: "boolean"
  7870            -
  7871              in: "body"
  7872              name: "body"
  7873              description: "JSON body"
  7874              required: true
  7875              schema:
  7876                $ref: "#/definitions/ParsePhoneNumberRequest"
  7877          responses:
  7878            default:
  7879              description: "Success"
  7880              schema:
  7881                $ref: "#/definitions/ParsePhoneNumberResponse"
  7882          x-api-group: "number-parser/parse"
  7883          x-throttling-group: "Light"
  7884          x-metered-api: true
  7885          x-metering-group: "System"
  7886          x-access-level: "PublicBeta"
  7887      /restapi/v1.0/account/{accountId}/device:
  7888        get:
  7889          tags:
  7890            - "Account Provisioning"
  7891          summary: "Get Account Devices"
  7892          description: "<p style='font-style:italic;'>Since 1.0.12 (Release 6.4)</p><p>Returns all the devices for a particular extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  7893          operationId: "listAccountDevices"
  7894          consumes:
  7895            - "application/json"
  7896          produces:
  7897            - "application/json"
  7898          parameters:
  7899            -
  7900              name: "accountId"
  7901              in: "path"
  7902              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  7903              required: true
  7904              type: "string"
  7905              default: "~"
  7906          responses:
  7907            default:
  7908              description: "Success"
  7909              schema:
  7910                $ref: "#/definitions/GetAccountDevicesResponse"
  7911          x-api-group: "account/device"
  7912          x-throttling-group: "Medium"
  7913          x-metered-api: true
  7914          x-metering-group: "System"
  7915          x-app-permission: "ReadAccounts"
  7916          x-user-permission: "ReadCompanyDevices"
  7917          x-access-level: "Advanced"
  7918      /restapi/v1.0/account/{accountId}/device/{deviceId}:
  7919        get:
  7920          tags:
  7921            - "Account Provisioning"
  7922          summary: "Get Device Info"
  7923          description: "<p style='font-style:italic;'>Since 1.0.9 (Release 6.1)</p><p>Returns account device(s) by their ID(s).</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  7924          operationId: "loadAccountDevice"
  7925          consumes:
  7926            - "application/json"
  7927          produces:
  7928            - "application/json"
  7929          parameters:
  7930            -
  7931              name: "accountId"
  7932              in: "path"
  7933              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  7934              required: true
  7935              type: "string"
  7936              default: "~"
  7937            -
  7938              name: "deviceId"
  7939              in: "path"
  7940              description: "Internal identifier of a device"
  7941              required: true
  7942              type: "string"
  7943          responses:
  7944            default:
  7945              description: "Success"
  7946              schema:
  7947                $ref: "#/definitions/GetDeviceInfoResponse"
  7948          x-api-group: "account/device"
  7949          x-throttling-group: "Light"
  7950          x-metered-api: true
  7951          x-metering-group: "System"
  7952          x-app-permission: "ReadAccounts"
  7953          x-user-permission: "ReadCompanyDevices"
  7954          x-access-level: "Advanced"
  7955        put:
  7956          tags:
  7957            - "Account Provisioning"
  7958          summary: "Update Device"
  7959          operationId: "updateDevice"
  7960          consumes:
  7961            - "application/json"
  7962          produces:
  7963            - "application/json"
  7964          parameters:
  7965            -
  7966              name: "accountId"
  7967              in: "path"
  7968              required: true
  7969              type: "string"
  7970            -
  7971              name: "deviceId"
  7972              in: "path"
  7973              required: true
  7974              type: "string"
  7975            -
  7976              in: "body"
  7977              name: "body"
  7978              required: true
  7979              schema:
  7980                $ref: "#/definitions/AccountDeviceUpdate"
  7981          responses:
  7982            default:
  7983              description: "successful operation"
  7984              schema:
  7985                $ref: "#/definitions/DeviceResource"
  7986          x-api-group: "account/device"
  7987          x-throttling-group: "Medium"
  7988          x-metered-api: true
  7989          x-metering-group: "System"
  7990          x-app-permission: "EditAccounts"
  7991          x-user-permission: "EditCompanyDevices"
  7992          x-access-level: "Advanced"
  7993      /restapi/v1.0/account/{accountId}/extension/free-numbers:
  7994        get:
  7995          tags:
  7996            - "Account Provisioning"
  7997          summary: "Get Free Extension Numbers"
  7998          operationId: "getExtensionFreeNumbers"
  7999          consumes:
  8000            - "application/json"
  8001          produces:
  8002            - "application/json"
  8003          parameters:
  8004            -
  8005              name: "accountId"
  8006              in: "path"
  8007              required: true
  8008              type: "string"
  8009          responses:
  8010            default:
  8011              description: "successful operation"
  8012              schema:
  8013                $ref: "#/definitions/BulkProvisionUnassignedExtensionsResponseResource"
  8014          x-api-group: "extension/free-numbers"
  8015          x-throttling-group: "Heavy"
  8016          x-metered-api: true
  8017          x-metering-group: "System"
  8018          x-app-permission: "ReadAccounts"
  8019          x-user-permission: "ReadExtensions"
  8020          x-access-level: "Internal"
  8021      /restapi/v1.0/account/{accountId}/extension/{extensionId}/device:
  8022        get:
  8023          tags:
  8024            - "Account Provisioning"
  8025          summary: "Get User Device Info"
  8026          description: "<p style='font-style:italic;'>Since 1.0.12 (Release 6.4)</p><p>Returns all the devices for extension(s) by extension ID(s). Batch request is supported, see Batch Requests for details.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  8027          operationId: "listExtensionDevices"
  8028          consumes:
  8029            - "application/json"
  8030          produces:
  8031            - "application/json"
  8032          parameters:
  8033            -
  8034              name: "accountId"
  8035              in: "path"
  8036              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  8037              required: true
  8038              type: "string"
  8039              default: "~"
  8040            -
  8041              name: "extensionId"
  8042              in: "path"
  8043              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  8044              required: true
  8045              type: "string"
  8046              default: "~"
  8047            -
  8048              name: "linePooling"
  8049              in: "query"
  8050              type: "string"
  8051              description: "Pooling type of a device"
  8052              required: false
  8053              enum:
  8054                - "Host"
  8055                - "Guest"
  8056                - "None"
  8057          responses:
  8058            default:
  8059              description: "Success"
  8060              schema:
  8061                $ref: "#/definitions/GetExtensionDevicesResponse"
  8062          x-api-group: "extension/device"
  8063          x-throttling-group: "Light"
  8064          x-metered-api: true
  8065          x-metering-group: "System"
  8066          x-app-permission: "ReadAccounts"
  8067          x-user-permission: "ReadUserDevices"
  8068          x-access-level: "Advanced"
  8069      /restapi/v1.0/account/{accountId}/order:
  8070        post:
  8071          tags:
  8072            - "Account Provisioning"
  8073          summary: "Create Device Order"
  8074          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  8075          operationId: "createDeviceOrder"
  8076          consumes:
  8077            - "application/json"
  8078          produces:
  8079            - "application/json"
  8080          parameters:
  8081            -
  8082              name: "accountId"
  8083              in: "path"
  8084              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  8085              required: true
  8086              type: "string"
  8087              default: "~"
  8088            -
  8089              name: "async"
  8090              in: "query"
  8091              description: "Specifies whether a client expects order details to be returned or not. If 'True' the server returns a link for tracking order status without waiting for it to be actually created. If 'False' the server returns order details once it is created - it may take some time depending on device count. The default value is 'False'"
  8092              required: false
  8093              type: "boolean"
  8094              default: false
  8095            -
  8096              in: "body"
  8097              name: "body"
  8098              required: false
  8099              schema:
  8100                $ref: "#/definitions/DeviceResource"
  8101          responses:
  8102            default:
  8103              description: "Success"
  8104              schema:
  8105                $ref: "#/definitions/DeviceOrderCreation"
  8106          x-api-group: "account/order"
  8107          x-throttling-group: "Heavy"
  8108          x-metered-api: true
  8109          x-metering-group: "System"
  8110          x-app-permission: "EditAccounts"
  8111          x-user-permission: "EditCompanyDevices"
  8112          x-access-level: "Internal"
  8113      /restapi/v1.0/account/{accountId}/order/{orderId}:
  8114        get:
  8115          tags:
  8116            - "Account Provisioning"
  8117          summary: "Get Device Order by ID"
  8118          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  8119          operationId: "loadDeviceOrder"
  8120          consumes:
  8121            - "application/json"
  8122          produces:
  8123            - "application/json"
  8124          parameters:
  8125            -
  8126              name: "accountId"
  8127              in: "path"
  8128              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  8129              required: true
  8130              type: "string"
  8131              default: "~"
  8132            -
  8133              name: "orderId"
  8134              in: "path"
  8135              description: "Internal identifier of an order"
  8136              required: true
  8137              type: "integer"
  8138          responses:
  8139            default:
  8140              description: "Success"
  8141              schema:
  8142                $ref: "#/definitions/DeviceOrder"
  8143          x-api-group: "account/order"
  8144          x-throttling-group: "Light"
  8145          x-metered-api: true
  8146          x-metering-group: "System"
  8147          x-app-permission: "ReadAccounts"
  8148          x-user-permission: "EditCompanyDevices"
  8149          x-access-level: "Internal"
  8150      /restapi/v1.0/dictionary/device:
  8151        get:
  8152          tags:
  8153            - "Account Provisioning"
  8154          summary: "Get Device Catalog"
  8155          operationId: "getDeviceModels"
  8156          consumes:
  8157            - "application/json"
  8158          produces:
  8159            - "application/json"
  8160          responses:
  8161            default:
  8162              description: "successful operation"
  8163              schema:
  8164                $ref: "#/definitions/DeviceModelExtsResource"
  8165          x-api-group: "dictionary/device"
  8166          x-throttling-group: "Light"
  8167          x-metered-api: true
  8168          x-metering-group: "System"
  8169          x-access-level: "Internal"
  8170      /restapi/v1.0/dictionary/shipping-options:
  8171        get:
  8172          tags:
  8173            - "Account Provisioning"
  8174          summary: "Get Shipping Options"
  8175          description: "<p style='font-style:italic;'>Since 1.0.16 (Release 7.1)</p><p>Returns the list of device shipping options with their prices, according to brand, tier, number of ordered devices.</p><h4>Usage Plan Group</h4><p>Light</p>"
  8176          operationId: "listShippingOptions"
  8177          consumes:
  8178            - "application/json"
  8179          produces:
  8180            - "application/json"
  8181          parameters:
  8182            -
  8183              name: "servicePlanId"
  8184              in: "query"
  8185              required: false
  8186              type: "integer"
  8187            -
  8188              name: "brandId"
  8189              in: "query"
  8190              required: false
  8191              type: "integer"
  8192            -
  8193              name: "quantity"
  8194              in: "query"
  8195              required: false
  8196              type: "integer"
  8197              maximum: 10000
  8198              minimum: 1
  8199              format: "int32"
  8200          responses:
  8201            default:
  8202              description: "Success"
  8203              schema:
  8204                $ref: "#/definitions/DictionaryShippingOptions"
  8205          x-api-group: "dictionary/shipping-options"
  8206          x-throttling-group: "Light"
  8207          x-metered-api: true
  8208          x-metering-group: "System"
  8209          x-access-level: "Internal"
  8210      /restapi/v1.0/account/{accountId}/licenses:
  8211        get:
  8212          tags:
  8213            - "Account Provisioning"
  8214          summary: "Get License List"
  8215          operationId: "listLicenses"
  8216          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns list of licenses for a specific user.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  8217          consumes:
  8218            - "application/json"
  8219          produces:
  8220            - "application/json"
  8221          parameters:
  8222            -
  8223              name: "accountId"
  8224              type: "string"
  8225              in: "path"
  8226              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  8227              required: true
  8228              default: "~"
  8229            -
  8230              name: "page"
  8231              type: "integer"
  8232              format: "int64"
  8233              in: "query"
  8234              description: "Indicates the page number to retrieve. Only positive number values are allowed. The default value is '1'"
  8235              required: false
  8236            -
  8237              name: "perPage"
  8238              type: "integer"
  8239              format: "int64"
  8240              in: "query"
  8241              description: "Indicates the page size (number of items). If not specified, the value is '25' by default"
  8242              required: false
  8243            -
  8244              name: "typeId"
  8245              type: "integer"
  8246              format: "int64"
  8247              in: "query"
  8248              description: "Internal identifier of a license type. If not specified account licenses of all types are returned"
  8249              required: false
  8250          responses:
  8251            default:
  8252              description: "Success"
  8253              schema:
  8254                $ref: "#/definitions/LicenseList"
  8255          x-api-group: "account/licenses"
  8256          x-throttling-group: "Light"
  8257          x-metered-api: true
  8258          x-metering-group: "System"
  8259          x-app-permission: "ReadAccounts"
  8260          x-user-permission: "MeetingsPlan"
  8261          x-access-level: "Advanced"
  8262      /restapi/v1.0/account/{accountId}/licenses/bulk-purchase:
  8263        post:
  8264          tags:
  8265            - "Account Provisioning"
  8266          summary: "Order Licenses"
  8267          operationId: "createLicensesOrder"
  8268          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Purchases licenses for add-on features: Rooms, Room Connector, Webinar, Live Reports, etc.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p>"
  8269          consumes:
  8270            - "application/json"
  8271          produces:
  8272            - "application/json"
  8273          parameters:
  8274            -
  8275              name: "accountId"
  8276              type: "string"
  8277              in: "path"
  8278              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  8279              required: true
  8280              default: "~"
  8281            -
  8282              name: "body"
  8283              in: "body"
  8284              description: "JSON body"
  8285              schema:
  8286                $ref: "#/definitions/OrderLicensesRequest"
  8287              required: true
  8288          responses:
  8289            default:
  8290              description: "Success"
  8291          x-api-group: "account/licenses"
  8292          x-throttling-group: "Heavy"
  8293          x-metered-api: true
  8294          x-metering-group: "System"
  8295          x-app-permission: "EditAccounts"
  8296          x-user-permission: "MeetingsPlan"
  8297          x-access-level: "Advanced"
  8298      /restapi/v1.0/account/{accountId}/licenses/{licenseId}:
  8299        get:
  8300          tags:
  8301            - "Account Provisioning"
  8302          summary: "Get License"
  8303          operationId: "loadLicense"
  8304          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns license information by its ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  8305          consumes:
  8306            - "application/json"
  8307          produces:
  8308            - "application/json"
  8309          parameters:
  8310            -
  8311              name: "accountId"
  8312              type: "string"
  8313              in: "path"
  8314              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  8315              required: true
  8316              default: "~"
  8317            -
  8318              name: "licenseId"
  8319              type: "string"
  8320              in: "path"
  8321              description: "Internal identifier of a license"
  8322              required: true
  8323          responses:
  8324            default:
  8325              description: "Success"
  8326              schema:
  8327                $ref: "#/definitions/LicenseInfo"
  8328          x-throttling-group: "Light"
  8329          x-metered-api: true
  8330          x-metering-group: "System"
  8331          x-app-permission: "ReadAccounts"
  8332          x-user-permission: "MeetingsPlan"
  8333          x-api-group: "account/licenses"
  8334          x-access-level: "Advanced"
  8335        delete:
  8336          tags:
  8337            - "Account Provisioning"
  8338          summary: "Delete License"
  8339          operationId: "deleteLicense"
  8340          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Removes a license for a specific user. Please note: It is not allowed to remove assigned licenses (only Webinars and Large Meetings can be assigned).</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  8341          consumes:
  8342            - "application/json"
  8343          produces:
  8344            - "application/json"
  8345          parameters:
  8346            -
  8347              name: "accountId"
  8348              type: "string"
  8349              in: "path"
  8350              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  8351              required: true
  8352              default: "~"
  8353            -
  8354              name: "licenseId"
  8355              type: "string"
  8356              in: "path"
  8357              description: "Internal identifier of a license"
  8358              required: true
  8359          responses:
  8360            default:
  8361              description: "Success"
  8362          x-throttling-group: "Medium"
  8363          x-metered-api: true
  8364          x-metering-group: "System"
  8365          x-app-permission: "EditAccounts"
  8366          x-user-permission: "MeetingsPlan"
  8367          x-api-group: "account/licenses"
  8368          x-access-level: "Advanced"
  8369      /restapi/v1.0/dictionary/license-types:
  8370        get:
  8371          tags:
  8372            - "Account Provisioning"
  8373          summary: "Get License Types"
  8374          operationId: "listLicenseTypes"
  8375          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns supported license types.</p><h4>API Group</h4><p>Light</p>"
  8376          consumes:
  8377            - "application/json"
  8378          produces:
  8379            - "application/json"
  8380          parameters: []
  8381          responses:
  8382            default:
  8383              description: "Success"
  8384              schema:
  8385                $ref: "#/definitions/LicenseTypes"
  8386          x-api-group: "dictionary/license-types"
  8387          x-throttling-group: "Light"
  8388          x-metered-api: true
  8389          x-metering-group: "System"
  8390          x-user-permission: "MeetingsPlan"
  8391          x-access-level: "Advanced"
  8392      /restapi/v1.0/account/{accountId}/department/{departmentId}/members:
  8393        get:
  8394          tags:
  8395            - "Account Provisioning"
  8396          summary: "Get Department Member List"
  8397          description: "<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  8398          operationId: "listDepartmentMembers"
  8399          consumes:
  8400            - "application/json"
  8401          produces:
  8402            - "application/json"
  8403          parameters:
  8404            -
  8405              name: "accountId"
  8406              in: "path"
  8407              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  8408              required: true
  8409              type: "string"
  8410              default: "~"
  8411            -
  8412              name: "departmentId"
  8413              in: "path"
  8414              description: "Internal identifier of a Department extension (same as extensionId but only the ID of a department extension is valid)"
  8415              required: true
  8416              type: "integer"
  8417            -
  8418              name: "page"
  8419              in: "query"
  8420              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  8421              required: false
  8422              type: "integer"
  8423            -
  8424              name: "perPage"
  8425              in: "query"
  8426              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  8427              required: false
  8428              type: "integer"
  8429          responses:
  8430            default:
  8431              description: "Success"
  8432              schema:
  8433                $ref: "#/definitions/DepartmentMemberList"
  8434          x-api-group: "account/department/members"
  8435          x-throttling-group: "Light"
  8436          x-metered-api: true
  8437          x-metering-group: "System"
  8438          x-app-permission: "ReadAccounts"
  8439          x-user-permission: "ReadExtensions"
  8440          x-access-level: "PublicBeta"
  8441      /restapi/v1.0/account/{accountId}/department/bulk-assign:
  8442        post:
  8443          tags:
  8444            - "Account Provisioning"
  8445          summary: "Edit Call Queue Members"
  8446          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Adds and/or removes multiple call queue members.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  8447          operationId: "bulkAssign"
  8448          consumes:
  8449            - "application/json"
  8450          produces:
  8451            - "application/json"
  8452          parameters:
  8453            -
  8454              in: "body"
  8455              name: "body"
  8456              required: false
  8457              schema:
  8458                $ref: "#/definitions/DepartmentBulkAssignResource"
  8459            -
  8460              name: "accountId"
  8461              in: "path"
  8462              required: true
  8463              type: "string"
  8464              default: "~"
  8465          responses:
  8466            default:
  8467              description: "successful operation"
  8468          x-api-group: "account/department"
  8469          x-throttling-group: "Heavy"
  8470          x-metered-api: true
  8471          x-metering-group: "System"
  8472          x-app-permission: "EditAccounts"
  8473          x-user-permission: "UserGroups"
  8474          x-access-level: "PublicBeta"
  8475      /restapi/v1.0/account/{accountId}/paging-only-groups/{pagingOnlyGroupId}/users:
  8476        get:
  8477          tags:
  8478            - "Account Provisioning"
  8479          summary: "Get Paging Only Group Users"
  8480          operationId: "getPagingOnlyGroupUsers"
  8481          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns the list of users allowed to page this group.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  8482          consumes:
  8483            - "application/json"
  8484          produces:
  8485            - "application/json"
  8486          parameters:
  8487            -
  8488              name: "accountId"
  8489              in: "path"
  8490              required: true
  8491              type: "string"
  8492            -
  8493              name: "pagingOnlyGroupId"
  8494              in: "path"
  8495              required: true
  8496              type: "string"
  8497            -
  8498              name: "page"
  8499              in: "query"
  8500              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  8501              required: false
  8502              type: "integer"
  8503            -
  8504              name: "perPage"
  8505              in: "query"
  8506              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  8507              required: false
  8508              type: "integer"
  8509          responses:
  8510            default:
  8511              description: "Success"
  8512              schema:
  8513                $ref: "#/definitions/PagingOnlyGroupUsers"
  8514          x-api-group: "account/paging-only-groups/users"
  8515          x-throttling-group: "Light"
  8516          x-metered-api: true
  8517          x-metering-group: "System"
  8518          x-app-permission: "ReadAccounts"
  8519          x-user-permission: "ReadUserInfo"
  8520          x-access-level: "PublicBeta"
  8521      /restapi/v1.0/account/{accountId}/paging-only-groups/{pagingOnlyGroupId}/devices:
  8522        get:
  8523          tags:
  8524            - "Account Provisioning"
  8525          summary: "Get Paging Only Group Devices"
  8526          operationId: "getPagingOnlyGroupDevices"
  8527          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns the list of paging devices assigned to this group.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  8528          consumes:
  8529            - "application/json"
  8530          produces:
  8531            - "application/json"
  8532          parameters:
  8533            -
  8534              name: "accountId"
  8535              in: "path"
  8536              required: true
  8537              type: "string"
  8538            -
  8539              name: "pagingOnlyGroupId"
  8540              in: "path"
  8541              required: true
  8542              type: "string"
  8543            -
  8544              name: "page"
  8545              in: "query"
  8546              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  8547              required: false
  8548              type: "integer"
  8549            -
  8550              name: "perPage"
  8551              in: "query"
  8552              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  8553              required: false
  8554              type: "integer"
  8555          responses:
  8556            default:
  8557              description: "Success"
  8558              schema:
  8559                $ref: "#/definitions/PagingOnlyGroupDevices"
  8560          x-api-group: "account/paging-only-groups/devices"
  8561          x-throttling-group: "Light"
  8562          x-metered-api: true
  8563          x-metering-group: "System"
  8564          x-app-permission: "ReadAccounts"
  8565          x-user-permission: "ReadCompanyDevices"
  8566          x-access-level: "PublicBeta"
  8567      /restapi/v1.0/account/{accountId}/paging-only-groups/{pagingOnlyGroupId}/bulk-assign:
  8568        post:
  8569          tags:
  8570            - "Account Provisioning"
  8571          summary: "Edit Paging Group Users & Devices"
  8572          operationId: "updatePagingOnlyGroupUsersAndDevices"
  8573          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Adds and/or removes paging group users and devices.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  8574          consumes:
  8575            - "application/json"
  8576          produces:
  8577            - "application/json"
  8578          parameters:
  8579            -
  8580              name: "accountId"
  8581              in: "path"
  8582              required: true
  8583              type: "string"
  8584            -
  8585              name: "pagingOnlyGroupId"
  8586              in: "path"
  8587              required: true
  8588              type: "string"
  8589            -
  8590              in: "body"
  8591              name: "body"
  8592              required: false
  8593              schema:
  8594                $ref: "#/definitions/EditPagingGroupRequest"
  8595          responses:
  8596            default:
  8597              description: "Success"
  8598          x-api-group: "account/paging-only-groups/devices"
  8599          x-throttling-group: "Light"
  8600          x-metered-api: true
  8601          x-metering-group: "System"
  8602          x-app-permission: "ReadAccounts"
  8603          x-user-permission: "ReadCompanyDevices"
  8604          x-access-level: "PublicBeta"
  8605      /restapi/v1.0/account/{accountId}/park-locations/{parkLocationId}/users:
  8606        get:
  8607          tags:
  8608            - "Account Provisioning"
  8609          summary: "Get Park Location Users"
  8610          operationId: "getParkLocationUsers"
  8611          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns the list of users allowed to park and unpark calls to/from the park location extension specified</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p>"
  8612          consumes:
  8613            - "application/json"
  8614          produces:
  8615            - "application/json"
  8616          parameters:
  8617            -
  8618              name: "accountId"
  8619              in: "path"
  8620              required: true
  8621              type: "string"
  8622            -
  8623              name: "parkLocationId"
  8624              in: "path"
  8625              required: true
  8626              type: "string"
  8627            -
  8628              name: "page"
  8629              in: "query"
  8630              description: "Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'"
  8631              required: false
  8632              type: "integer"
  8633            -
  8634              name: "perPage"
  8635              in: "query"
  8636              description: "Indicates the page size (number of items). If not specified, the value is '100' by default"
  8637              required: false
  8638              type: "integer"
  8639          responses:
  8640            default:
  8641              description: "Success"
  8642              schema:
  8643                $ref: "#/definitions/ParkLocationResponse"
  8644          x-api-group: "account/park-locations/users"
  8645          x-throttling-group: "Light"
  8646          x-metered-api: true
  8647          x-metering-group: "System"
  8648          x-app-permission: "ReadAccounts"
  8649          x-user-permission: "ReadExtensions"
  8650          x-access-level: "Internal"
  8651      /restapi/v1.0/account/{accountId}/park-locations/{parkLocationId}/bulk-assign:
  8652        post:
  8653          tags:
  8654            - "Account Provisioning"
  8655          summary: "Adds and/or removes park location users"
  8656          operationId: "updateParkLocationUsers"
  8657          description: "<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Adds and/or removes park location users.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p>"
  8658          consumes:
  8659            - "application/json"
  8660          produces:
  8661            - "application/json"
  8662          parameters:
  8663            -
  8664              name: "accountId"
  8665              in: "path"
  8666              required: true
  8667              type: "string"
  8668            -
  8669              name: "parkLocationId"
  8670              in: "path"
  8671              required: true
  8672              type: "string"
  8673            -
  8674              in: "body"
  8675              name: "body"
  8676              required: false
  8677              schema:
  8678                $ref: "#/definitions/EditParkLocationRequest"
  8679          responses:
  8680            default:
  8681              description: "Success"
  8682          x-api-group: "account/park-location/bulk-assign"
  8683          x-throttling-group: "Heavy"
  8684          x-metered-api: true
  8685          x-metering-group: "System"
  8686          x-app-permission: "EditExtensions"
  8687          x-user-permission: "EditExtensions"
  8688          x-access-level: "Internal"
  8689      /scim/v2/ServiceProviderConfig:
  8690        get:
  8691          tags:
  8692            - "SCIM"
  8693          summary: "Get Service Provider Config"
  8694          operationId: "getServiceProviderConfig"
  8695          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns the list of users requested.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing Service Provider confiog</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  8696          consumes:
  8697            - "application/json"
  8698            - "application/scim+json"
  8699          produces:
  8700            - "application/json"
  8701            - "application/scim+json"
  8702          responses:
  8703            default:
  8704              description: "Success"
  8705              schema:
  8706                $ref: "#/definitions/ServiceProviderConfig"
  8707          x-api-group: "scim"
  8708          x-throttling-group: "Medium"
  8709          x-metered-api: true
  8710          x-metering-group: "System"
  8711          x-app-permission: "ReadAccounts"
  8712          x-user-permission: "ReadExtensions"
  8713          x-access-level: "PublicBeta"
  8714      /scim/v2/Users:
  8715        get:
  8716          tags:
  8717            - "SCIM"
  8718          summary: "Get User List"
  8719          operationId: "listUsers"
  8720          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns the list of users requested.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  8721          consumes:
  8722            - "application/json"
  8723            - "application/scim+json"
  8724          produces:
  8725            - "application/json"
  8726            - "application/scim+json"
  8727          parameters:
  8728            -
  8729              name: "filter"
  8730              in: "query"
  8731              type: "string"
  8732              description: "only support 'userName' or 'email' filter expressions for now"
  8733              enum:
  8734                - "userName"
  8735                - "email"
  8736              required: false
  8737            -
  8738              name: "count"
  8739              in: "query"
  8740              description: "page size"
  8741              required: false
  8742              type: "integer"
  8743              default: 100
  8744              format: "int32"
  8745            -
  8746              name: "startIndex"
  8747              in: "query"
  8748              description: "start index (1-based)"
  8749              required: false
  8750              type: "integer"
  8751              default: 1
  8752              format: "int32"
  8753          responses:
  8754            400:
  8755              description: "bad request"
  8756              schema:
  8757                $ref: "#/definitions/SCIMErrorResponse"
  8758            401:
  8759              description: "authorization failure"
  8760              schema:
  8761                $ref: "#/definitions/SCIMErrorResponse"
  8762            403:
  8763              description: "permissions denied"
  8764              schema:
  8765                $ref: "#/definitions/SCIMErrorResponse"
  8766            429:
  8767              description: "too many requests"
  8768              schema:
  8769                $ref: "#/definitions/SCIMErrorResponse"
  8770            500:
  8771              description: "internal server error"
  8772              schema:
  8773                $ref: "#/definitions/SCIMErrorResponse"
  8774            default:
  8775              description: "Success"
  8776              schema:
  8777                $ref: "#/definitions/GetUserListResponse"
  8778          x-api-group: "scim"
  8779          x-throttling-group: "Medium"
  8780          x-metered-api: true
  8781          x-metering-group: "System"
  8782          x-app-permission: "ReadAccounts"
  8783          x-user-permission: "ReadExtensions"
  8784          x-access-level: "PublicBeta"
  8785        post:
  8786          tags:
  8787            - "SCIM"
  8788          summary: "Create User"
  8789          operationId: "createUser"
  8790          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Creates a user.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  8791          consumes:
  8792            - "application/json"
  8793            - "application/scim+json"
  8794          produces:
  8795            - "application/json"
  8796            - "application/scim+json"
  8797          parameters:
  8798            -
  8799              name: "body"
  8800              in: "body"
  8801              description: "a new user without 'id'"
  8802              schema:
  8803                $ref: "#/definitions/UserCreationRequest"
  8804              required: true
  8805          responses:
  8806            400:
  8807              description: "bad request"
  8808              schema:
  8809                $ref: "#/definitions/SCIMErrorResponse"
  8810            401:
  8811              description: "authorization failure"
  8812              schema:
  8813                $ref: "#/definitions/SCIMErrorResponse"
  8814            403:
  8815              description: "permissions denied"
  8816              schema:
  8817                $ref: "#/definitions/SCIMErrorResponse"
  8818            404:
  8819              description: "not found"
  8820              schema:
  8821                $ref: "#/definitions/SCIMErrorResponse"
  8822            409:
  8823              description: "duplicate email"
  8824              schema:
  8825                $ref: "#/definitions/SCIMErrorResponse"
  8826            429:
  8827              description: "too many requests"
  8828              schema:
  8829                $ref: "#/definitions/SCIMErrorResponse"
  8830            500:
  8831              description: "internal server error"
  8832              schema:
  8833                $ref: "#/definitions/SCIMErrorResponse"
  8834            default:
  8835              description: "Success"
  8836              schema:
  8837                $ref: "#/definitions/UserInfo"
  8838          x-api-group: "scim"
  8839          x-throttling-group: "Medium"
  8840          x-metered-api: true
  8841          x-metering-group: "System"
  8842          x-app-permission: "EditAccounts"
  8843          x-user-permission: "EditExtensions"
  8844          x-access-level: "PublicBeta"
  8845      /scim/v2/Users/.search:
  8846        post:
  8847          tags:
  8848            - "SCIM"
  8849          summary: "search or list users"
  8850          operationId: "searchUsersViaPost"
  8851          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns the list of users requested.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Searching SCIM Users</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  8852          consumes:
  8853            - "application/json"
  8854            - "application/scim+json"
  8855          produces:
  8856            - "application/json"
  8857            - "application/scim+json"
  8858          parameters:
  8859            -
  8860              in: "body"
  8861              name: "body"
  8862              description: "search parameters"
  8863              required: false
  8864              schema:
  8865                $ref: "#/definitions/SCIMSearchRequestInfo"
  8866          responses:
  8867            400:
  8868              description: "bad request"
  8869              schema:
  8870                $ref: "#/definitions/SCIMErrorResponse"
  8871            401:
  8872              description: "authorization failure"
  8873              schema:
  8874                $ref: "#/definitions/SCIMErrorResponse"
  8875            403:
  8876              description: "permissions denied"
  8877              schema:
  8878                $ref: "#/definitions/SCIMErrorResponse"
  8879            429:
  8880              description: "too many requests"
  8881              schema:
  8882                $ref: "#/definitions/SCIMErrorResponse"
  8883            500:
  8884              description: "internal server error"
  8885              schema:
  8886                $ref: "#/definitions/SCIMErrorResponse"
  8887            default:
  8888              description: "successful operation"
  8889              schema:
  8890                $ref: "#/definitions/GetUserListResponse"
  8891      /scim/v2/Users/{id}:
  8892        get:
  8893          tags:
  8894            - "SCIM"
  8895          summary: "Get User"
  8896          operationId: "getUserById"
  8897          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns a user by ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  8898          consumes:
  8899            - "application/json"
  8900            - "application/scim+json"
  8901          produces:
  8902            - "application/json"
  8903            - "application/scim+json"
  8904          parameters:
  8905            -
  8906              name: "id"
  8907              type: "string"
  8908              in: "path"
  8909              description: "Internal identifier of a user"
  8910              required: true
  8911          responses:
  8912            400:
  8913              description: "bad request"
  8914              schema:
  8915                $ref: "#/definitions/SCIMErrorResponse"
  8916            401:
  8917              description: "authorization failure"
  8918              schema:
  8919                $ref: "#/definitions/SCIMErrorResponse"
  8920            403:
  8921              description: "permissions denied"
  8922              schema:
  8923                $ref: "#/definitions/SCIMErrorResponse"
  8924            429:
  8925              description: "too many requests"
  8926              schema:
  8927                $ref: "#/definitions/SCIMErrorResponse"
  8928            500:
  8929              description: "internal server error"
  8930              schema:
  8931                $ref: "#/definitions/SCIMErrorResponse"
  8932            default:
  8933              description: "Success"
  8934              schema:
  8935                $ref: "#/definitions/UserInfo"
  8936          x-api-group: "scim"
  8937          x-throttling-group: "Light"
  8938          x-metered-api: true
  8939          x-metering-group: "System"
  8940          x-app-permission: "ReadAccounts"
  8941          x-user-permission: "ReadExtensions"
  8942          x-access-level: "PublicBeta"
  8943        put:
  8944          tags:
  8945            - "SCIM"
  8946          summary: "Update or replace user"
  8947          operationId: "updateUser"
  8948          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Updating User using SCIM</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  8949          consumes:
  8950            - "application/json"
  8951            - "application/scim+json"
  8952          produces:
  8953            - "application/json"
  8954            - "application/scim+json"
  8955          parameters:
  8956            -
  8957              name: "id"
  8958              type: "string"
  8959              in: "path"
  8960              description: "Internal identifier of a user"
  8961              required: true
  8962            -
  8963              name: "body"
  8964              in: "body"
  8965              description: "An Exisiting User"
  8966              schema:
  8967                $ref: "#/definitions/UserUpdateRequest"
  8968              required: true
  8969          responses:
  8970            400:
  8971              description: "bad request"
  8972              schema:
  8973                $ref: "#/definitions/SCIMErrorResponse"
  8974            401:
  8975              description: "authorization failure"
  8976              schema:
  8977                $ref: "#/definitions/SCIMErrorResponse"
  8978            403:
  8979              description: "permissions denied"
  8980              schema:
  8981                $ref: "#/definitions/SCIMErrorResponse"
  8982            404:
  8983              description: "not found"
  8984              schema:
  8985                $ref: "#/definitions/SCIMErrorResponse"
  8986            409:
  8987              description: "duplicate email"
  8988              schema:
  8989                $ref: "#/definitions/SCIMErrorResponse"
  8990            429:
  8991              description: "too many requests"
  8992              schema:
  8993                $ref: "#/definitions/SCIMErrorResponse"
  8994            500:
  8995              description: "internal server error"
  8996              schema:
  8997                $ref: "#/definitions/SCIMErrorResponse"
  8998            default:
  8999              description: "Success"
  9000              schema:
  9001                $ref: "#/definitions/UserInfo"
  9002          x-api-group: "scim"
  9003          x-throttling-group: "Medium"
  9004          x-metered-api: true
  9005          x-metering-group: "System"
  9006          x-app-permission: "EditExtensions"
  9007          x-user-permission: "ReadExtensions"
  9008          x-access-level: "PublicBeta"
  9009        delete:
  9010          tags:
  9011            - "SCIM"
  9012          summary: "Delete User"
  9013          operationId: "deleteUser"
  9014          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Deleting User using scim</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  9015          consumes:
  9016            - "application/json"
  9017            - "application/scim+json"
  9018          produces:
  9019            - "application/json"
  9020            - "application/scim+json"
  9021          parameters:
  9022            -
  9023              name: "id"
  9024              type: "string"
  9025              in: "path"
  9026              description: "Internal identifier of a user"
  9027              required: true
  9028          responses:
  9029            401:
  9030              description: "authorization failure"
  9031              schema:
  9032                $ref: "#/definitions/SCIMErrorResponse"
  9033            403:
  9034              description: "permissions denied"
  9035              schema:
  9036                $ref: "#/definitions/SCIMErrorResponse"
  9037            404:
  9038              description: "not found"
  9039              schema:
  9040                $ref: "#/definitions/SCIMErrorResponse"
  9041            429:
  9042              description: "too many requests"
  9043              schema:
  9044                $ref: "#/definitions/SCIMErrorResponse"
  9045            500:
  9046              description: "internal server error"
  9047              schema:
  9048                $ref: "#/definitions/SCIMErrorResponse"
  9049            default:
  9050              description: "Success"
  9051          x-api-group: "scim"
  9052          x-throttling-group: "Medium"
  9053          x-metered-api: true
  9054          x-metering-group: "System"
  9055          x-app-permission: "EditAccounts"
  9056          x-user-permission: "ReadAccounts"
  9057          x-access-level: "PublicBeta"
  9058        patch:
  9059          tags:
  9060            - "SCIM"
  9061          summary: "Partially update/patch a user"
  9062          operationId: "patchUser"
  9063          description: "<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Partially update/patch a user</td></tr></tbody></table><h4>API Group</h4><p>Medium</p>"
  9064          consumes:
  9065            - "application/json"
  9066            - "application/scim+json"
  9067          produces:
  9068            - "application/json"
  9069            - "application/scim+json"
  9070          parameters:
  9071            -
  9072              name: "id"
  9073              type: "string"
  9074              in: "path"
  9075              description: "Internal identifier of a user"
  9076              required: true
  9077            -
  9078              in: "body"
  9079              name: "body"
  9080              description: "patch operations list"
  9081              required: false
  9082              schema:
  9083                $ref: "#/definitions/SCIMUserPatch"
  9084          responses:
  9085            400:
  9086              description: "bad request"
  9087              schema:
  9088                $ref: "#/definitions/SCIMErrorResponse"
  9089            401:
  9090              description: "authorization failure"
  9091              schema:
  9092                $ref: "#/definitions/SCIMErrorResponse"
  9093            403:
  9094              description: "permissions denied"
  9095              schema:
  9096                $ref: "#/definitions/SCIMErrorResponse"
  9097            404:
  9098              description: "not found"
  9099              schema:
  9100                $ref: "#/definitions/SCIMErrorResponse"
  9101            429:
  9102              description: "too many requests"
  9103              schema:
  9104                $ref: "#/definitions/SCIMErrorResponse"
  9105            500:
  9106              description: "internal server error"
  9107              schema:
  9108                $ref: "#/definitions/SCIMErrorResponse"
  9109            default:
  9110              description: "Success"
  9111              schema:
  9112                $ref: "#/definitions/UserInfo"
  9113          x-api-group: "scim"
  9114          x-throttling-group: "Medium"
  9115          x-metered-api: true
  9116          x-metering-group: "System"
  9117          x-app-permission: "EditAccounts"
  9118          x-user-permission: "ReadAccounts"
  9119          x-access-level: "PublicBeta"
  9120      /restapi/v1.0/account/{accountId}/extension/{extensionId}/reporting/settings:
  9121        get:
  9122          tags:
  9123            - "Reporting"
  9124          summary: "Get Reporting Settings"
  9125          operationId: "loadReportingSettings"
  9126          description: "<p style='font-style:italic;'>Since 1.0.17 (Release 7.2)</p><p>Returns user-defined configuration of CFA (Customer Facing Analytics) reports.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  9127          consumes:
  9128            - "application/json"
  9129          produces:
  9130            - "application/json"
  9131          parameters:
  9132            -
  9133              name: "accountId"
  9134              type: "string"
  9135              in: "path"
  9136              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  9137              required: true
  9138              default: "~"
  9139            -
  9140              name: "extensionId"
  9141              type: "string"
  9142              in: "path"
  9143              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  9144              required: true
  9145              default: "~"
  9146          responses:
  9147            default:
  9148              description: "Success"
  9149              schema:
  9150                $ref: "#/definitions/ReportingSettings"
  9151          x-api-group: "extension/reporting/settings"
  9152          x-throttling-group: "Light"
  9153          x-metered-api: true
  9154          x-metering-group: "System"
  9155          x-app-permission: "ReadAccounts"
  9156          x-user-permission: "ReadAccounts"
  9157          x-access-level: "Internal"
  9158        put:
  9159          tags:
  9160            - "Reporting"
  9161          summary: "Update Reporting Settings"
  9162          operationId: "updateReportingSettings"
  9163          description: "<p style='font-style:italic;'></p><p>Sets user-defined configuration of CFA (Customer Facing Analytics) reports.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p>"
  9164          consumes:
  9165            - "application/json"
  9166          produces:
  9167            - "application/json"
  9168          parameters:
  9169            -
  9170              name: "accountId"
  9171              type: "string"
  9172              in: "path"
  9173              description: "Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session"
  9174              required: true
  9175              default: "~"
  9176            -
  9177              name: "extensionId"
  9178              type: "string"
  9179              in: "path"
  9180              description: "Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session"
  9181              required: true
  9182              default: "~"
  9183            -
  9184              name: "body"
  9185              in: "body"
  9186              description: "JSON body"
  9187              schema:
  9188                $ref: "#/definitions/SetReportingSettingsRequest"
  9189              required: true
  9190          responses:
  9191            default:
  9192              description: "Success"
  9193              schema:
  9194                $ref: "#/definitions/ReportingSettings"
  9195          x-api-group: "extension/reporting/settings"
  9196          x-throttling-group: "Light"
  9197          x-metered-api: true
  9198          x-metering-group: "System"
  9199          x-app-permission: "EditAccounts"
  9200          x-user-permission: "EditAccounts"
  9201          x-access-level: "Internal"
  9202    definitions:
  9203      SCIMUserPatch:
  9204        type: "object"
  9205        required:
  9206          - "Operations"
  9207          - "schemas"
  9208        properties:
  9209          Operations:
  9210            type: "array"
  9211            description: "patch operations list"
  9212            items:
  9213              $ref: "#/definitions/PatchOperationInfo"
  9214          schemas:
  9215            type: "array"
  9216            items:
  9217              type: "string"
  9218              enum:
  9219                - "urn:ietf:params:scim:api:messages:2.0:PatchOp"
  9220      PatchOperationInfo:
  9221        type: "object"
  9222        required:
  9223          - "op"
  9224        properties:
  9225          op:
  9226            type: "string"
  9227            enum:
  9228              - "add"
  9229              - "replace"
  9230              - "remove"
  9231          path:
  9232            type: "string"
  9233          value:
  9234            type: "object"
  9235            description: "corresponding 'value' of that field specified by 'path'"
  9236      SCIMErrorResponse:
  9237        type: "object"
  9238        properties:
  9239          detail:
  9240            type: "string"
  9241            description: "detail error message"
  9242          schemas:
  9243            type: "array"
  9244            items:
  9245              type: "string"
  9246              enum:
  9247                - "urn:ietf:params:scim:api:messages:2.0:Error"
  9248          scimType:
  9249            type: "string"
  9250            description: "bad request type when status code is 400"
  9251            enum:
  9252              - "uniqueness"
  9253              - "tooMany"
  9254              - "mutability"
  9255              - "sensitive"
  9256              - "invalidSyntax"
  9257              - "invalidFilter"
  9258              - "invalidPath"
  9259              - "invalidValue"
  9260              - "invalidVers"
  9261              - "noTarget"
  9262          status:
  9263            type: "string"
  9264            description: "same as HTTP status code, e.g. 400, 401, etc."
  9265      SCIMSearchRequestInfo:
  9266        type: "object"
  9267        properties:
  9268          count:
  9269            type: "integer"
  9270            format: "int32"
  9271            description: "page size"
  9272          filter:
  9273            type: "string"
  9274            description: "only support 'userName' or 'email' filter expressions for now"
  9275          schemas:
  9276            type: "array"
  9277            items:
  9278              type: "string"
  9279              enum:
  9280                - "urn:ietf:params:scim:api:messages:2.0:SearchRequest"
  9281          startIndex:
  9282            type: "integer"
  9283            format: "int32"
  9284            description: "start index (1-based)"
  9285      AuthenticationSchemes:
  9286        type: "object"
  9287        properties:
  9288          authenticationSchemes:
  9289            type: "array"
  9290            items:
  9291              $ref: "#/definitions/AuthenticationScheme"
  9292      AuthenticationScheme:
  9293        type: "object"
  9294        properties:
  9295          description:
  9296            type: "string"
  9297          documentationUrl:
  9298            type: "string"
  9299          name:
  9300            type: "string"
  9301          specUrl:
  9302            type: "string"
  9303      ServiceProviderConfig:
  9304        type: "object"
  9305        properties:
  9306          authenticationSchemes:
  9307            $ref: "#/definitions/AuthenticationSchemes"
  9308          bulk:
  9309            $ref: "#/definitions/BulkSupported"
  9310          changePassword:
  9311            $ref: "#/definitions/Supported"
  9312          etag:
  9313            $ref: "#/definitions/Supported"
  9314          filter:
  9315            $ref: "#/definitions/FilterSupported"
  9316          patch:
  9317            $ref: "#/definitions/Supported"
  9318          schemas:
  9319            type: "array"
  9320            items:
  9321              type: "string"
  9322              enum:
  9323                - "urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig"
  9324          sort:
  9325            $ref: "#/definitions/Supported"
  9326      BulkSupported:
  9327        type: "object"
  9328        properties:
  9329          maxOperations:
  9330            type: "integer"
  9331            format: "int32"
  9332          maxPayloadSize:
  9333            type: "integer"
  9334            format: "int32"
  9335          supported:
  9336            type: "boolean"
  9337            default: false
  9338      FilterSupported:
  9339        type: "object"
  9340        properties:
  9341          maxResults:
  9342            type: "integer"
  9343            format: "int32"
  9344          supported:
  9345            type: "boolean"
  9346            default: false
  9347      Supported:
  9348        type: "object"
  9349        properties:
  9350          supported:
  9351            type: "boolean"
  9352            default: false
  9353      FaxResponse:
  9354        type: "object"
  9355        properties:
  9356          id:
  9357            type: "integer"
  9358            format: "int64"
  9359            description: "Internal identifier of a message"
  9360          uri:
  9361            type: "string"
  9362            description: "Canonical URI of a message"
  9363          type:
  9364            type: "string"
  9365            description: "Message type - 'Fax'"
  9366          from:
  9367            description: "Sender information"
  9368            $ref: "#/definitions/CallerInfoFrom"
  9369          to:
  9370            type: "array"
  9371            description: "Recipient information"
  9372            items:
  9373              $ref: "#/definitions/CallerInfoTo"
  9374          creationTime:
  9375            type: "string"
  9376            format: "date-time"
  9377            description: "Message creation datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
  9378          readStatus:
  9379            type: "string"
  9380            description: "Message read status"
  9381            enum:
  9382              - "Read"
  9383              - "Unread"
  9384          priority:
  9385            type: "string"
  9386            description: "Message priority"
  9387            enum:
  9388              - "Normal"
  9389              - "High"
  9390          attachments:
  9391            type: "array"
  9392            description: "The list of message attachments"
  9393            items:
  9394              $ref: "#/definitions/MessageAttachmentInfoIntId"
  9395          direction:
  9396            type: "string"
  9397            description: "Message direction"
  9398            enum:
  9399              - "Inbound"
  9400              - "Outbound"
  9401          availability:
  9402            type: "string"
  9403            description: "Message availability status. Message in 'Deleted' state is still preserved with all its attachments and can be restored. 'Purged' means that all attachments are already deleted and the message itself is about to be physically deleted shortly"
  9404            enum:
  9405              - "Alive"
  9406              - "Deleted"
  9407              - "Purged"
  9408          messageStatus:
  9409            type: "string"
  9410            description: "Message status. 'Queued' - the message is queued for sending; 'Sent' - a message is successfully sent; 'SendingFailed' - a message sending attempt has failed; 'Received' - a message is received (inbound messages have this status by default)"
  9411            enum:
  9412              - "Queued"
  9413              - "Sent"
  9414              - "SendingFailed"
  9415              - "Received"
  9416          faxResolution:
  9417            type: "string"
  9418            description: "Resolution of a fax message. ('High' for black and white image scanned at 200 dpi, 'Low' for black and white image scanned at 100 dpi)"
  9419            enum:
  9420              - "High"
  9421              - "Low"
  9422          faxPageCount:
  9423            type: "integer"
  9424            description: "Page count in a fax message"
  9425          lastModifiedTime:
  9426            type: "string"
  9427            format: "date-time"
  9428            description: "Datetime when the message was modified on server in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
  9429          coverIndex:
  9430            type: "integer"
  9431            description: "Cover page identifier. For the list of available cover page identifiers please call the method Fax Cover Pages"
  9432          coverPageText:
  9433            type: "string"
  9434            description: "Cover page text, entered by the fax sender and printed on the cover page. Maximum length is limited to 1024 symbols"
  9435      Binary:
  9436        type: "object"
  9437        properties:
  9438          data:
  9439            type: "string"
  9440            description: "Required Binary Data"
  9441            format: "binary"
  9442      ContactList:
  9443        type: "object"
  9444        properties:
  9445          records:
  9446            type: "array"
  9447            description: "List of personal contacts from the extension address book"
  9448            items:
  9449              $ref: "#/definitions/PersonalContactResource"
  9450          navigation:
  9451            description: "Information on navigation"
  9452            $ref: "#/definitions/NavigationInfo"
  9453          paging:
  9454            description: "Information on paging"
  9455            $ref: "#/definitions/PagingInfo"
  9456      ParkLocationResponse:
  9457        type: "object"
  9458        properties:
  9459          records:
  9460            type: "array"
  9461            description: "List of user extensions allowed to park and unpark calls to/from the extension specified"
  9462            items:
  9463              $ref: "#/definitions/ExtensionInfo"
  9464          navigation:
  9465            description: "Information on navigation"
  9466            $ref: "#/definitions/NavigationInfo"
  9467          paging:
  9468            description: "Information on paging"
  9469            $ref: "#/definitions/PagingInfo"
  9470      DeviceOrder:
  9471        type: "object"
  9472        properties:
  9473          id:
  9474            type: "string"
  9475            description: "Identifier of a device"
  9476          uri:
  9477            type: "string"
  9478            description: "Canonical URI of an order resource"
  9479          devices:
  9480            type: "array"
  9481            description: "List of devices ordered"
  9482            items:
  9483              $ref: "#/definitions/DeviceResource"
  9484      DeviceOrderCreation:
  9485        type: "object"
  9486        properties:
  9487          devices:
  9488            type: "array"
  9489            description: "List of devices ordered"
  9490            items:
  9491              $ref: "#/definitions/DeviceResource"
  9492          task:
  9493            description: "For Async Order Only. Information on device ordering task"
  9494            $ref: "#/definitions/TaskInfo"
  9495      TaskInfo:
  9496        type: "object"
  9497        properties:
  9498          id:
  9499            type: "string"
  9500            description: "Internal identifier of a task"
  9501          uri:
  9502            type: "string"
  9503            description: "Link to a task resource"
  9504          status:
  9505            type: "string"
  9506            description: "Device order status"
  9507            enum:
  9508              - "Accepted"
  9509              - "Failed"
  9510          creationTime:
  9511            type: "string"
  9512            format: "date-time"
  9513            description: "Task creation time"
  9514          lastModifiedTime:
  9515            type: "string"
  9516            format: "date-time"
  9517            description: "Time of task last modification"
  9518      AccountSignupInfoRequest:
  9519        type: "object"
  9520        properties:
  9521          marketingAccepted:
  9522            type: "boolean"
  9523            description: " Specifies whether marketing information is sent to the user"
  9524      PhoneNumbers:
  9525        type: "object"
  9526        properties:
  9527          uri:
  9528            type: "string"
  9529            description: "Canonical URI of the phone numbers resource"
  9530          records:
  9531            type: "array"
  9532            description: "List of phone numbers filtered by the specified criteria"
  9533            items:
  9534              $ref: "#/definitions/LookupPhoneNumberInfo"
  9535      LookupPhoneNumberInfo:
  9536        type: "object"
  9537        properties:
  9538          phoneNumber:
  9539            type: "string"
  9540            description: "Phone number in E.164 format"
  9541          formattedNumber:
  9542            type: "string"
  9543            description: "Phone number formatted according to current brand's default country"
  9544          vanityPattern:
  9545            type: "string"
  9546            description: "Vanity pattern for this number. Returned only when vanity search option is requested. Vanity pattern corresponds to request parameters nxx plus line or numberPattern"
  9547          rank:
  9548            type: "integer"
  9549            description: "The value is returned if the extendedSearch parameter is true. The values are 10, 9, 8, etc.; '10' is the closest match"
  9550      PagingOnlyGroupDevices:
  9551        type: "object"
  9552        properties:
  9553          records:
  9554            type: "array"
  9555            description: "List of paging devices assigned to this group"
  9556            items:
  9557              $ref: "#/definitions/PagingDeviceInfo"
  9558          navigation:
  9559            description: "Information on navigation"
  9560            $ref: "#/definitions/NavigationInfo"
  9561          paging:
  9562            description: "Information on paging"
  9563            $ref: "#/definitions/PagingInfo"
  9564      PagingDeviceInfo:
  9565        type: "object"
  9566        properties:
  9567          id:
  9568            type: "string"
  9569            description: "Internal identifier of a paging device"
  9570          uri:
  9571            type: "string"
  9572            description: "Link to a paging device resource"
  9573          name:
  9574            type: "string"
  9575            description: "Name of a paging device"
  9576      PagingOnlyGroupUsers:
  9577        type: "object"
  9578        properties:
  9579          records:
  9580            type: "array"
  9581            description: "List of users allowed to page this group"
  9582            items:
  9583              $ref: "#/definitions/PagingGroupExtensionInfo"
  9584          navigation:
  9585            description: "Information on navigation"
  9586            $ref: "#/definitions/NavigationInfo"
  9587          paging:
  9588            description: "Information on paging"
  9589            $ref: "#/definitions/PagingInfo"
  9590      PagingGroupExtensionInfo:
  9591        type: "object"
  9592        properties:
  9593          id:
  9594            type: "string"
  9595            description: "Internal identifier of a paging group user extension"
  9596          uri:
  9597            type: "string"
  9598            description: "Link to a paging group user extension"
  9599          extensionNumber:
  9600            type: "string"
  9601            description: "Extension number of a paging group user"
  9602          name:
  9603            type: "string"
  9604            description: "Name of a paging group user"
  9605      AccountPhoneNumbers:
  9606        type: "object"
  9607        properties:
  9608          records:
  9609            type: "array"
  9610            description: "List of account phone numbers"
  9611            items:
  9612              $ref: "#/definitions/PhoneNumberInfo"
  9613          navigation:
  9614            description: "Information on navigation"
  9615            $ref: "#/definitions/NavigationInfo"
  9616          paging:
  9617            description: "Information on paging"
  9618            $ref: "#/definitions/PagingInfo"
  9619      BlockedNumbersList:
  9620        type: "object"
  9621        properties:
  9622          records:
  9623            type: "array"
  9624            description: "List of blocked phone numbers"
  9625            items:
  9626              $ref: "#/definitions/BlockedNumberInfo"
  9627          navigation:
  9628            description: "Information on navigation"
  9629            $ref: "#/definitions/NavigationInfo"
  9630          paging:
  9631            description: "Information on paging"
  9632            $ref: "#/definitions/PagingInfo"
  9633      BlockedNumberInfo:
  9634        type: "object"
  9635        properties:
  9636          id:
  9637            type: "string"
  9638            description: "Internal identifier of a blocked number"
  9639          uri:
  9640            type: "string"
  9641            description: "Canonical URI of a blocked number"
  9642          name:
  9643            type: "string"
  9644            description: "Name assigned by a user to a blocked phone number"
  9645          phoneNumber:
  9646            type: "string"
  9647            description: "Phone number to be blocked"
  9648      DictionaryGreetingList:
  9649        type: "object"
  9650        properties:
  9651          uri:
  9652            type: "string"
  9653            description: "Canonical URI of greetings list resource"
  9654          records:
  9655            type: "array"
  9656            description: "List of greetings"
  9657            items:
  9658              $ref: "#/definitions/DictionaryGreetingInfo"
  9659      DictionaryGreetingInfo:
  9660        type: "object"
  9661        properties:
  9662          id:
  9663            type: "string"
  9664            description: "Internal identifier of a greeting"
  9665          uri:
  9666            type: "string"
  9667            description: "Link to a greeting"
  9668          name:
  9669            type: "string"
  9670            description: "Name of a greeting"
  9671          usageType:
  9672            type: "string"
  9673            description: "Usage type of a greeting, specifying if the greeting is applied for user extension or department extension = ['UserExtensionAnsweringRule', 'ExtensionAnsweringRule', 'DepartmentExtensionAnsweringRule', 'CompanyAnsweringRule', 'CompanyAfterHoursAnsweringRule']"
  9674            enum:
  9675              - "UserExtensionAnsweringRule"
  9676              - "ExtensionAnsweringRule"
  9677              - "DepartmentExtensionAnsweringRule"
  9678              - "CompanyAnsweringRule"
  9679              - "CompanyAfterHoursAnsweringRule"
  9680          text:
  9681            type: "string"
  9682            description: "Text of a greeting, if any"
  9683          contentUri:
  9684            type: "string"
  9685            description: "Link to a greeting content (audio file), if any"
  9686          type:
  9687            type: "string"
  9688            description: "Type of a greeting, specifying the case when the greeting is played. See Greeting Types = ['Introductory', 'Announcement', 'ConnectingMessage', 'ConnectingAudio', 'Voicemail', 'Unavailable', 'InterruptPrompt', 'HoldMusic', 'Company']"
  9689            enum:
  9690              - "Introductory"
  9691              - "Announcement"
  9692              - "ConnectingMessage"
  9693              - "ConnectingAudio"
  9694              - "Voicemail"
  9695              - "Unavailable"
  9696              - "InterruptPrompt"
  9697              - "HoldMusic"
  9698              - "Company"
  9699          category:
  9700            type: "string"
  9701            description: "Category of a greeting, specifying data form. The category value 'None' specifies that greetings of a certain type ('Introductory', 'ConnectingAudio', etc.) are switched off for an extension = ['Music', 'Message', 'Ring Tones', 'None']"
  9702            enum:
  9703              - "Music"
  9704              - "Message"
  9705              - "Ring Tones"
  9706              - "None"
  9707          navigation:
  9708            description: "Information on navigation"
  9709            $ref: "#/definitions/NavigationInfo"
  9710          paging:
  9711            description: "Information on paging"
  9712            $ref: "#/definitions/PagingInfo"
  9713      AccountPresenceInfo:
  9714        type: "object"
  9715        properties:
  9716          uri:
  9717            type: "string"
  9718            description: "Canonical URI of account presence resource"
  9719          records:
  9720            type: "array"
  9721            description: "List of Prompts"
  9722            items:
  9723              $ref: "#/definitions/GetPresenceInfo"
  9724          navigation:
  9725            description: "Information on navigation"
  9726            $ref: "#/definitions/NavigationInfo"
  9727          paging:
  9728            description: "Information on paging"
  9729            $ref: "#/definitions/PagingInfo"
  9730      CallLogRecordDeviceInfo:
  9731        type: "object"
  9732        properties:
  9733          id:
  9734            type: "string"
  9735            description: "Internal identifier of a device"
  9736          uri:
  9737            type: "string"
  9738            description: "string to a device"
  9739      GlipCreateGroup:
  9740        type: "object"
  9741        required:
  9742          - "type"
  9743        properties:
  9744          type:
  9745            type: "string"
  9746            enum:
  9747              - "PrivateChat"
  9748              - "Team"
  9749            description: "Type of a group to be created. 'PrivateChat' is a group of 2 members. 'Team' is a chat of 1 and more participants, the membership can be modified in future"
  9750          isPublic:
  9751            type: "boolean"
  9752            description: "For 'Team' group type only. Team access level"
  9753          name:
  9754            type: "string"
  9755            description: "For 'Team' group type only. Team name"
  9756          description:
  9757            type: "string"
  9758            description: "For 'Team' group type only. Team description"
  9759          members:
  9760            type: "array"
  9761            items:
  9762              type: "string"
  9763            description: "Identifier(s) of group members. For 'PrivateChat' group type 2 members only are supported"
  9764      EditGroupRequest:
  9765        type: "object"
  9766        properties:
  9767          addedPersonIds:
  9768            type: "array"
  9769            items:
  9770              type: "string"
  9771            description: "List of users to be added to the team"
  9772          addedPersonEmails:
  9773            type: "array"
  9774            items:
  9775              type: "string"
  9776            description: "List of user email addresses to be added to the team (i.e. as guests)"
  9777          removedPersonIds:
  9778            type: "array"
  9779            items:
  9780              type: "string"
  9781            description: "List of users to be removed from the team"
  9782      GlipCreatePost:
  9783        type: "object"
  9784        properties:
  9785          text:
  9786            type: "string"
  9787            description: "Text of a post, the maximum is 10000 unicode characters"
  9788          attachments:
  9789            type: "array"
  9790            items:
  9791              $ref: "#/definitions/GlipMessageAttachmentInfoRequest"
  9792            description: "List of attachments to be posted"
  9793      GlipCompany:
  9794        type: "object"
  9795        required:
  9796          - "id"
  9797          - "creationTime"
  9798          - "lastModifiedTime"
  9799        properties:
  9800          id:
  9801            type: "string"
  9802            description: "Internal identifier of an RC account/Glip company, or tilde (~) to indicate a company the current user belongs to"
  9803          name:
  9804            type: "string"
  9805            description: "Name of a company"
  9806          domain:
  9807            type: "string"
  9808            description: "Domain name of a company"
  9809          creationTime:
  9810            type: "string"
  9811            description: "Datetime of creation in ISO 8601 format"
  9812          lastModifiedTime:
  9813            type: "string"
  9814            description: "Datetime of last modification in ISO 8601 format"
  9815      GlipGroupList:
  9816        type: "object"
  9817        required:
  9818          - "records"
  9819        properties:
  9820          records:
  9821            type: "array"
  9822            items:
  9823              $ref: "#/definitions/GlipGroupInfo"
  9824            description: "List of groups/teams/private chats"
  9825          navigation:
  9826            $ref: "#/definitions/GlipNavigationInfo"
  9827            description: "Information on navigation"
  9828      GlipNavigationInfo:
  9829        type: "object"
  9830        properties:
  9831          prevPageToken:
  9832            type: "string"
  9833            description: "Previous page token. To get previous page, user should pass one of returned token in next request and, in turn, required page will be returned with new tokens"
  9834          nextPageToken:
  9835            type: "string"
  9836            description: "Next page token. To get next page, user should pass one of returned token in next request and, in turn, required page will be returned with new tokens"
  9837      GlipGroupInfo:
  9838        type: "object"
  9839        properties:
  9840          id:
  9841            type: "string"
  9842            description: "Internal identifier of a group"
  9843          type:
  9844            type: "string"
  9845            enum:
  9846              - "PrivateChat"
  9847              - "Group"
  9848              - "Team"
  9849            description: "Type of a group. 'PrivateChat' is a group of 2 members. 'Group' is a chat of 2 and more participants, the membership cannot be changed after group creation. 'Team' is a chat of 1 and more participants, the membership can be modified in future"
  9850          isPublic:
  9851            type: "boolean"
  9852            description: "For 'Team' group type only. Team access level"
  9853          name:
  9854            type: "string"
  9855            description: "For 'Team' group type only. Team name"
  9856          description:
  9857            type: "string"
  9858            description: "For 'Team' group type only. Team description"
  9859          members:
  9860            type: "array"
  9861            items:
  9862              type: "string"
  9863            description: "Identifier(s) of group members"
  9864          creationTime:
  9865            type: "string"
  9866            format: "date-time"
  9867            description: "Group creation datetime in ISO 8601 format"
  9868          lastModifiedTime:
  9869            type: "string"
  9870            format: "date-time"
  9871            description: "Group last change datetime in ISO 8601 format"
  9872      GlipPersonInfo:
  9873        type: "object"
  9874        required:
  9875          - "id"
  9876        properties:
  9877          id:
  9878            type: "string"
  9879            description: "Internal identifier of a user"
  9880          firstName:
  9881            type: "string"
  9882            description: "First name of a user"
  9883          lastName:
  9884            type: "string"
  9885            description: "Last name of a user"
  9886          email:
  9887            type: "string"
  9888            description: "Email of a user"
  9889          jobTitle:
  9890            type: "string"
  9891            description: "Job title of a user"
  9892          location:
  9893            type: "string"
  9894            description: "Location of a user"
  9895          avatar:
  9896            type: "string"
  9897            description: "Photo of a user"
  9898          companyId:
  9899            type: "string"
  9900            description: "Internal identifier of a company"
  9901          creationTime:
  9902            type: "string"
  9903            format: "date-time"
  9904            description: "Time of creation in ISO 8601 format"
  9905          lastModifiedTime:
  9906            type: "string"
  9907            format: "date-time"
  9908            description: "Time of last modification in ISO 8601 format"
  9909      GlipPosts:
  9910        type: "object"
  9911        required:
  9912          - "records"
  9913        properties:
  9914          records:
  9915            type: "array"
  9916            items:
  9917              $ref: "#/definitions/GlipPostInfo"
  9918            description: "List of posts"
  9919          navigation:
  9920            $ref: "#/definitions/GlipNavigationInfo"
  9921            description: "Information on navigation"
  9922      GlipPostInfo:
  9923        type: "object"
  9924        properties:
  9925          id:
  9926            type: "string"
  9927            description: "Internal identifier of a post"
  9928          groupId:
  9929            type: "string"
  9930            description: "Internal identifier of a group a post belongs to"
  9931          type:
  9932            type: "string"
  9933            enum:
  9934              - "TextMessage"
  9935              - "PersonJoined"
  9936              - "PersonsAdded"
  9937            description: "Type of a post"
  9938          text:
  9939            type: "string"
  9940            description: "For 'TextMessage' post type only. Message text"
  9941          creatorId:
  9942            type: "string"
  9943            description: "Internal identifier of a user - author of a post"
  9944          addedPersonIds:
  9945            type: "array"
  9946            items:
  9947              type: "string"
  9948            description: "For PersonsAdded post type only. Identifiers of persons added to a group"
  9949          creationTime:
  9950            type: "string"
  9951            format: "date-time"
  9952            description: "Post creation datetime in ISO 8601 format"
  9953          lastModifiedTime:
  9954            type: "string"
  9955            format: "date-time"
  9956            description: "Post last modification datetime in ISO 8601 format"
  9957          attachments:
  9958            type: "array"
  9959            items:
  9960              $ref: "#/definitions/GlipMessageAttachmentInfo"
  9961            description: "List of posted attachments"
  9962          mentions:
  9963            type: "array"
  9964            items:
  9965              $ref: "#/definitions/GlipMentionsInfo"
  9966            description: "List of posted attachments"
  9967          activity:
  9968            type: "string"
  9969            description: "activity type"
  9970          title:
  9971            type: "string"
  9972            description: "Title of the message. Can be set for bot messages only"
  9973          iconUri:
  9974            type: "string"
  9975            description: "URI to an image to use as the icon for this message."
  9976          iconEmoji:
  9977            type: "string"
  9978            description: "Emoji to use as the icon for a message"
  9979      GlipMessageAttachmentInfoRequest:
  9980        type: "object"
  9981        properties:
  9982          type:
  9983            type: "string"
  9984            description: "Type of an attachment"
  9985            default: "Card"
  9986          fallback:
  9987            type: "string"
  9988            description: "A string of default text that will be rendered in the case that the client does not support Interactive Messages"
  9989          color:
  9990            type: "string"
  9991            description: "A Hex color code that determines the color of the side border of the Interactive Message"
  9992          intro:
  9993            type: "string"
  9994            description: "A pretext to the message"
  9995          author:
  9996            description: "Information about the author"
  9997            $ref: "#/definitions/GlipMessageAttachmentAuthorInfo"
  9998          title:
  9999            type: "string"
 10000            description: "Message title"
 10001          text:
 10002            type: "string"
 10003            description: "A large string field (up to 1000 chars) to be displayed as the body of a message (Supports GlipDown)"
 10004          imageUri:
 10005            type: "string"
 10006            description: "url used to display a single image at the bottom of a message"
 10007          thumbnailUri:
 10008            type: "string"
 10009            description: "url used to display a thumbnail to the right of a message (82x82)"
 10010          fields:
 10011            type: "array"
 10012            description: "Information on navigation"
 10013            items:
 10014              $ref: "#/definitions/GlipMessageAttachmentFieldsInfo"
 10015          footnote:
 10016            description: "Message Footer"
 10017            $ref: "#/definitions/GlipMessageAttachmentFootnoteInfo"
 10018      GlipMessageAttachmentInfo:
 10019        type: "object"
 10020        properties:
 10021          id:
 10022            type: "string"
 10023            description: "Internal identifier of an attachment"
 10024          type:
 10025            type: "string"
 10026            description: "Type of an attachment"
 10027            default: "Card"
 10028          fallback:
 10029            type: "string"
 10030            description: "A string of default text that will be rendered in the case that the client does not support Interactive Messages"
 10031          color:
 10032            type: "string"
 10033            description: "A Hex color code that determines the color of the side border of the Interactive Message"
 10034          intro:
 10035            type: "string"
 10036            description: "A pretext to the message"
 10037          author:
 10038            description: "Information about the author"
 10039            $ref: "#/definitions/GlipMessageAttachmentAuthorInfo"
 10040          title:
 10041            type: "string"
 10042            description: "Message title"
 10043          text:
 10044            type: "string"
 10045            description: "A large string field (up to 1000 chars) to be displayed as the body of a message (Supports GlipDown)"
 10046          imageUri:
 10047            type: "string"
 10048            description: "url used to display a single image at the bottom of a message"
 10049          thumbnailUri:
 10050            type: "string"
 10051            description: "url used to display a thumbnail to the right of a message (82x82)"
 10052          fields:
 10053            type: "array"
 10054            description: "Information on navigation"
 10055            items:
 10056              $ref: "#/definitions/GlipMessageAttachmentFieldsInfo"
 10057          footnote:
 10058            description: "Message Footer"
 10059            $ref: "#/definitions/GlipMessageAttachmentFootnoteInfo"
 10060      GlipMessageAttachmentAuthorInfo:
 10061        type: "object"
 10062        properties:
 10063          name:
 10064            type: "string"
 10065            description: "The author name"
 10066          uri:
 10067            type: "string"
 10068            description: "Used to link the authors name"
 10069          iconUri:
 10070            type: "string"
 10071            description: "A url to an image up to 82x82px that will display to the left of the author’s name"
 10072      GlipMessageAttachmentFootnoteInfo:
 10073        type: "object"
 10074        properties:
 10075          text:
 10076            type: "string"
 10077            description: "A string used to be displayed as the body of the footer."
 10078          iconUri:
 10079            type: "string"
 10080            description: "A URL used to display a 32x32px icon to the left of the footer"
 10081          time:
 10082            type: "string"
 10083            description: "A Unix timestamp to be displayed to the right of the footer (prettified)"
 10084            format: "date-time"
 10085      GlipMessageAttachmentFieldsInfo:
 10086        type: "object"
 10087        properties:
 10088          title:
 10089            type: "string"
 10090            description: "Title for an individual field"
 10091          value:
 10092            type: "string"
 10093            description: "Field Value (Supports Markdown)"
 10094          style:
 10095            type: "string"
 10096            description: "A style used to flag fields that should span the width of the message, Defaults to 'Short' (Not full width)"
 10097            enum:
 10098              - "Short"
 10099              - "Long"
 10100      GlipMentionsInfo:
 10101        type: "object"
 10102        properties:
 10103          id:
 10104            type: "string"
 10105            description: "Id of the user"
 10106          type:
 10107            type: "string"
 10108            description: "Type of mentions"
 10109            enum:
 10110              - "Person"
 10111              - "Team"
 10112              - "File"
 10113              - "Link"
 10114              - "Event"
 10115              - "Task"
 10116              - "Note"
 10117              - "Card"
 10118          name:
 10119            type: "string"
 10120            description: "Name of the user"
 10121      PostGlipFile:
 10122        type: "object"
 10123        required:
 10124          - "id"
 10125          - "contentUri"
 10126        properties:
 10127          id:
 10128            type: "string"
 10129            description: "Internal identifier of a file"
 10130          contentUri:
 10131            type: "string"
 10132            description: "Link to binary content"
 10133          name:
 10134            type: "string"
 10135            description: "Name of a file"
 10136      GlipUnreadMessageCount:
 10137        type: "object"
 10138        properties:
 10139          unreadPostsCount:
 10140            type: "integer"
 10141            description: "Total count of unread posts"
 10142          tooManyUnreadPosts:
 10143            type: "boolean"
 10144            description: "'True' if message quantity exceeds the threshold (100 by default)"
 10145      BotExtensionCreation:
 10146        type: "object"
 10147        properties:
 10148          uri:
 10149            type: "string"
 10150            description: "Link to a bot extension resource"
 10151          id:
 10152            type: "string"
 10153            description: "Internal identifier of a bot extension"
 10154          extensionNumber:
 10155            type: "string"
 10156            description: "Bot extension number"
 10157          name:
 10158            type: "string"
 10159            description: "Bot name (equals to extension first name)"
 10160          applicationKey:
 10161            type: "string"
 10162            description: "Identifier key of a bot application"
 10163          creatorId:
 10164            type: "string"
 10165            description: "User extension identifier"
 10166      BotExtensionCreationRequest:
 10167        type: "object"
 10168        properties:
 10169          name:
 10170            type: "string"
 10171            description: "Bot name (equals to extension first name)"
 10172          applicationKey:
 10173            type: "string"
 10174            description: "Key of a bot application"
 10175          creatorId:
 10176            type: "string"
 10177            description: "User extension identifier"
 10178      CompanyDirectoryContactInfo:
 10179        type: "object"
 10180        properties:
 10181          id:
 10182            type: "string"
 10183            description: "Internal identifier of an extension"
 10184          type:
 10185            type: "string"
 10186            enum:
 10187              - "User"
 10188              - "Department"
 10189              - "Announcement"
 10190              - "Voicemail"
 10191              - "SharedLinesGroup"
 10192              - "PagingOnly"
 10193              - "IvrMenu"
 10194              - "ParkLocation"
 10195              - "Limited"
 10196            description: "Type of an extension"
 10197          status:
 10198            type: "string"
 10199            enum:
 10200              - "Enabled"
 10201              - "Disabled"
 10202              - "NotActivated"
 10203            description: "Status of an extension"
 10204          firstName:
 10205            type: "string"
 10206            description: "User extension first name"
 10207          lastName:
 10208            type: "string"
 10209            description: "User extension last name"
 10210          name:
 10211            type: "string"
 10212            description: "Name of an extension"
 10213          department:
 10214            type: "string"
 10215            description: "Department name of an extension"
 10216          email:
 10217            type: "string"
 10218            description: "Email of an extension"
 10219          extensionNumber:
 10220            type: "string"
 10221            description: "Number of an extension"
 10222          account:
 10223            $ref: "#/definitions/CompanyDirectoryAccountInfo"
 10224            description: "Account data of an extension"
 10225          phoneNumbers:
 10226            type: "array"
 10227            items:
 10228              $ref: "#/definitions/CompanyDirectoryPhoneNumberInfo"
 10229            description: "Extension phone numbers information"
 10230          profileImage:
 10231            $ref: "#/definitions/CompanyDirectoryProfileImageInfo"
 10232            description: "Extension profile image information. Not returned if profile images are absent for an extension"
 10233      CompanyDirectoryAccountInfo:
 10234        type: "object"
 10235        properties:
 10236          id:
 10237            type: "string"
 10238            description: "Internal identifier of an account"
 10239      CompanyDirectoryPhoneNumberInfo:
 10240        type: "object"
 10241        properties:
 10242          phoneNumber:
 10243            type: "string"
 10244            description: "Extension phone number in E.164 format"
 10245          type:
 10246            type: "string"
 10247            enum:
 10248              - "VoiceFax"
 10249              - "FaxOnly"
 10250              - "VoiceOnly"
 10251            description: "Type of a phone number"
 10252          hidden:
 10253            type: "boolean"
 10254            description: "Specifies if a phone number should be hidden or not. Returned only if the value is 'True'"
 10255          usageType:
 10256            type: "string"
 10257            enum:
 10258              - "MobileNumber"
 10259              - "ContactNumber"
 10260              - "DirectNumber"
 10261              - "ForwardedNumber"
 10262            description: "Usage type of a phone number"
 10263      CompanyDirectoryProfileImageInfo:
 10264        type: "object"
 10265        properties:
 10266          uri:
 10267            type: "string"
 10268            description: "Link to a profile image resource"
 10269          etag:
 10270            type: "string"
 10271            description: "Internal identifier of an image"
 10272      CompanyDirectoryContacts:
 10273        type: "object"
 10274        required:
 10275          - "records"
 10276          - "paging"
 10277        properties:
 10278          records:
 10279            type: "array"
 10280            items:
 10281              $ref: "#/definitions/CompanyDirectoryContactInfo"
 10282            description: "List of countries which can be selected for a dialing plan"
 10283          paging:
 10284            $ref: "#/definitions/PagingInfo"
 10285            description: "Information on paging"
 10286      FederationInfo:
 10287        type: "object"
 10288        properties:
 10289          id:
 10290            type: "string"
 10291            description: "Internal identifier of a federation"
 10292          displayName:
 10293            type: "string"
 10294            description: "Name of a federation"
 10295          creationTime:
 10296            type: "string"
 10297            format: "date-time"
 10298            description: "Datetime of federation creation, in ISO 8601 format, for example 2016-03-10T18:07:52.534Z"
 10299          lastModifiedTime:
 10300            type: "string"
 10301            format: "date-time"
 10302            description: "Datetime of the last change of federation composition, in ISO 8601 format, for example 2016-03-10T18:07:52.534Z"
 10303          accounts:
 10304            type: "array"
 10305            items:
 10306              $ref: "#/definitions/FederationAccountInfo"
 10307            description: "List of countries which can be selected for a dialing plan"
 10308      FederationAccountInfo:
 10309        type: "object"
 10310        properties:
 10311          id:
 10312            type: "string"
 10313            description: "Internal identifier of an account"
 10314          companyName:
 10315            type: "string"
 10316            description: "Company name of an account"
 10317          federatedName:
 10318            type: "string"
 10319            description: "Federation name of an account"
 10320          linkCreationTime:
 10321            type: "string"
 10322            description: "Datetime when this account was linked to a federation, in ISO 8601 format, for example 2016-03-10T18:07:52.534Z"
 10323          mainNumber:
 10324            $ref: "#/definitions/FederationMainNumberInfo"
 10325            description: "Main company number information"
 10326          conflictCount:
 10327            type: "integer"
 10328            description: "Count of federation extension numbers conflicting with extension numbers of the requested account. For extension numbers of the requested account the value of this parameter is '0'"
 10329      FederationMainNumberInfo:
 10330        type: "object"
 10331        properties:
 10332          phoneNumber:
 10333            type: "string"
 10334            description: "Main company number of an account in E.164 format"
 10335          formattedPhoneNumber:
 10336            type: "string"
 10337            description: "Main company number of an account formatted as consistent with the home country of the current extension"
 10338      FederationConflicts:
 10339        type: "object"
 10340        required:
 10341          - "records"
 10342        properties:
 10343          records:
 10344            type: "array"
 10345            items:
 10346              $ref: "#/definitions/FederationExtensionInfo"
 10347            description: "List of conflicting federation extensions"
 10348      FederationExtensionInfo:
 10349        type: "object"
 10350        properties:
 10351          id:
 10352            type: "string"
 10353            description: "Internal identifier of an extension of current account"
 10354          extensionNumber:
 10355            type: "string"
 10356            description: "Number of an extension"
 10357          firstName:
 10358            type: "string"
 10359            description: "Extension user first name"
 10360          lastName:
 10361            type: "string"
 10362            description: "Extension user last name"
 10363          conflicts:
 10364            type: "array"
 10365            items:
 10366              $ref: "#/definitions/ConflictsInfo"
 10367            description: "Conflicting extensions information"
 10368      ConflictsInfo:
 10369        type: "object"
 10370        properties:
 10371          id:
 10372            type: "string"
 10373            description: "Internal identifier of a conflicting extension assigned to another account of the current federation"
 10374          firstName:
 10375            type: "string"
 10376            description: "Extension user first name"
 10377          lastName:
 10378            type: "string"
 10379            description: "Extension user last name"
 10380          account:
 10381            $ref: "#/definitions/FederationConflictsAccountInfo"
 10382            description: "Account data of an extension"
 10383      FederationConflictsAccountInfo:
 10384        type: "object"
 10385        properties:
 10386          id:
 10387            type: "string"
 10388            description: "Internal identifier of an account"
 10389          federatedName:
 10390            type: "string"
 10391            description: "Federated name of an account"
 10392      FederationExtensionNumbers:
 10393        type: "object"
 10394        required:
 10395          - "records"
 10396        properties:
 10397          records:
 10398            type: "array"
 10399            items:
 10400              $ref: "#/definitions/FederationExtensionNumbersExtensionInfo"
 10401            description: "List of extension numbers of the current federation"
 10402      FederationExtensionNumbersExtensionInfo:
 10403        type: "object"
 10404        properties:
 10405          id:
 10406            type: "string"
 10407            description: "Internal identifier of an extension"
 10408          extensionNumber:
 10409            type: "string"
 10410            description: "Number of an extension"
 10411      ReportingSettings:
 10412        type: "object"
 10413        required:
 10414          - "views"
 10415        properties:
 10416          views:
 10417            type: "array"
 10418            items:
 10419              $ref: "#/definitions/ReportingViewInfo"
 10420            description: "List of 'View' structures with a tuple of filter values, pages and schedules"
 10421      ReportingViewInfo:
 10422        type: "object"
 10423        required:
 10424          - "name"
 10425          - "pages"
 10426        properties:
 10427          name:
 10428            type: "string"
 10429            description: "User-defined name of a 'View'. The maximum value is 255"
 10430          pages:
 10431            type: "array"
 10432            items:
 10433              $ref: "#/definitions/ReportingPagesInfo"
 10434            description: "List of pages, the max amount is 10"
 10435          schedules:
 10436            type: "array"
 10437            items:
 10438              $ref: "#/definitions/ReportingSchedulesInfo"
 10439            description: "List of schedules, the max amount is 5. Each 'View' may have several schedules for reporting. For example, customer may want to get daily and weekly reports with the same set of settings"
 10440      ReportingPagesInfo:
 10441        type: "object"
 10442        required:
 10443          - "name"
 10444        properties:
 10445          name:
 10446            type: "string"
 10447            description: "Name of a page. CFA application UI predefines a set of possible names and treats them as enum constants to distinguish pages by type. This is not user-visible value, as it might need localization. The maximum value is 255"
 10448          attrX:
 10449            type: "string"
 10450            description: "CFA-defined filter values/page parameters"
 10451      ReportingSchedulesInfo:
 10452        type: "object"
 10453        properties:
 10454          scheduleId:
 10455            type: "string"
 10456            description: "Unique schedule identifier"
 10457          recurrence:
 10458            type: "array"
 10459            items:
 10460              $ref: "#/definitions/ReportingRecurrenceInfo"
 10461            description: "Recurrence pattern of a schedule"
 10462          viewType:
 10463            type: "string"
 10464            enum:
 10465              - "Detailed"
 10466              - "Simple"
 10467            description: "Type of report. Detailed reports include tables with data. Simple reports only include charts"
 10468          attachments:
 10469            type: "array"
 10470            items:
 10471              $ref: "#/definitions/ReportingAttachmentInfo"
 10472            description: "Set of optional attachments. Basically, every report email is in HTML format. Optionally, it can contain PDF or CSV files"
 10473          pages:
 10474            type: "array"
 10475            items:
 10476              type: "string"
 10477            description: "List of pages to include to the report. If empty, all pages are included. Otherwise, only specified pages are included. API doesn't check validity of page names. Client application is responsible to do that"
 10478          recipients:
 10479            type: "array"
 10480            items:
 10481              type: "string"
 10482            description: "List of emails to which to send rendered reports"
 10483      ReportingRecurrenceInfo:
 10484        type: "object"
 10485        properties:
 10486          pattern:
 10487            type: "string"
 10488            enum:
 10489              - "Daily"
 10490              - "Weekly"
 10491              - "Monthly"
 10492            description: "Pattern (frequency) of recurrence"
 10493          value:
 10494            type: "string"
 10495            enum:
 10496              - "0"
 10497              - "1-7"
 10498              - "1-31"
 10499              - "last"
 10500            description: "Time and dates should be specified in UTC time zone"
 10501      ReportingAttachmentInfo:
 10502        type: "object"
 10503        properties:
 10504          csv:
 10505            type: "boolean"
 10506            description: "Specifies whether to include CSV version of the report"
 10507          pdf:
 10508            type: "boolean"
 10509            description: "Specifies whether to include PDF version of the report"
 10510      UserUpdateRequest:
 10511        type: "object"
 10512        required:
 10513          - "schemas"
 10514          - "name"
 10515          - "userName"
 10516          - "emails"
 10517        properties:
 10518          active:
 10519            type: "boolean"
 10520            description: "Status of a user"
 10521            default: false
 10522          addresses:
 10523            type: "array"
 10524            items:
 10525              $ref: "#/definitions/AddressInfo"
 10526            description: "User addresses"
 10527          emails:
 10528            type: "array"
 10529            items:
 10530              $ref: "#/definitions/EmailInfo"
 10531            description: "User email addresses"
 10532          externalId:
 10533            type: "string"
 10534            description: "External identifier of a user"
 10535          id:
 10536            type: "string"
 10537            description: "Internal identifier of a user"
 10538          name:
 10539            $ref: "#/definitions/NameInfo"
 10540            description: "User name"
 10541          phoneNumbers:
 10542            type: "array"
 10543            items:
 10544              $ref: "#/definitions/PhoneNumberInfoRequest"
 10545            description: "User phone numbers"
 10546          photos:
 10547            type: "array"
 10548            items:
 10549              $ref: "#/definitions/PhotoInfo"
 10550          schemas:
 10551            type: "array"
 10552            items:
 10553              type: "string"
 10554            enum:
 10555              - "urn:ietf:params:scim:schemas:core:2.0:User"
 10556            description: "Specification links"
 10557          urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
 10558            $ref: "#/definitions/EnterpriseUser"
 10559          userName:
 10560            type: "string"
 10561            description: "User mailbox. Must be same as work type email address"
 10562      UserCreationRequest:
 10563        type: "object"
 10564        required:
 10565          - "schemas"
 10566          - "name"
 10567          - "userName"
 10568          - "emails"
 10569        properties:
 10570          active:
 10571            type: "boolean"
 10572            description: "Status of a user"
 10573            default: false
 10574          addresses:
 10575            type: "array"
 10576            items:
 10577              $ref: "#/definitions/AddressInfo"
 10578            description: "User addresses"
 10579          emails:
 10580            type: "array"
 10581            items:
 10582              $ref: "#/definitions/EmailInfo"
 10583            description: "User email addresses"
 10584          externalId:
 10585            type: "string"
 10586            description: "External identifier of a user"
 10587          id:
 10588            type: "string"
 10589            description: "Internal identifier of a user"
 10590          name:
 10591            $ref: "#/definitions/NameInfo"
 10592            description: "User name"
 10593          phoneNumbers:
 10594            type: "array"
 10595            items:
 10596              $ref: "#/definitions/PhoneNumberInfoRequest"
 10597            description: "User phone numbers"
 10598          photos:
 10599            type: "array"
 10600            items:
 10601              $ref: "#/definitions/PhotoInfo"
 10602          schemas:
 10603            type: "array"
 10604            items:
 10605              type: "string"
 10606            enum:
 10607              - "urn:ietf:params:scim:schemas:core:2.0:User"
 10608            description: "Specification links"
 10609          urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
 10610            $ref: "#/definitions/EnterpriseUser"
 10611          userName:
 10612            type: "string"
 10613            description: "User mailbox. Must be same as work type email address"
 10614      NameInfoRequest:
 10615        type: "object"
 10616        properties:
 10617          givenName:
 10618            type: "string"
 10619            description: "User first name"
 10620          familyName:
 10621            type: "string"
 10622            description: "User last name"
 10623      EmailInfoRequest:
 10624        type: "object"
 10625        properties:
 10626          value:
 10627            type: "string"
 10628            description: "Email address"
 10629          type:
 10630            type: "string"
 10631            description: "Email address type"
 10632      PhoneNumberInfoRequest:
 10633        type: "object"
 10634        properties:
 10635          value:
 10636            type: "string"
 10637            description: "Phone number"
 10638          type:
 10639            type: "string"
 10640            description: "Phone number type"
 10641            enum:
 10642              - "work"
 10643              - "mobile"
 10644              - "other"
 10645      AddressInfoRequest:
 10646        type: "object"
 10647        properties:
 10648          streetAddress:
 10649            type: "string"
 10650            description: "User street address"
 10651          locality:
 10652            type: "string"
 10653            description: "User city"
 10654          region:
 10655            type: "string"
 10656            description: "User state/region"
 10657          postalCode:
 10658            type: "string"
 10659            description: "User postal code"
 10660          country:
 10661            type: "string"
 10662            description: "User country"
 10663          type:
 10664            type: "string"
 10665            description: "Address type"
 10666      UrnInfoRequest:
 10667        type: "object"
 10668        properties:
 10669          department:
 10670            type: "string"
 10671            description: "Name of department (call queue) member"
 10672      GetUserListResponse:
 10673        type: "object"
 10674        properties:
 10675          schemas:
 10676            type: "array"
 10677            items:
 10678              type: "string"
 10679            description: "Specification links"
 10680          startIndex:
 10681            type: "integer"
 10682            description: "1-based index of query result"
 10683          totalResults:
 10684            type: "integer"
 10685            description: "Results count"
 10686          Resources:
 10687            type: "array"
 10688            items:
 10689              $ref: "#/definitions/UserInfo"
 10690            description: "List of users with detailed info"
 10691          itemsPerPage:
 10692            type: "integer"
 10693            description: "Number of users displayed per page"
 10694      UserInfo:
 10695        type: "object"
 10696        properties:
 10697          active:
 10698            type: "boolean"
 10699            description: "Status of a user"
 10700            default: false
 10701          addresses:
 10702            type: "array"
 10703            items:
 10704              $ref: "#/definitions/AddressInfo"
 10705            description: "User addresses"
 10706          emails:
 10707            type: "array"
 10708            items:
 10709              $ref: "#/definitions/EmailInfo"
 10710            description: "User email addresses"
 10711          externalId:
 10712            type: "string"
 10713            description: "External identifier of a user"
 10714          id:
 10715            type: "string"
 10716            description: "Internal identifier of a user"
 10717          name:
 10718            $ref: "#/definitions/NameInfo"
 10719            description: "User name"
 10720          phoneNumbers:
 10721            type: "array"
 10722            items:
 10723              $ref: "#/definitions/PhoneNumberInfoRequest"
 10724            description: "User phone numbers"
 10725          photos:
 10726            type: "array"
 10727            items:
 10728              $ref: "#/definitions/PhotoInfo"
 10729          schemas:
 10730            type: "array"
 10731            items:
 10732              type: "string"
 10733            enum:
 10734              - "urn:ietf:params:scim:schemas:core:2.0:User"
 10735            description: "Specification links"
 10736          urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
 10737            $ref: "#/definitions/EnterpriseUser"
 10738          userName:
 10739            type: "string"
 10740            description: "User mailbox. Must be same as work type email address"
 10741          meta:
 10742            $ref: "#/definitions/MetaInfo"
 10743            description: "User metadata"
 10744      EnterpriseUser:
 10745        type: "object"
 10746        properties:
 10747          department:
 10748            type: "string"
 10749      PhotoInfo:
 10750        type: "object"
 10751        properties:
 10752          value:
 10753            type: "string"
 10754          type:
 10755            type: "string"
 10756            enum:
 10757              - "photo"
 10758      MetaInfo:
 10759        type: "object"
 10760        properties:
 10761          resourceType:
 10762            type: "string"
 10763            description: "User type"
 10764            enum:
 10765              - "User"
 10766              - "Group"
 10767          created:
 10768            type: "string"
 10769            format: "date-time"
 10770            description: "Datetime of user creation in ISO 8601 format, for example 2016-03-10T18:07:52.534Z"
 10771          lastModified:
 10772            type: "string"
 10773            format: "date-time"
 10774            description: "Datetime of the last change of user information in ISO 8601 format,for example 2016-03-10T18:07:52.534Z"
 10775          location:
 10776            type: "string"
 10777            description: "resource location URI"
 10778      NameInfo:
 10779        type: "object"
 10780        properties:
 10781          givenName:
 10782            type: "string"
 10783            description: "User first name"
 10784          familyName:
 10785            type: "string"
 10786            description: "User last name"
 10787      EmailInfo:
 10788        type: "object"
 10789        properties:
 10790          value:
 10791            type: "string"
 10792            description: "Email address"
 10793          type:
 10794            type: "string"
 10795            description: "Email address type"
 10796            enum:
 10797              - "work"
 10798      AddressInfo:
 10799        type: "object"
 10800        properties:
 10801          streetAddress:
 10802            type: "string"
 10803            description: "User street address"
 10804          locality:
 10805            type: "string"
 10806            description: "User city"
 10807          region:
 10808            type: "string"
 10809            description: "User state/region"
 10810          postalCode:
 10811            type: "string"
 10812            description: "User postal code"
 10813          country:
 10814            type: "string"
 10815            description: "User country"
 10816          type:
 10817            type: "string"
 10818            description: "Address type"
 10819            enum:
 10820              - "work"
 10821      EditParkLocationRequest:
 10822        type: "object"
 10823        properties:
 10824          addedUserIds:
 10825            type: "array"
 10826            description: "List of users that will be allowed to park/unpark calls using the specified park location"
 10827            items:
 10828              type: "string"
 10829          removedUserIds:
 10830            type: "array"
 10831            description: "List of users that will be unallowed to park/unpark calls using the specified park location"
 10832            items:
 10833              type: "string"
 10834      EditPagingGroupRequest:
 10835        type: "object"
 10836        properties:
 10837          addedUserIds:
 10838            type: "array"
 10839            description: "List of users that will be allowed to page a group specified"
 10840            items:
 10841              type: "string"
 10842          removedUserIds:
 10843            type: "array"
 10844            description: "List of users that will be unallowed to page a group specified"
 10845            items:
 10846              type: "string"
 10847          addedDeviceIds:
 10848            type: "array"
 10849            description: "List of account devices that will be assigned to a paging group specified"
 10850            items:
 10851              type: "string"
 10852          removedDeviceIds:
 10853            type: "array"
 10854            description: "List of account devices that will be unassigned from a paging group specified"
 10855            items:
 10856              type: "string"
 10857      DepartmentMemberList:
 10858        type: "object"
 10859        properties:
 10860          records:
 10861            type: "array"
 10862            description: "List of department members extensions"
 10863            items:
 10864              $ref: "#/definitions/ExtensionInfo"
 10865          navigation:
 10866            description: "Information on navigation"
 10867            $ref: "#/definitions/NavigationInfo"
 10868          paging:
 10869            description: "Information on paging"
 10870            $ref: "#/definitions/PagingInfo"
 10871      DictionaryShippingOptions:
 10872        type: "object"
 10873        properties:
 10874          quantity:
 10875            type: "integer"
 10876            description: "Quantity of devices to ship"
 10877          price:
 10878            type: "integer"
 10879            description: "Price for shipping with the specified method (depending on the quantity value)"
 10880          method:
 10881            description: "Shipping method description"
 10882            $ref: "#/definitions/ShippingMethod"
 10883      LanguageList:
 10884        type: "object"
 10885        properties:
 10886          uri:
 10887            type: "string"
 10888            description: "Canonical URI of the language list resource"
 10889          records:
 10890            type: "array"
 10891            description: "Language data"
 10892            items:
 10893              $ref: "#/definitions/LanguageInfo"
 10894          navigation:
 10895            description: "Information on navigation"
 10896            $ref: "#/definitions/NavigationInfo"
 10897          paging:
 10898            description: "Information on paging"
 10899            $ref: "#/definitions/PagingInfo"
 10900      NotificationSettings:
 10901        type: "object"
 10902        properties:
 10903          uri:
 10904            type: "string"
 10905            description: "Canonical URI of notifications settings resource"
 10906          emailAddresses:
 10907            type: "array"
 10908            items:
 10909              type: "string"
 10910            description: "List of notification recipient email addresses"
 10911          smsEmailAddresses:
 10912            type: "array"
 10913            items:
 10914              type: "string"
 10915            description: "List of notification recipient email addresses"
 10916          advancedMode:
 10917            type: "boolean"
 10918            description: "Specifies notifications settings mode. If 'True' then advanced mode is on, it allows using different emails and/or phone numbers for each notification type. If 'False' then basic mode is on. Advanced mode settings are returned in both modes, if specified once, but if basic mode is switched on, they are not applied"
 10919          voicemails:
 10920            $ref: "#/definitions/VoicemailsInfo"
 10921          inboundFaxes:
 10922            $ref: "#/definitions/InboundFaxesInfo"
 10923          outboundFaxes:
 10924            $ref: "#/definitions/OutboundFaxesInfo"
 10925          inboundTexts:
 10926            $ref: "#/definitions/InboundTextsInfo"
 10927          missedCalls:
 10928            $ref: "#/definitions/MissedCallsInfo"
 10929      InProductMessages:
 10930        type: "object"
 10931        properties:
 10932          uri:
 10933            type: "string"
 10934            description: "Link to the in-product messages resource"
 10935          records:
 10936            type: "array"
 10937            description: "The list of in-product messages"
 10938            items:
 10939              $ref: "#/definitions/BannerInfo"
 10940          navigation:
 10941            description: "Information on navigation"
 10942            $ref: "#/definitions/NavigationInfo"
 10943          paging:
 10944            description: "Information on paging"
 10945            $ref: "#/definitions/PagingInfo"
 10946      BannerInfo:
 10947        type: "object"
 10948        properties:
 10949          bannerType:
 10950            type: "string"
 10951            description: "Type of a banner"
 10952          description:
 10953            type: "string"
 10954            description: "Custom text description of a banner"
 10955          content:
 10956            type: "string"
 10957            description: "HTML formatted message content"
 10958          expirationDate:
 10959            type: "string"
 10960            description: "Datetime of message expiration in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 10961      IVRPrompts:
 10962        type: "object"
 10963        properties:
 10964          uri:
 10965            type: "string"
 10966            description: "Link to prompts library resource"
 10967          records:
 10968            type: "array"
 10969            description: "List of Prompts"
 10970            items:
 10971              $ref: "#/definitions/PromptInfo"
 10972          navigation:
 10973            description: "Information on navigation"
 10974            $ref: "#/definitions/NavigationInfo"
 10975          paging:
 10976            description: "Information on paging"
 10977            $ref: "#/definitions/PagingInfo"
 10978      PromptInfo:
 10979        type: "object"
 10980        properties:
 10981          uri:
 10982            type: "string"
 10983            description: "Internal identifier of a prompt"
 10984          id:
 10985            type: "string"
 10986            description: "Link to a prompt metadata"
 10987          contentType:
 10988            type: "string"
 10989            description: "Type of a prompt media content"
 10990          contentUri:
 10991            type: "string"
 10992            description: "Link to a prompt media content"
 10993          filename:
 10994            type: "string"
 10995            description: "Name of a prompt"
 10996      IVRMenuInfo:
 10997        type: "object"
 10998        properties:
 10999          id:
 11000            type: "string"
 11001            description: "Internal identifier of an IVR Menu extension"
 11002          uri:
 11003            type: "string"
 11004            description: "Link to an IVR Menu extension resource"
 11005          name:
 11006            type: "string"
 11007            description: "First name of an IVR Menu user"
 11008          extensionNumber:
 11009            type: "string"
 11010            description: "Number of an IVR Menu extension"
 11011          prompt:
 11012            description: "Prompt metadata"
 11013            $ref: "#/definitions/IVRMenuPromptInfo"
 11014          actions:
 11015            type: "array"
 11016            description: "Keys handling settings"
 11017            items:
 11018              $ref: "#/definitions/IVRMenuActionsInfo"
 11019      IVRMenuPromptInfo:
 11020        type: "object"
 11021        properties:
 11022          mode:
 11023            type: "string"
 11024            description: "Prompt mode: custom media or text = ['Audio', 'TextToSpeech']"
 11025            enum:
 11026              - "Audio"
 11027              - "TextToSpeech"
 11028          audio:
 11029            description: "For 'Audio' mode only. Prompt media reference"
 11030            $ref: "#/definitions/PromptLanguageInfo"
 11031          text:
 11032            type: "string"
 11033            description: "For 'TextToSpeech' mode only. Prompt text"
 11034          language:
 11035            description: "For 'TextToSpeech' mode only. Prompt language metadata"
 11036            $ref: "#/definitions/AudioPromptInfo"
 11037      IVRMenuActionsInfo:
 11038        type: "object"
 11039        properties:
 11040          input:
 11041            type: "string"
 11042            description: "Key. The following values are supported: numeric: '1' to '9' Star Hash NoInput"
 11043          action:
 11044            type: "string"
 11045            description: "Internal identifier of an answering rule"
 11046            enum:
 11047              - "Connect"
 11048              - "Voicemail"
 11049              - "DialByName"
 11050              - "Transfer"
 11051              - "Repeat"
 11052              - "ReturnToRoot"
 11053              - "ReturnToPrevious"
 11054              - "Disconnect"
 11055          extension:
 11056            description: "For 'Connect' or 'Voicemail' actions only. Extension reference"
 11057            $ref: "#/definitions/IVRMenuExtensionInfo"
 11058          phoneNumber:
 11059            type: "string"
 11060            description: "For 'Transfer' action only. PSTN number in E.164 format"
 11061      AudioPromptInfo:
 11062        type: "object"
 11063        properties:
 11064          uri:
 11065            type: "string"
 11066            description: "Link to an prompt audio file"
 11067          id:
 11068            type: "string"
 11069            description: "Internal identifier of an prompt"
 11070      PromptLanguageInfo:
 11071        type: "object"
 11072        properties:
 11073          uri:
 11074            type: "string"
 11075            description: "Link to prompt language"
 11076          id:
 11077            type: "string"
 11078            description: "Internal identifier of an language"
 11079          name:
 11080            type: "string"
 11081            description: "Language name"
 11082          localeCode:
 11083            type: "string"
 11084            description: "Language locale code"
 11085      IVRMenuExtensionInfo:
 11086        type: "object"
 11087        properties:
 11088          uri:
 11089            type: "string"
 11090            description: "Link to an extension resource"
 11091          id:
 11092            type: "string"
 11093            description: "Internal identifier of an extension"
 11094      CustomCompanyGreetingInfo:
 11095        type: "object"
 11096        properties:
 11097          uri:
 11098            type: "string"
 11099            description: "Link to an extension custom greeting"
 11100          id:
 11101            type: "string"
 11102            description: "Internal identifier of an answering rule"
 11103          type:
 11104            type: "string"
 11105            description: "Internal identifier of an answering rule"
 11106            enum:
 11107              - "Company"
 11108          contentType:
 11109            type: "string"
 11110            description: "Content media type in WAV/MP3 format"
 11111            enum:
 11112              - "WAV"
 11113              - "MP3"
 11114          contentUri:
 11115            type: "string"
 11116            description: "Link to a greeting content (audio file)"
 11117          answeringRule:
 11118            description: "Information on an answering rule that the greeting is applied to"
 11119            $ref: "#/definitions/CustomGreetingAnsweringRuleInfo"
 11120      CustomGreetingAnsweringRuleInfo:
 11121        type: "object"
 11122        properties:
 11123          uri:
 11124            type: "string"
 11125            description: "Canonical URI of an answering rule"
 11126          id:
 11127            type: "string"
 11128            description: "Internal identifier of an answering rule"
 11129      CustomCompanyGreetingRequest:
 11130        type: "object"
 11131        properties:
 11132          type:
 11133            type: "string"
 11134            description: "Type of a greeting, specifying the case when the greeting is played. See Greeting Types = ['Introductory', 'Announcement', 'ConnectingMessage', 'ConnectingAudio', 'Voicemail', 'Unavailable', 'HoldMusic']"
 11135            enum:
 11136              - "Introductory"
 11137              - "Announcement"
 11138              - "ConnectingMessage"
 11139              - "ConnectingAudio"
 11140              - "Voicemail"
 11141              - "Unavailable"
 11142              - "HoldMusic"
 11143          answeringRule:
 11144            description: "nformation on an answering rule that the greeting is applied to"
 11145            $ref: "#/definitions/CustomCompanyGreetingAnsweringRuleInfo"
 11146      CustomCompanyGreetingAnsweringRuleInfo:
 11147        type: "object"
 11148        properties:
 11149          id:
 11150            type: "string"
 11151            description: "Internal identifier of an answering rule"
 11152      CompanyBusinessHours:
 11153        type: "object"
 11154        properties:
 11155          uri:
 11156            type: "string"
 11157            description: "Canonical URI of a business-hours resource "
 11158          schedule:
 11159            description: "Schedule when an answering rule is applied"
 11160            $ref: "#/definitions/CompanyBusinessHoursScheduleInfo"
 11161      CompanyBusinessHoursUpdateRequest:
 11162        type: "object"
 11163        properties:
 11164          schedule:
 11165            description: "Schedule when an answering rule is applied"
 11166            $ref: "#/definitions/CompanyBusinessHoursScheduleInfo"
 11167      CompanyBusinessHoursScheduleInfo:
 11168        type: "object"
 11169        properties:
 11170          weeklyRanges:
 11171            $ref: "#/definitions/WeeklyScheduleInfo"
 11172      UserPresencePermissionsUpdateRequest:
 11173        type: "object"
 11174        properties:
 11175          extensions:
 11176            type: "array"
 11177            items:
 11178              $ref: "#/definitions/PresencePermissionsExtensionInfoRequest"
 11179      PresencePermissionsExtensionInfoRequest:
 11180        type: "object"
 11181        properties:
 11182          id:
 11183            type: "string"
 11184            description: "Internal identifier of an extension"
 11185      CreateAccountRequest:
 11186        type: "object"
 11187        properties:
 11188          mainNumber:
 11189            type: "string"
 11190            description: "Main account VoIP phone number, either Local or Toll-Free. Cannot be Fax Only. Obtained via lookup/reserve API"
 11191          operator:
 11192            description: "Operator's extension information. This extension will receive all calls and messages intended for the operator"
 11193            $ref: "#/definitions/GetExtensionInfoResponse"
 11194          partnerId:
 11195            type: "string"
 11196            description: "Partner identifier for this account"
 11197          promotionCode:
 11198            type: "string"
 11199            description: "Promotion code to calculate a discount"
 11200          reservationId:
 11201            type: "string"
 11202            description: "Internal identifier of phone number reservation; encoded data including reservation type (by brand, by account, by session), particular brand/account/session data, and reservation date and time"
 11203          serviceInfo:
 11204            description: "Account service information, brand identifier and service plan"
 11205            $ref: "#/definitions/GetServiceInfoResponse"
 11206          status:
 11207            type: "string"
 11208            description: "The status with which an account is created. The default value is 'Initial'"
 11209            enum:
 11210              - "Initial"
 11211              - "Unconfirmed"
 11212              - "Confirmed"
 11213          signupInfo:
 11214            description: "Account sign up data"
 11215            $ref: "#/definitions/AccountSignupInfoRequest"
 11216      ModifyAccountBusinessAddressRequest:
 11217        required:
 11218          - "businessAddress"
 11219        type: "object"
 11220        properties:
 11221          company:
 11222            type: "string"
 11223            description: "Company business name"
 11224          email:
 11225            type: "string"
 11226            description: "Company business email address"
 11227          businessAddress:
 11228            description: "Company business address"
 11229            $ref: "#/definitions/BusinessAddressInfo"
 11230      BusinessAddressInfo:
 11231        type: "object"
 11232        properties:
 11233          country:
 11234            type: "string"
 11235            description: "Name of a country"
 11236          state:
 11237            type: "string"
 11238            description: "Name of a state/province"
 11239          city:
 11240            type: "string"
 11241            description: "Name of a city"
 11242          street:
 11243            type: "string"
 11244            description: "Street address"
 11245          zip:
 11246            type: "string"
 11247            description: "Zip code"
 11248      ExtensionInfoProvisionPhoneNumbers:
 11249        type: "object"
 11250        properties:
 11251          id:
 11252            type: "string"
 11253            description: "Internal identifier of an extension"
 11254          partnerId:
 11255            type: "string"
 11256            description: "For Partner Applications Internal identifier of an extension created by partner. The RingCentral supports the mapping of accounts and stores the corresponding account ID/extension ID for each partner ID of a client application. In request URIs partner IDs are accepted instead of regular RingCentral native IDs as path parameters using pid = XXX clause. Though in response URIs contain the corresponding account IDs and extension IDs. In all request and response bodies these values are reflected via partnerId attributes of account and extension"
 11257      CreateAnsweringRuleRequest:
 11258        type: "object"
 11259        required:
 11260          - "name"
 11261          - "type"
 11262        properties:
 11263          enabled:
 11264            type: "boolean"
 11265            description: "Specifies if the rule is active or inactive. The default value is 'True'"
 11266          type:
 11267            type: "string"
 11268            description: "Type of an answering rule. The 'Custom' value should be specified"
 11269          name:
 11270            type: "string"
 11271            description: "Name of an answering rule specified by user"
 11272          callers:
 11273            type: "array"
 11274            description: "Answering rule will be applied when calls are received from the specified caller(s)"
 11275            items:
 11276              $ref: "#/definitions/CallersInfoRequest"
 11277          calledNumbers:
 11278            type: "array"
 11279            description: "Answering rules are applied when calling to selected number(s)"
 11280            items:
 11281              $ref: "#/definitions/CalledNumberInfo"
 11282          schedule:
 11283            description: "Schedule when an answering rule should be applied"
 11284            $ref: "#/definitions/ScheduleInfo"
 11285          callHandlingAction:
 11286            type: "string"
 11287            description: "Specifies how incoming calls are forwarded"
 11288            enum:
 11289              - "ForwardCalls"
 11290              - "UnconditionalForwarding"
 11291              - "AgentQueue"
 11292              - "TransferToExtension"
 11293              - "TakeMessagesOnly"
 11294              - "PlayAnnouncementOnly"
 11295          forwarding:
 11296            description: "Forwarding parameters. Returned if 'ForwardCalls' is specified in 'callHandlingAction'. These settings determine the forwarding numbers to which the call will be forwarded"
 11297            $ref: "#/definitions/ForwardingInfo"
 11298          unconditionalForwarding:
 11299            description: "Unconditional forwarding parameters. Returned if 'UnconditionalForwarding' is specified in 'callHandlingAction'"
 11300            $ref: "#/definitions/UnconditionalForwardingInfo"
 11301          queue:
 11302            description: "Queue settings applied for department (call queue) extension type, with the 'AgentQueue' value specified as a call handling action"
 11303            $ref: "#/definitions/QueueInfo"
 11304          transfer:
 11305            description: "Transfer settings applied for department (call queue) extension type, with 'TransferToExtension' call handling action"
 11306            $ref: "#/definitions/TransferredExtensionInfo"
 11307          voicemail:
 11308            description: "Specifies whether to take a voicemail and who should do it"
 11309            $ref: "#/definitions/VoicemailInfo"
 11310          greetings:
 11311            type: "array"
 11312            description: "Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List"
 11313            items:
 11314              $ref: "#/definitions/GreetingInfo"
 11315      TransferredExtensionInfo:
 11316        type: "object"
 11317        properties:
 11318          extension:
 11319            $ref: "#/definitions/ExtensionInfo"
 11320      QueueInfo:
 11321        type: "object"
 11322        properties:
 11323          transferMode:
 11324            type: "string"
 11325            description: "Specifies how calls are transferred to group members"
 11326            enum:
 11327              - "Rotating"
 11328              - "Simultaneous"
 11329              - "FixedOrder"
 11330          fixedOrderAgents:
 11331            type: "array"
 11332            description: "Information on a call forwarding rule"
 11333            items:
 11334              $ref: "#/definitions/FixedOrderAgents"
 11335          holdAudioInterruptionMode:
 11336            type: "string"
 11337            description: "Connecting audio interruption mode"
 11338            enum:
 11339              - "Never"
 11340              - "WhenMusicEnds"
 11341              - "Periodically"
 11342          holdAudioInterruptionPeriod:
 11343            type: "integer"
 11344            description: "Connecting audio interruption message period in seconds"
 11345          agentTimeout:
 11346            type: "integer"
 11347            description: "Maximum time in seconds to wait for a call queue member before trying the next member"
 11348          wrapUpTime:
 11349            type: "integer"
 11350            description: "Minimum post-call wrap up time in seconds before agent status is automatically set"
 11351          holdTime:
 11352            type: "integer"
 11353            description: "Maximum hold time in seconds to wait for an available call queue member"
 11354          maxCallers:
 11355            type: "integer"
 11356            description: "Maximum count of callers on hold"
 11357          maxCallersAction:
 11358            type: "string"
 11359            description: "Action which should be taken if count of callers on hold exceeds the maximum"
 11360            enum:
 11361              - "Voicemail"
 11362              - "Announcement"
 11363      FixedOrderAgents:
 11364        type: "object"
 11365        properties:
 11366          extension:
 11367            $ref: "#/definitions/ExtensionInfo"
 11368          index:
 11369            type: "integer"
 11370            description: "Ordinal of an agent (call queue member)"
 11371      CallersInfoRequest:
 11372        type: "object"
 11373        properties:
 11374          callerId:
 11375            type: "string"
 11376            description: "Phone number of a caller"
 11377          name:
 11378            type: "string"
 11379            description: "Contact name of a caller"
 11380      ForwardingInfoCreateRuleRequest:
 11381        type: "object"
 11382        properties:
 11383          notifyMySoftPhones:
 11384            type: "boolean"
 11385            description: "Specifies if the first ring on desktop/mobile apps is enabled. The default value is 'True'"
 11386          notifyAdminSoftPhones:
 11387            type: "boolean"
 11388            description: "Specifies if the administrator's softphone (desktop application) is notified before forwarding the incoming call to desk phones and forwarding numbers. The default value is 'True'"
 11389          softPhonesRingCount:
 11390            type: "integer"
 11391            description: "Specifies delay between ring on apps and starting of a call forwarding. The default value is 1"
 11392          ringingMode:
 11393            type: "string"
 11394            description: "Specifies the order in which forwarding numbers ring. 'Sequentially' means that forwarding numbers are ringing one at a time, in order of priority. 'Simultaneously' means that forwarding numbers are ringing all at the same time. The default value is 'Sequentially'"
 11395            enum:
 11396              - "Sequentially"
 11397              - "Simultaneously"
 11398          rules:
 11399            type: "array"
 11400            description: "Information on a call forwarding rule"
 11401            items:
 11402              $ref: "#/definitions/RuleInfoCreateRuleRequest"
 11403      RuleInfoCreateRuleRequest:
 11404        type: "object"
 11405        properties:
 11406          index:
 11407            type: "integer"
 11408            description: "Forwarding number (or group) ordinal"
 11409          ringCount:
 11410            type: "integer"
 11411            description: "Number of rings for a forwarding number (or group)"
 11412          forwardingNumbers:
 11413            type: "array"
 11414            description: "Forwarding number (or group) data"
 11415            items:
 11416              $ref: "#/definitions/ForwardingNumberInfoRulesCreateRuleRequest"
 11417      ForwardingNumberInfoRulesCreateRuleRequest:
 11418        type: "object"
 11419        properties:
 11420          id:
 11421            type: "string"
 11422            description: "Internal identifier of a forwarding number"
 11423      UpdateAnsweringRuleRequest:
 11424        type: "object"
 11425        properties:
 11426          name:
 11427            type: "string"
 11428            description: "Name of an answering rule specified by user"
 11429          enabled:
 11430            type: "boolean"
 11431            description: "Specifies if an answering rule is active or inactive"
 11432          callers:
 11433            type: "array"
 11434            description: "Answering rules are applied when calls are received from specified caller(s)"
 11435            items:
 11436              $ref: "#/definitions/CallersInfo"
 11437          calledNumbers:
 11438            type: "array"
 11439            description: "Answering rules are applied when calling to selected number(s)"
 11440            items:
 11441              $ref: "#/definitions/CalledNumberInfo"
 11442          schedule:
 11443            description: "Schedule when an answering rule should be applied"
 11444            $ref: "#/definitions/ScheduleInfo"
 11445          callHandlingAction:
 11446            type: "string"
 11447            description: "Specifies how incoming calls are forwarded"
 11448            enum:
 11449              - "ForwardCalls"
 11450              - "UnconditionalForwarding"
 11451              - "AgentQueue"
 11452              - "TransferToExtension"
 11453              - "TakeMessagesOnly"
 11454              - "PlayAnnouncementOnly"
 11455          forwarding:
 11456            description: "Forwarding parameters. Returned if 'ForwardCalls' is specified in 'callHandlingAction'. These settings determine the forwarding numbers to which the call will be forwarded"
 11457            $ref: "#/definitions/ForwardingInfo"
 11458          unconditionalForwarding:
 11459            description: "Unconditional forwarding parameters. Returned if 'UnconditionalForwarding' is specified in 'callHandlingAction'"
 11460            $ref: "#/definitions/UnconditionalForwardingInfo"
 11461          queue:
 11462            description: "Queue settings applied for department (call queue) extension type, with the 'AgentQueue' value specified as a call handling action"
 11463            $ref: "#/definitions/QueueInfo"
 11464          voicemail:
 11465            description: "Specifies whether to take a voicemail and who should do it"
 11466            $ref: "#/definitions/VoicemailInfo"
 11467          greetings:
 11468            type: "array"
 11469            description: "Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List"
 11470            items:
 11471              $ref: "#/definitions/GreetingInfo"
 11472      UpdateConferencingInfoRequest:
 11473        type: "object"
 11474        properties:
 11475          phoneNumbers:
 11476            type: "array"
 11477            items:
 11478              $ref: "#/definitions/ConferencePhoneNumberInfo"
 11479            description: "Multiple dial-in phone numbers to connect to audio conference service, relevant for user's brand. Each number is given with the country and location information, in order to let the user choose the less expensive way to connect to a conference. The first number in the list is the primary conference number, that is default and domestic"
 11480          allowJoinBeforeHost:
 11481            type: "boolean"
 11482            description: "Determines if host user allows conference participants to join before the host"
 11483      ConferencePhoneNumberInfo:
 11484        type: "object"
 11485        properties:
 11486          phoneNumber:
 11487            type: "string"
 11488            description: "Dial-in phone number to connect to a conference"
 11489          default:
 11490            type: "boolean"
 11491            description: "'True' if the number is default for the conference. Default conference number is a domestic number that can be set by user (otherwise it is set by the system). Only one default number per country is allowed"
 11492      CreateForwardingNumberRequest:
 11493        type: "object"
 11494        properties:
 11495          phoneNumber:
 11496            type: "string"
 11497            description: "Forwarding/Call flip phone number"
 11498          label:
 11499            type: "string"
 11500            description: "Forwarding/Call flip number title"
 11501      UpdateForwardingNumberRequest:
 11502        type: "object"
 11503        properties:
 11504          phoneNumber:
 11505            type: "string"
 11506            description: "Forwarding/Call flip phone number"
 11507          label:
 11508            type: "string"
 11509            description: "Forwarding/Call flip number title"
 11510          flipNumber:
 11511            type: "string"
 11512            description: "Number assigned to the call flip phone number, corresponds to the shortcut dial number"
 11513      CreatePagerMessageRequest:
 11514        type: "object"
 11515        required:
 11516          - "from"
 11517          - "text"
 11518        properties:
 11519          from:
 11520            description: "Sender of a pager message. The extensionNumber property must be filled"
 11521            $ref: "#/definitions/MessageStoreCallerInfoRequest"
 11522          replyOn:
 11523            type: "integer"
 11524            description: "Internal identifier of a message this message replies to"
 11525          text:
 11526            type: "string"
 11527            description: "Text of a pager message. Max length is 1024 symbols (2-byte UTF-16 encoded). If a character is encoded in 4 bytes in UTF-16 it is treated as 2 characters, thus restricting the maximum message length to 512 symbols"
 11528          to:
 11529            type: "array"
 11530            description: "Optional if replyOn parameter is specified. Receiver of a pager message. The extensionNumber property must be filled"
 11531            items:
 11532              $ref: "#/definitions/MessageStoreCallerInfoRequest"
 11533      MessageStoreCallerInfoRequest:
 11534        type: "object"
 11535        properties:
 11536          extensionNumber:
 11537            type: "string"
 11538            description: "Extension short number (usually 3 or 4 digits). This property is filled when parties communicate by means of short internal numbers, for example when calling to other extension or sending/receiving Company Pager message"
 11539          location:
 11540            type: "string"
 11541            description: "Contains party location (city, state) if one can be determined from phoneNumber. This property is filled only when phoneNumber is not empty and server can calculate location information from it (for example, this information is unavailable for US toll-free numbers)"
 11542          name:
 11543            type: "string"
 11544            description: "Symbolic name associated with a party. If the phone does not belong to the known extension,only the location is returned, the name is not determined then"
 11545          phoneNumber:
 11546            type: "string"
 11547            description: "Phone number of a party. Usually it is a plain number including country and area code like 18661234567. But sometimes it could be returned from database with some formatting applied, for example (866)123-4567. This property is filled in all cases where parties communicate by means of global phone numbers, for example when calling to direct numbers or sending/receiving SMS"
 11548      CreateFaxMessageRequest:
 11549        type: "object"
 11550        required:
 11551          - "to"
 11552        properties:
 11553          to:
 11554            type: "array"
 11555            description: "Recipient information. Phone number property is mandatory. Optional for resend fax request"
 11556            items:
 11557              $ref: "#/definitions/MessageStoreCallerInfoRequest"
 11558          resolution:
 11559            type: "string"
 11560            description: "Fax resolution"
 11561            enum:
 11562              - "High"
 11563              - "Low"
 11564          sendTime:
 11565            type: "string"
 11566            format: "date-time"
 11567            description: "The datetime to send fax at, in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. If time is not specified, the fax will be send immediately"
 11568          coverPageText:
 11569            type: "string"
 11570            description: "Optional. Cover page text, entered by the fax sender and printed on the cover page. Maximum length is limited to 1024 symbols"
 11571          originalMessageId:
 11572            type: "string"
 11573            description: "Internal identifier of the original fax message which needs to be resent. Mandatory for resend fax request"
 11574      CreateSMSMessage:
 11575        type: "object"
 11576        required:
 11577          - "from"
 11578          - "text"
 11579          - "to"
 11580        properties:
 11581          from:
 11582            description: "Sender of an SMS message. The phoneNumber property must be filled to correspond to one of the account phone numbers which is allowed to send SMS"
 11583            $ref: "#/definitions/MessageStoreCallerInfoRequest"
 11584          to:
 11585            type: "array"
 11586            description: "Receiver of an SMS message. The phoneNumber property must be filled"
 11587            items:
 11588              $ref: "#/definitions/MessageStoreCallerInfoRequest"
 11589          text:
 11590            type: "string"
 11591            description: "Text of a message. Max length is 1000 symbols (2-byte UTF-16 encoded). If a character is encoded in 4 bytes in UTF-16 it is treated as 2 characters, thus restricting the maximum message length to 500 symbols"
 11592      UpdateMessageRequest:
 11593        type: "object"
 11594        properties:
 11595          readStatus:
 11596            type: "string"
 11597            description: "Read status of a message to be changed. Multiple values are accepted"
 11598            enum:
 11599              - "Read"
 11600              - "Unread"
 11601      SetReportingSettingsRequest:
 11602        type: "object"
 11603        required:
 11604          - "views"
 11605        properties:
 11606          views:
 11607            type: "array"
 11608            description: "List of 'View' structures with a tuple of filter values, pages and schedules"
 11609            items:
 11610              $ref: "#/definitions/ViewInfoReporting"
 11611      MakeRingOutRequest:
 11612        type: "object"
 11613        required:
 11614          - "from"
 11615          - "to"
 11616        properties:
 11617          from:
 11618            description: "Phone number of the caller. This number corresponds to the 1st leg of the RingOut call. This number can be one of user's configured forwarding numbers or arbitrary number"
 11619            $ref: "#/definitions/MakeRingOutCallerInfoRequestFrom"
 11620          to:
 11621            description: "Phone number of the called party. This number corresponds to the 2nd leg of the RingOut call"
 11622            $ref: "#/definitions/MakeRingOutCallerInfoRequestTo"
 11623          callerId:
 11624            description: "The number which will be displayed to the called party"
 11625            $ref: "#/definitions/MakeRingOutCallerInfoRequestTo"
 11626          playPrompt:
 11627            type: "boolean"
 11628            description: "The audio prompt that the calling party hears when the call is connected"
 11629          country:
 11630            description: "Optional. Dialing plan country data. If not specified, then extension home country is applied by default"
 11631            $ref: "#/definitions/MakeRingOutCountryInfo"
 11632      MakeRingOutCallerInfoRequestFrom:
 11633        type: "object"
 11634        properties:
 11635          phoneNumber:
 11636            type: "string"
 11637            description: "Phone number in E.164 format"
 11638          forwardingNumberId:
 11639            type: "string"
 11640            description: "Internal identifier of a forwarding number; returned in response in the id field. Can be specified instead of the phoneNumber attribute"
 11641      MakeRingOutCallerInfoRequestTo:
 11642        type: "object"
 11643        properties:
 11644          phoneNumber:
 11645            type: "string"
 11646            description: "Phone number in E.164 format"
 11647      MakeRingOutCountryInfo:
 11648        type: "object"
 11649        properties:
 11650          id:
 11651            type: "string"
 11652            description: "Dialing plan country identifier"
 11653      CustomDataRequest:
 11654        type: "object"
 11655        properties:
 11656          id:
 11657            type: "string"
 11658            description: "Custom data access key. Optional. If specified, must match the custom key in the URL"
 11659          value:
 11660            type: "string"
 11661            description: "Description of custom data. Mandatory for create, if there is no attachment specified. Maximum length is limited to 256 symbols"
 11662      CreateSipRegistrationRequest:
 11663        type: "object"
 11664        required:
 11665          - "device"
 11666          - "sipInfo"
 11667        properties:
 11668          device:
 11669            type: "array"
 11670            description: "Device unique description"
 11671            items:
 11672              $ref: "#/definitions/DeviceInfoRequest"
 11673          sipInfo:
 11674            type: "array"
 11675            description: "SIP settings for device"
 11676            items:
 11677              $ref: "#/definitions/SIPInfoRequest"
 11678      DeviceInfoRequest:
 11679        type: "object"
 11680        properties:
 11681          id:
 11682            type: "string"
 11683            description: "Device unique identifier, retrieved on previous session (if any)"
 11684          appExternalId:
 11685            type: "string"
 11686            description: "For iOS devices only Certificate name (used by iOS applications for APNS subscription)"
 11687          computerName:
 11688            type: "string"
 11689            description: "For SoftPhone only Computer name"
 11690      SIPInfoRequest:
 11691        type: "object"
 11692        properties:
 11693          transport:
 11694            type: "string"
 11695            description: "Supported transport. SIP info will be returned for this transport if supported"
 11696            enum:
 11697              - "UDP"
 11698              - "TCP"
 11699              - "TLS"
 11700              - "WS"
 11701              - "WSS"
 11702      ParsePhoneNumberRequest:
 11703        type: "object"
 11704        properties:
 11705          originalStrings:
 11706            type: "string"
 11707            description: "Phone numbers passed in a string. The maximum value of phone numbers is limited to 64. The maximum number of symbols in each phone number in a string is 64"
 11708      CreateSubscriptionRequest:
 11709        type: "object"
 11710        required:
 11711          - "deliveryMode"
 11712        properties:
 11713          eventFilters:
 11714            type: "array"
 11715            description: "Mandatory. Collection of URIs to API resources (see Event Types for details). For APNS transport type only message event filter is available"
 11716            items:
 11717              type: "string"
 11718          deliveryMode:
 11719            description: "Notification delivery settings"
 11720            $ref: "#/definitions/NotificationDeliveryModeRequest"
 11721          expiresIn:
 11722            type: "integer"
 11723            description: "Subscription lifetime in seconds. Max value is 7 days (604800 sec)"
 11724      NotificationDeliveryModeRequest:
 11725        type: "object"
 11726        properties:
 11727          transportType:
 11728            type: "string"
 11729            description: "Notifications transportation provider name. 'APNS' (Apple Push Notifications Service)"
 11730            enum:
 11731              - "PubNub"
 11732              - "Webhook"
 11733              - "APNS"
 11734              - "PubNub/APNS"
 11735              - "PubNub/GCM"
 11736          address:
 11737            type: "string"
 11738            description: "Mandatory for 'APNS' and 'WebHook' transport types. For 'APNS' - internal identifier of a device 'device_token' for 'WebHook' - URL of a consumer service (cannot be changed during subscription update)"
 11739          encryption:
 11740            type: "boolean"
 11741            description: "Optional parameter. Specifies if the message will be encrypted or not. If request contains any presence event filter the value by default is 'True' (even if specified as 'false'). If request contains only message event filters the value by default is 'False'"
 11742          certificateName:
 11743            type: "string"
 11744            description: "For 'PubNub/APNS' and 'PubNub/GCM' transport types. Name of a certificate"
 11745          registrationId:
 11746            type: "string"
 11747            description: "For 'PubNub/APNS' and 'PubNub/GCM' transport types. Identifier of a registration"
 11748      ModifySubscriptionRequest:
 11749        type: "object"
 11750        properties:
 11751          eventFilters:
 11752            type: "array"
 11753            description: "Collection of URIs to API resources (see Event Types). Mandatory field"
 11754            items:
 11755              type: "string"
 11756      GetVersionsResponse:
 11757        type: "object"
 11758        properties:
 11759          uri:
 11760            type: "string"
 11761            description: "Canonical URI of the API version"
 11762          apiVersions:
 11763            type: "array"
 11764            description: "Full API version information: uri, number, release date"
 11765            items:
 11766              $ref: "#/definitions/VersionInfo"
 11767          serverVersion:
 11768            type: "string"
 11769            description: "Server version"
 11770          serverRevision:
 11771            type: "string"
 11772            description: "Server revision"
 11773      VersionInfo:
 11774        type: "object"
 11775        properties:
 11776          uri:
 11777            type: "string"
 11778            description: "Canonical URI of API versions"
 11779          versionString:
 11780            type: "string"
 11781            description: "Version of the RingCentral REST API"
 11782          releaseDate:
 11783            type: "string"
 11784            description: "Release date of this version"
 11785          uriString:
 11786            type: "string"
 11787            description: "URI part determining the current version"
 11788      GetVersionResponse:
 11789        type: "object"
 11790        properties:
 11791          uri:
 11792            type: "string"
 11793            description: "Canonical URI of the version info resource"
 11794          versionString:
 11795            type: "string"
 11796            description: "Version of the RingCentral REST API"
 11797          releaseDate:
 11798            type: "string"
 11799            description: "Release date of this version"
 11800          uriString:
 11801            type: "string"
 11802            description: "URI part determining the current version"
 11803      GetAccountInfoResponse:
 11804        type: "object"
 11805        properties:
 11806          id:
 11807            type: "string"
 11808            description: "Internal identifier of an account"
 11809          uri:
 11810            type: "string"
 11811            description: "Canonical URI of an account"
 11812          mainNumber:
 11813            type: "string"
 11814            description: "Main phone number of the current account"
 11815          operator:
 11816            description: "Operator's extension information. This extension will receive all calls and messages intended for the operator"
 11817            $ref: "#/definitions/GetExtensionInfoResponse"
 11818          partnerId:
 11819            type: "string"
 11820            description: "Additional account identifier, developed and applied by the client"
 11821          serviceInfo:
 11822            description: "Account service information, including brand, service plan and billing plan"
 11823            $ref: "#/definitions/ServiceInfo"
 11824          setupWizardState:
 11825            type: "string"
 11826            description: "Specifies account configuration wizard state (web service setup). The default value is 'NotStarted'"
 11827            enum:
 11828              - "NotStarted"
 11829              - "Incomplete"
 11830              - "Completed"
 11831          status:
 11832            type: "string"
 11833            description: "Status of the current account"
 11834            enum:
 11835              - "Confirmed"
 11836              - "Disabled"
 11837          statusInfo:
 11838            description: "Status information (reason, comment, lifetime). Returned for 'Disabled' status only"
 11839            $ref: "#/definitions/AccountStatusInfo"
 11840          regionalSettings:
 11841            description: "Account level region data (web service Auto-Receptionist settings)"
 11842            $ref: "#/definitions/RegionalSettings"
 11843          federated:
 11844            description: "Specifies whether an account is included into any federation of accounts or not"
 11845            type: "boolean"
 11846      ServiceInfo:
 11847        type: "object"
 11848        properties:
 11849          uri:
 11850            type: "string"
 11851            description: "Canonical URI of a service info resource"
 11852          billingPlan:
 11853            description: "Information on account billing plan"
 11854            $ref: "#/definitions/BillingPlanInfo"
 11855          brand:
 11856            description: "Information on account brand"
 11857            $ref: "#/definitions/BrandInfo"
 11858          servicePlan:
 11859            description: "Information on account service plan"
 11860            $ref: "#/definitions/ServicePlanInfo"
 11861          targetServicePlan:
 11862            description: "Information on account target service plan"
 11863            $ref: "#/definitions/TargetServicePlanInfo"
 11864      BillingPlanInfo:
 11865        type: "object"
 11866        properties:
 11867          id:
 11868            type: "string"
 11869            description: "Internal identifier of a billing plan"
 11870          name:
 11871            type: "string"
 11872            description: "Billing plan name"
 11873          durationUnit:
 11874            type: "string"
 11875            description: "Duration period"
 11876            enum:
 11877              - "Month"
 11878              - "Day"
 11879          duration:
 11880            type: "string"
 11881            description: "Number of duration units"
 11882          type:
 11883            type: "string"
 11884            description: "Billing plan type"
 11885            enum:
 11886              - "Initial"
 11887              - "Regular"
 11888              - "Suspended"
 11889              - "Trial"
 11890              - "TrialNoCC"
 11891              - "Free"
 11892      BrandInfo:
 11893        type: "object"
 11894        properties:
 11895          id:
 11896            type: "string"
 11897            description: "Internal identifier of a brand"
 11898          name:
 11899            type: "string"
 11900            description: "Brand name, for example  RingCentral UK ,  ClearFax "
 11901          homeCountry:
 11902            description: "Home country information"
 11903            $ref: "#/definitions/CountryInfo"
 11904      FaxCountryInfo:
 11905        type: "object"
 11906        properties:
 11907          id:
 11908            type: "string"
 11909            description: "Internal identifier of a home country"
 11910          isoCode:
 11911            type: "string"
 11912            description: "Country code in ISO 3166-1 alpha-2. If specified then country ID cannot be specified"
 11913      CountryInfo:
 11914        type: "object"
 11915        properties:
 11916          id:
 11917            type: "string"
 11918            description: "Internal identifier of a home country"
 11919          uri:
 11920            type: "string"
 11921            description: "Canonical URI of a home country"
 11922          name:
 11923            type: "string"
 11924            description: "Official name of a home country"
 11925      ServicePlanInfo:
 11926        type: "object"
 11927        properties:
 11928          id:
 11929            type: "string"
 11930            description: "Internal identifier of a service plan"
 11931          name:
 11932            type: "string"
 11933            description: "Name of a service plan"
 11934          edition:
 11935            type: "string"
 11936            description: "Edition of a service plan"
 11937      TargetServicePlanInfo:
 11938        type: "object"
 11939        properties:
 11940          id:
 11941            type: "string"
 11942            description: "Internal identifier of a target service plan"
 11943          name:
 11944            type: "string"
 11945            description: "Name of a target service plan"
 11946      AccountStatusInfo:
 11947        type: "object"
 11948        properties:
 11949          comment:
 11950            type: "string"
 11951            description: "A free-form user comment, describing the status change reason"
 11952          reason:
 11953            type: "string"
 11954            description: "Type of suspension"
 11955            enum:
 11956              - "Voluntarily"
 11957              - "Involuntarily"
 11958          till:
 11959            type: "string"
 11960            description: "Date until which the account will get deleted. The default value is 30 days since current date"
 11961      GetDialingPlanInfo:
 11962        type: "object"
 11963        required:
 11964          - "navigation"
 11965          - "paging"
 11966          - "records"
 11967        properties:
 11968          records:
 11969            type: "array"
 11970            description: "List of countries which can be selected for a dialing plan"
 11971            items:
 11972              $ref: "#/definitions/GetDialingPlanCountryInfo"
 11973          paging:
 11974            description: "Information on paging"
 11975            $ref: "#/definitions/PagingInfo"
 11976          navigation:
 11977            description: "Information on navigation"
 11978            $ref: "#/definitions/NavigationInfo"
 11979      GetDialingPlanCountryInfo:
 11980        type: "object"
 11981        properties:
 11982          id:
 11983            type: "string"
 11984            description: "Internal identifier of a country"
 11985          uri:
 11986            type: "string"
 11987            description: "Canonical URI of a country"
 11988          callingCode:
 11989            type: "string"
 11990            description: "Country calling code defined by ITU-T recommendations E.123 and E.164, see Calling Codes"
 11991          isoCode:
 11992            type: "string"
 11993            description: "Country code according to the ISO standard, see ISO 3166"
 11994          name:
 11995            type: "string"
 11996            description: "Official name of a country"
 11997      GetServiceInfoResponse:
 11998        type: "object"
 11999        properties:
 12000          uri:
 12001            type: "string"
 12002            description: "Canonical URI of the account Service Info resource"
 12003          servicePlanName:
 12004            type: "string"
 12005            description: "Account Service Plan name"
 12006          serviceFeatures:
 12007            type: "array"
 12008            description: "Service features information, see Service Feature List"
 12009            items:
 12010              $ref: "#/definitions/ServiceFeatureInfo"
 12011          limits:
 12012            description: "Limits which are effective for the account"
 12013            $ref: "#/definitions/AccountLimits"
 12014      ServiceFeatureInfo:
 12015        type: "object"
 12016        properties:
 12017          featureName:
 12018            type: "string"
 12019            description: "Feature name, see all available values in Service Feature List"
 12020          enabled:
 12021            type: "boolean"
 12022            description: "Feature status, shows feature availability for the extension"
 12023      GetExtensionListResponse:
 12024        type: "object"
 12025        required:
 12026          - "navigation"
 12027          - "paging"
 12028          - "records"
 12029        properties:
 12030          records:
 12031            type: "array"
 12032            description: "List of extensions with extension information"
 12033            items:
 12034              $ref: "#/definitions/GetExtensionInfoResponse"
 12035          navigation:
 12036            description: "Information on navigation"
 12037            $ref: "#/definitions/NavigationInfo"
 12038          paging:
 12039            description: "Information on paging"
 12040            $ref: "#/definitions/PagingInfo"
 12041      NavigationInfo:
 12042        type: "object"
 12043        properties:
 12044          firstPage:
 12045            description: "Canonical URI for the first page of the list"
 12046            $ref: "#/definitions/NavigationInfoURI"
 12047          nextPage:
 12048            description: "Canonical URI for the next page of the list"
 12049            $ref: "#/definitions/NavigationInfoURI"
 12050          previousPage:
 12051            description: "Canonical URI for the previous page of the list"
 12052            $ref: "#/definitions/NavigationInfoURI"
 12053          lastPage:
 12054            description: "Canonical URI for the last page of the list"
 12055            $ref: "#/definitions/NavigationInfoURI"
 12056      PagingInfo:
 12057        type: "object"
 12058        properties:
 12059          page:
 12060            type: "integer"
 12061            description: "The current page number. 1-indexed, so the first page is 1 by default. May be omitted if result is empty (because non-existent page was specified or perPage=0 was requested)"
 12062          perPage:
 12063            type: "integer"
 12064            description: "Current page size, describes how many items are in each page. Default value is 100. Maximum value is 1000. If perPage value in the request is greater than 1000, the maximum value (1000) is applied"
 12065          pageStart:
 12066            type: "integer"
 12067            description: "The zero-based number of the first element on the current page. Omitted if the page is omitted or result is empty"
 12068          pageEnd:
 12069            type: "integer"
 12070            description: "The zero-based index of the last element on the current page. Omitted if the page is omitted or result is empty"
 12071          totalPages:
 12072            type: "integer"
 12073            description: "The total number of pages in a dataset. May be omitted for some resources due to performance reasons"
 12074          totalElements:
 12075            type: "integer"
 12076            description: "The total number of elements in a dataset. May be omitted for some resource due to performance reasons"
 12077      NavigationInfoURI:
 12078        type: "object"
 12079        properties:
 12080          uri:
 12081            type: "string"
 12082      GetExtensionInfoResponse:
 12083        type: "object"
 12084        required:
 12085          - "id"
 12086          - "profileImage"
 12087          - "status"
 12088          - "type"
 12089          - "uri"
 12090        properties:
 12091          id:
 12092            type: "integer"
 12093            format: "int64"
 12094            description: "Internal identifier of an extension"
 12095          uri:
 12096            type: "string"
 12097            description: "Canonical URI of an extension"
 12098          contact:
 12099            description: "Contact detailed information"
 12100            $ref: "#/definitions/ContactInfo"
 12101          departments:
 12102            type: "array"
 12103            description: "Information on department extension(s), to which the requested extension belongs. Returned only for user extensions, members of department, requested by single extensionId"
 12104            items:
 12105              $ref: "#/definitions/DepartmentInfo"
 12106          extensionNumber:
 12107            type: "string"
 12108            description: "Number of department extension"
 12109          name:
 12110            type: "string"
 12111            description: "Extension user name"
 12112          partnerId:
 12113            type: "string"
 12114            description: "For Partner Applications Internal identifier of an extension created by partner. The RingCentral supports the mapping of accounts and stores the corresponding account ID/extension ID for each partner ID of a client application. In request URIs partner IDs are accepted instead of regular RingCentral native IDs as path parameters using pid = XXX clause. Though in response URIs contain the corresponding account IDs and extension IDs. In all request and response bodies these values are reflected via partnerId attributes of account and extension"
 12115          permissions:
 12116            description: "Extension permissions, corresponding to the Service Web permissions 'Admin' and 'InternationalCalling'"
 12117            $ref: "#/definitions/ExtensionPermissions"
 12118          profileImage:
 12119            description: "Information on profile image"
 12120            $ref: "#/definitions/ProfileImageInfo"
 12121          references:
 12122            type: "array"
 12123            description: "List of non-RC internal identifiers assigned to an extension"
 12124            items:
 12125              $ref: "#/definitions/ReferenceInfo"
 12126          regionalSettings:
 12127            description: "Extension region data (timezone, home country, language)"
 12128            $ref: "#/definitions/RegionalSettings"
 12129          serviceFeatures:
 12130            type: "array"
 12131            description: "Extension service features returned in response only when the logged-in user requests his/her own extension info, see also Extension Service Features"
 12132            items:
 12133              $ref: "#/definitions/ExtensionServiceFeatureInfo"
 12134          setupWizardState:
 12135            type: "string"
 12136            description: "Specifies extension configuration wizard state (web service setup). The default value is 'NotStarted'"
 12137            enum:
 12138              - "NotStarted"
 12139              - "Incomplete"
 12140              - "Completed"
 12141          status:
 12142            type: "string"
 12143            description: "Extension current state. If the status is 'Unassigned'. Returned for all extensions"
 12144            enum:
 12145              - "Enabled"
 12146              - "Disabled"
 12147              - "NotActivated"
 12148              - "Unassigned"
 12149          statusInfo:
 12150            description: "Status information (reason, comment). Returned for 'Disabled' status only"
 12151            $ref: "#/definitions/ExtensionStatusInfo"
 12152          type:
 12153            type: "string"
 12154            description: "Extension type"
 12155            enum:
 12156              - "User"
 12157              - "FaxUser"
 12158              - "VirtualUser"
 12159              - "DigitalUser"
 12160              - "Department"
 12161              - "Announcement"
 12162              - "Voicemail"
 12163              - "SharedLinesGroup"
 12164              - "PagingOnlyGroup"
 12165              - "IvrMenu"
 12166              - "ApplicationExtension"
 12167              - "ParkLocation"
 12168          callQueueInfo:
 12169            description: "For Department extension type only. Call queue settings"
 12170            $ref: "#/definitions/CallQueueInfo"
 12171      CallQueueInfo:
 12172        type: "object"
 12173        properties:
 12174          slaGoal:
 12175            type: "integer"
 12176            description: "Target percentage of calls that must be answered by agents within the service level time threshold"
 12177          slaThresholdSeconds:
 12178            type: "integer"
 12179            description: "Period of time in seconds that is considered to be an acceptable service level"
 12180          includeAbandonedCalls:
 12181            type: "boolean"
 12182            description: "If 'True' abandoned calls (hanged up prior to being served) are included into service level calculation"
 12183          abandonedThresholdSeconds:
 12184            type: "integer"
 12185            description: "Period of time in seconds specifying abandoned calls duration - calls that are shorter will not be included into the calculation of service level.; zero value means that abandoned calls of any duration will be included into calculation"
 12186      ContactInfo:
 12187        type: "object"
 12188        properties:
 12189          firstName:
 12190            type: "string"
 12191            description: "For User extension type only. Extension user first name"
 12192          lastName:
 12193            type: "string"
 12194            description: "For User extension type only. Extension user last name"
 12195          company:
 12196            type: "string"
 12197            description: "Extension user company name"
 12198          email:
 12199            type: "string"
 12200            description: "Email of extension user"
 12201          businessPhone:
 12202            type: "string"
 12203            description: "Extension user contact phone number"
 12204          businessAddress:
 12205            description: "Business address of extension user company"
 12206            $ref: "#/definitions/ContactAddressInfo"
 12207      ContactAddressInfo:
 12208        type: "object"
 12209        properties:
 12210          country:
 12211            type: "string"
 12212            description: "Country name of extension user company. Not returned for Address Book"
 12213          state:
 12214            type: "string"
 12215            description: "State/province name of extension user company"
 12216          city:
 12217            type: "string"
 12218            description: "City name of extension user company"
 12219          street:
 12220            type: "string"
 12221            description: "Street address of extension user company"
 12222          zip:
 12223            type: "string"
 12224            description: "Zip code of extension user company"
 12225      DepartmentInfo:
 12226        type: "object"
 12227        properties:
 12228          id:
 12229            type: "string"
 12230            description: "Internal identifier of a department extension"
 12231          uri:
 12232            type: "string"
 12233            description: "Canonical URI of a department extension"
 12234          extensionNumber:
 12235            type: "string"
 12236            description: "Number of a department extension"
 12237      ExtensionPermissions:
 12238        type: "object"
 12239        properties:
 12240          admin:
 12241            description: "Admin permission"
 12242            $ref: "#/definitions/PermissionInfo"
 12243          internationalCalling:
 12244            description: "International Calling permission"
 12245            $ref: "#/definitions/PermissionInfo"
 12246      PermissionInfo:
 12247        type: "object"
 12248        properties:
 12249          enabled:
 12250            type: "boolean"
 12251            description: "Specifies if a permission is enabled or not"
 12252      ProfileImageInfo:
 12253        type: "object"
 12254        required:
 12255          - "uri"
 12256        properties:
 12257          uri:
 12258            type: "string"
 12259            description: "Link to a profile image. If an image is not uploaded for an extension, only uri is returned"
 12260          etag:
 12261            type: "string"
 12262            description: "Identifier of an image"
 12263          lastModified:
 12264            type: "string"
 12265            format: "date-time"
 12266            description: "The datetime when an image was last updated in ISO 8601 format, for example 2016-03-10T18:07:52.534Z"
 12267          contentType:
 12268            type: "string"
 12269            description: "The type of an image"
 12270          scales:
 12271            type: "array"
 12272            items:
 12273              $ref: "#/definitions/ProfileImageInfoURI"
 12274            description: "List of URIs to profile images in different dimensions"
 12275      ProfileImageInfoURI:
 12276        type: "object"
 12277        properties:
 12278          uri:
 12279            type: "string"
 12280      ReferenceInfo:
 12281        type: "object"
 12282        properties:
 12283          ref:
 12284            type: "string"
 12285            description: "Non-RC identifier of an extension"
 12286          type:
 12287            type: "string"
 12288            description: "Type of external identifier"
 12289            enum:
 12290              - "PartnerId"
 12291              - "CustomerDirectoryId"
 12292      RegionalSettings:
 12293        type: "object"
 12294        properties:
 12295          homeCountry:
 12296            description: "Extension country information"
 12297            $ref: "#/definitions/CountryInfo"
 12298          timezone:
 12299            description: "Extension timezone information"
 12300            $ref: "#/definitions/TimezoneInfo"
 12301          language:
 12302            description: "User interface language data"
 12303            $ref: "#/definitions/LanguageInfo"
 12304          greetingLanguage:
 12305            description: "Information on language used for telephony greetings"
 12306            $ref: "#/definitions/GreetingLanguageInfo"
 12307          formattingLocale:
 12308            description: "Formatting language preferences for numbers, dates and currencies"
 12309            $ref: "#/definitions/FormattingLocaleInfo"
 12310          timeFormat:
 12311            type: "string"
 12312            description: "Time format setting. The default value is '12h' = ['12h', '24h']"
 12313            enum:
 12314              - "12h"
 12315              - "24h"
 12316      TimezoneInfo:
 12317        type: "object"
 12318        properties:
 12319          id:
 12320            type: "string"
 12321            description: "Internal identifier of a timezone"
 12322          uri:
 12323            type: "string"
 12324            description: "Canonical URI of a timezone"
 12325          name:
 12326            type: "string"
 12327            description: "Short name of a timezone"
 12328          description:
 12329            type: "string"
 12330            description: "Meaningful description of the timezone"
 12331      LanguageInfo:
 12332        type: "object"
 12333        properties:
 12334          id:
 12335            type: "string"
 12336            description: "Internal identifier of a language"
 12337          uri:
 12338            type: "string"
 12339            description: "Canonical URI of a language"
 12340          greeting:
 12341            type: "boolean"
 12342            description: "Indicates whether a language is available as greeting language"
 12343          formattingLocale:
 12344            type: "boolean"
 12345            description: "Indicates whether a language is available as formatting locale"
 12346          localeCode:
 12347            type: "string"
 12348            description: "Localization code of a language"
 12349          name:
 12350            type: "string"
 12351            description: "Official name of a language"
 12352          ui:
 12353            type: "boolean"
 12354            description: "Indicates whether a language is available as UI language"
 12355      GreetingLanguageInfo:
 12356        type: "object"
 12357        properties:
 12358          id:
 12359            type: "string"
 12360            description: "Internal identifier of a greeting language"
 12361          localeCode:
 12362            type: "string"
 12363            description: "Localization code of a greeting language"
 12364          name:
 12365            type: "string"
 12366            description: "Official name of a greeting language"
 12367      FormattingLocaleInfo:
 12368        type: "object"
 12369        description: "Official name of a formatting language"
 12370        properties:
 12371          id:
 12372            type: "string"
 12373            description: "Internal identifier of a formatting language"
 12374          localeCode:
 12375            type: "string"
 12376            description: "Localization code of a formatting language"
 12377          name:
 12378            type: "string"
 12379      ExtensionServiceFeatureInfo:
 12380        type: "object"
 12381        properties:
 12382          enabled:
 12383            type: "boolean"
 12384            description: "Feature status; shows feature availability for an extension"
 12385          featureName:
 12386            type: "string"
 12387            description: "Feature name, see all available values in Service Feature List"
 12388          reason:
 12389            type: "string"
 12390            description: "Reason of limitation for a particular service feature. Returned only if the enabled parameter value is 'False', see Service Feature Limitations and Reasons. When retrieving service features for an extension, the reasons for the limitations, if any, are returned in response"
 12391      ExtensionStatusInfo:
 12392        type: "object"
 12393        properties:
 12394          comment:
 12395            type: "string"
 12396            description: "A free-form user comment, describing the status change reason"
 12397          reason:
 12398            type: "string"
 12399            description: "Type of suspension"
 12400            enum:
 12401              - "Voluntarily"
 12402              - "Involuntarily"
 12403      GetExtensionPhoneNumbersResponse:
 12404        type: "object"
 12405        required:
 12406          - "navigation"
 12407          - "paging"
 12408          - "records"
 12409        properties:
 12410          records:
 12411            type: "array"
 12412            description: "List of phone numbers"
 12413            items:
 12414              $ref: "#/definitions/PhoneNumberInfo"
 12415          navigation:
 12416            description: "Information on navigation"
 12417            $ref: "#/definitions/NavigationInfo"
 12418          paging:
 12419            description: "Information on paging"
 12420            $ref: "#/definitions/PagingInfo"
 12421      PhoneNumberInfo:
 12422        type: "object"
 12423        properties:
 12424          id:
 12425            type: "string"
 12426            description: "Internal identifier of a phone number"
 12427          country:
 12428            description: "Brief information on a phone number country"
 12429            $ref: "#/definitions/CountryInfo"
 12430          extension:
 12431            description: "Information on the extension, to which the phone number is assigned. Returned only for the request of Account phone number list"
 12432            $ref: "#/definitions/ExtensionInfo"
 12433          label:
 12434            type: "string"
 12435            description: "Custom user name of a phone number, if any. Supported for numbers assigned to Auto-Receptionist, with usage type 'CompanyNumber'"
 12436          location:
 12437            type: "string"
 12438            description: "Location (City, State). Filled for local US numbers"
 12439          paymentType:
 12440            type: "string"
 12441            description: "Payment type. 'External' is returned for forwarded numbers which are not terminated in the RingCentral phone system"
 12442            enum:
 12443              - "External"
 12444              - "TollFree"
 12445              - "Local"
 12446          phoneNumber:
 12447            type: "string"
 12448            description: "Phone number"
 12449          status:
 12450            type: "string"
 12451            description: "Status of a phone number. If the value is 'Normal', the phone number is ready to be used. Otherwise it is an external number not yet ported to RingCentral"
 12452          type:
 12453            type: "string"
 12454            description: "Phone number type"
 12455            enum:
 12456              - "VoiceFax"
 12457              - "FaxOnly"
 12458              - "VoiceOnly"
 12459          usageType:
 12460            type: "string"
 12461            description: "Usage type of the phone number"
 12462            enum:
 12463              - "MainCompanyNumber"
 12464              - "AdditionalCompanyNumber"
 12465              - "CompanyNumber"
 12466              - "DirectNumber"
 12467              - "CompanyFaxNumber"
 12468              - "ForwardedNumber"
 12469              - "ForwardedCompanyNumber"
 12470              - "ContactCenterNumber"
 12471      PhoneNumberInfoIntId:
 12472        type: "object"
 12473        properties:
 12474          id:
 12475            type: "integer"
 12476            format: "int64"
 12477            description: "Internal identifier of a phone number"
 12478          country:
 12479            description: "Brief information on a phone number country"
 12480            $ref: "#/definitions/CountryInfo"
 12481          extension:
 12482            description: "Information on the extension, to which the phone number is assigned. Returned only for the request of Account phone number list"
 12483            $ref: "#/definitions/ExtensionInfo"
 12484          label:
 12485            type: "string"
 12486            description: "Custom user name of a phone number, if any. Supported for numbers assigned to Auto-Receptionist, with usage type 'CompanyNumber'"
 12487          location:
 12488            type: "string"
 12489            description: "Location (City, State). Filled for local US numbers"
 12490          paymentType:
 12491            type: "string"
 12492            description: "Payment type. 'External' is returned for forwarded numbers which are not terminated in the RingCentral phone system"
 12493            enum:
 12494              - "External"
 12495              - "TollFree"
 12496              - "Local"
 12497          phoneNumber:
 12498            type: "string"
 12499            description: "Phone number"
 12500          status:
 12501            type: "string"
 12502            description: "Status of a phone number. If the value is 'Normal', the phone number is ready to be used. Otherwise it is an external number not yet ported to RingCentral"
 12503          type:
 12504            type: "string"
 12505            description: "Phone number type"
 12506            enum:
 12507              - "VoiceFax"
 12508              - "FaxOnly"
 12509              - "VoiceOnly"
 12510          usageType:
 12511            type: "string"
 12512            description: "Usage type of the phone number"
 12513            enum:
 12514              - "MainCompanyNumber"
 12515              - "AdditionalCompanyNumber"
 12516              - "CompanyNumber"
 12517              - "DirectNumber"
 12518              - "CompanyFaxNumber"
 12519              - "ForwardedNumber"
 12520              - "ForwardedCompanyNumber"
 12521              - "ContactCenterNumber"
 12522      ExtensionInfo:
 12523        type: "object"
 12524        properties:
 12525          id:
 12526            type: "string"
 12527            description: "Internal identifier of an extension"
 12528          uri:
 12529            type: "string"
 12530            description: "Canonical URI of an extension"
 12531          extensionNumber:
 12532            type: "string"
 12533            description: "Number of department extension"
 12534          partnerId:
 12535            type: "string"
 12536            description: "For Partner Applications Internal identifier of an extension created by partner. The RingCentral supports the mapping of accounts and stores the corresponding account ID/extension ID for each partner ID of a client application. In request URIs partner IDs are accepted instead of regular RingCentral native IDs as path parameters using pid = XXX clause. Though in response URIs contain the corresponding account IDs and extension IDs. In all request and response bodies these values are reflected via partnerId attributes of account and extension"
 12537      ExtensionInfoIntId:
 12538        # Used in GetDeviceInfoResponse
 12539        type: "object"
 12540        properties:
 12541          id:
 12542            type: "integer"
 12543            format: "int64"
 12544            description: "Internal identifier of an extension"
 12545          uri:
 12546            type: "string"
 12547            description: "Canonical URI of an extension"
 12548          extensionNumber:
 12549            type: "string"
 12550            description: "Number of department extension"
 12551          partnerId:
 12552            type: "string"
 12553            description: "For Partner Applications Internal identifier of an extension created by partner. The RingCentral supports the mapping of accounts and stores the corresponding account ID/extension ID for each partner ID of a client application. In request URIs partner IDs are accepted instead of regular RingCentral native IDs as path parameters using pid = XXX clause. Though in response URIs contain the corresponding account IDs and extension IDs. In all request and response bodies these values are reflected via partnerId attributes of account and extension"
 12554      GetExtensionGrantListResponse:
 12555        type: "object"
 12556        required:
 12557          - "navigation"
 12558          - "paging"
 12559          - "records"
 12560        properties:
 12561          records:
 12562            type: "array"
 12563            description: "List of extension grants with the data"
 12564            items:
 12565              $ref: "#/definitions/GrantInfo"
 12566          navigation:
 12567            description: "Information on navigation"
 12568            $ref: "#/definitions/NavigationInfo"
 12569          paging:
 12570            description: "Information on paging"
 12571            $ref: "#/definitions/PagingInfo"
 12572      GrantInfo:
 12573        type: "object"
 12574        properties:
 12575          uri:
 12576            type: "string"
 12577            description: "Canonical URI of a grant"
 12578          extension:
 12579            description: "Extension information"
 12580            $ref: "#/definitions/ExtensionInfoGrants"
 12581          callPickup:
 12582            type: "boolean"
 12583            description: "Specifies if picking up of other extensions' calls is allowed for the extension. If 'Presence' feature is disabled for the given extension, the flag is not returned"
 12584          callMonitoring:
 12585            type: "boolean"
 12586            description: "Specifies if monitoring of other extensions' calls is allowed for the extension. If 'CallMonitoring' feature is disabled for the given extension, the flag is not returned"
 12587      ExtensionInfoGrants:
 12588        type: "object"
 12589        properties:
 12590          id:
 12591            type: "string"
 12592            description: "Internal identifier of an extension"
 12593          uri:
 12594            type: "string"
 12595            description: "Canonical URI of an extension"
 12596          extensionNumber:
 12597            type: "string"
 12598            description: "Extension short number (usually 3 or 4 digits)"
 12599          type:
 12600            type: "string"
 12601            description: "Extension type"
 12602            enum:
 12603              - "User"
 12604              - "Fax User"
 12605              - "VirtualUser"
 12606              - "DigitalUser"
 12607              - "Department"
 12608              - "Announcement"
 12609              - "Voicemail"
 12610              - "SharedLinesGroup"
 12611              - "PagingOnly"
 12612              - "IvrMenu"
 12613              - "ApplicationExtension"
 12614              - "Park Location"
 12615      AnsweringRuleInfo:
 12616        type: "object"
 12617        properties:
 12618          uri:
 12619            type: "string"
 12620            description: "Canonical URI to the answering rule resource"
 12621          id:
 12622            type: "string"
 12623            description: "Internal identifier of an answering rule"
 12624          type:
 12625            type: "string"
 12626            description: "Type of an answering rule"
 12627            enum:
 12628              - "BusinessHours"
 12629              - "AfterHours"
 12630              - "Custom"
 12631          name:
 12632            type: "string"
 12633            description: "Name of an answering rule specified by user"
 12634          enabled:
 12635            type: "boolean"
 12636            description: "Specifies if an answering rule is active or inactive"
 12637          schedule:
 12638            description: "Schedule when an answering rule should be applied"
 12639            $ref: "#/definitions/ScheduleInfo"
 12640          calledNumbers:
 12641            type: "array"
 12642            description: "Answering rules are applied when calling to selected number(s)"
 12643            items:
 12644              $ref: "#/definitions/CalledNumberInfo"
 12645          callers:
 12646            type: "array"
 12647            description: "Answering rules are applied when calls are received from specified caller(s)"
 12648            items:
 12649              $ref: "#/definitions/CallersInfo"
 12650          callHandlingAction:
 12651            type: "string"
 12652            description: "Specifies how incoming calls are forwarded"
 12653            enum:
 12654              - "ForwardCalls"
 12655              - "UnconditionalForwarding"
 12656              - "AgentQueue"
 12657              - "TransferToExtension"
 12658              - "TakeMessagesOnly"
 12659              - "PlayAnnouncementOnly"
 12660          forwarding:
 12661            description: "Forwarding parameters. Returned if 'ForwardCalls' is specified in 'callHandlingAction'. These settings determine the forwarding numbers to which the call will be forwarded"
 12662            $ref: "#/definitions/ForwardingInfo"
 12663          unconditionalForwarding:
 12664            description: "Unconditional forwarding parameters. Returned if 'UnconditionalForwarding' is specified in 'callHandlingAction'"
 12665            $ref: "#/definitions/UnconditionalForwardingInfo"
 12666          queue:
 12667            description: "Queue settings applied for department (call queue) extension type, with the 'AgentQueue' value specified as a call handling action"
 12668            $ref: "#/definitions/QueueInfo"
 12669          transfer:
 12670            description: "Transfer settings applied for department (call queue) extension type, with 'TransferToExtension' call handling action"
 12671            $ref: "#/definitions/TransferredExtensionInfo"
 12672          voicemail:
 12673            description: "Specifies whether to take a voicemail and who should do it"
 12674            $ref: "#/definitions/VoicemailInfo"
 12675          greetings:
 12676            type: "array"
 12677            description: "Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List"
 12678            items:
 12679              $ref: "#/definitions/GreetingInfo"
 12680      ScheduleInfo:
 12681        type: "object"
 12682        properties:
 12683          weeklyRanges:
 12684            description: "Weekly schedule"
 12685            $ref: "#/definitions/WeeklyScheduleInfo"
 12686          ranges:
 12687            description: "Specific data ranges"
 12688            $ref: "#/definitions/RangesInfo"
 12689          ref:
 12690            type: "string"
 12691            description: "The user's schedule specified for business hours or after hours; it can also be set/retrieved calling the corresponding method"
 12692            enum:
 12693              - "BusinessHours"
 12694              - "AfterHours"
 12695      WeeklyScheduleInfo:
 12696        type: "object"
 12697        properties:
 12698          monday:
 12699            type: "array"
 12700            description: "Time intervals for a particular day"
 12701            items:
 12702              $ref: "#/definitions/TimeInterval"
 12703          tuesday:
 12704            type: "array"
 12705            description: "Time intervals for a particular day"
 12706            items:
 12707              $ref: "#/definitions/TimeInterval"
 12708          wednesday:
 12709            type: "array"
 12710            description: "Time intervals for a particular day"
 12711            items:
 12712              $ref: "#/definitions/TimeInterval"
 12713          thursday:
 12714            type: "array"
 12715            description: "Time intervals for a particular day"
 12716            items:
 12717              $ref: "#/definitions/TimeInterval"
 12718          friday:
 12719            type: "array"
 12720            description: "Time intervals for a particular day"
 12721            items:
 12722              $ref: "#/definitions/TimeInterval"
 12723          saturday:
 12724            type: "array"
 12725            description: "Time intervals for a particular day"
 12726            items:
 12727              $ref: "#/definitions/TimeInterval"
 12728          sunday:
 12729            type: "array"
 12730            description: "Time intervals for a particular day"
 12731            items:
 12732              $ref: "#/definitions/TimeInterval"
 12733      RangesInfo:
 12734        type: "object"
 12735        properties:
 12736          from:
 12737            type: "string"
 12738            format: "date-time"
 12739            description: "Date and time in format YYYY-MM-DD hh:mm"
 12740          to:
 12741            type: "string"
 12742            format: "date-time"
 12743            description: "Date and time in format YYYY-MM-DD hh:mm"
 12744      TimeInterval:
 12745        type: "object"
 12746        properties:
 12747          from:
 12748            type: "string"
 12749            format: "date-time"
 12750            description: "Time in format hh:mm"
 12751          to:
 12752            type: "string"
 12753            format: "date-time"
 12754            description: "Time in format hh:mm"
 12755      CalledNumberInfo:
 12756        type: "object"
 12757        properties:
 12758          phoneNumber:
 12759            type: "string"
 12760            description: "Called phone number"
 12761      CallersInfo:
 12762        type: "object"
 12763        properties:
 12764          callerId:
 12765            type: "string"
 12766            description: "Phone number of a caller"
 12767          name:
 12768            type: "string"
 12769            description: "Contact name of a caller"
 12770      ForwardingInfo:
 12771        type: "object"
 12772        properties:
 12773          notifyMySoftPhones:
 12774            type: "boolean"
 12775            description: "Specifies if the user's softphone(s) are notified before forwarding the incoming call to desk phones and forwarding numbers"
 12776          notifyAdminSoftPhones:
 12777            type: "boolean"
 12778            description: "Specifies if the administrator's softphone is notified before forwarding the incoming call to desk phones and forwarding numbers. The default value is 'False'"
 12779          softPhonesRingCount:
 12780            type: "integer"
 12781            description: "Number of rings before forwarding starts"
 12782          ringingMode:
 12783            type: "string"
 12784            description: "Specifies the order in which forwarding numbers ring. 'Sequentially' means that forwarding numbers are ringing one at a time, in order of priority. 'Simultaneously' means that forwarding numbers are ring all at the same time"
 12785            enum:
 12786              - "Sequentially"
 12787              - "Simultaneously"
 12788          rules:
 12789            type: "array"
 12790            description: "Information on a call forwarding rule"
 12791            items:
 12792              $ref: "#/definitions/RuleInfo"
 12793      RuleInfo:
 12794        type: "object"
 12795        properties:
 12796          index:
 12797            type: "integer"
 12798            description: "Forwarding number (or group) ordinal"
 12799          ringCount:
 12800            type: "integer"
 12801            description: "Number of rings for a forwarding number (or group)"
 12802          forwardingNumbers:
 12803            type: "array"
 12804            description: "Forwarding number (or group) data"
 12805            items:
 12806              $ref: "#/definitions/ForwardingNumberInfoRules"
 12807      ForwardingNumberInfoRules:
 12808        type: "object"
 12809        properties:
 12810          uri:
 12811            type: "string"
 12812            description: "Link to a forwarding number resource"
 12813          id:
 12814            type: "string"
 12815            description: "Internal identifier of a forwarding number"
 12816          phoneNumber:
 12817            type: "string"
 12818            description: "Phone number to which the call is forwarded"
 12819          label:
 12820            type: "string"
 12821            description: "Title of a forwarding number"
 12822      UnconditionalForwardingInfo:
 12823        type: "object"
 12824        properties:
 12825          phoneNumber:
 12826            type: "string"
 12827            description: "Phone number to which the call is forwarded"
 12828      VoicemailInfo:
 12829        type: "object"
 12830        properties:
 12831          enabled:
 12832            type: "boolean"
 12833            description: "If 'True' then voicemails are allowed to be received"
 12834          recipient:
 12835            description: "Recipient data"
 12836            $ref: "#/definitions/RecipientInfo"
 12837      RecipientInfo:
 12838        type: "object"
 12839        properties:
 12840          uri:
 12841            type: "string"
 12842            description: "Link to a recipient extension resource"
 12843          id:
 12844            type: "string"
 12845            description: "Internal identifier of a recipient extension"
 12846      GetUserBusinessHoursResponse:
 12847        type: "object"
 12848        properties:
 12849          uri:
 12850            type: "string"
 12851            description: "Canonical URI of a business-hours resource"
 12852          schedule:
 12853            description: "Schedule when an answering rule is applied"
 12854            $ref: "#/definitions/ScheduleInfoUserBusinessHours"
 12855      ScheduleInfoUserBusinessHours:
 12856        type: "object"
 12857        properties:
 12858          weeklyRanges:
 12859            description: "Weekly schedule"
 12860            $ref: "#/definitions/WeeklyScheduleInfo"
 12861      AccountActiveCallsResponse:
 12862        type: "object"
 12863        required:
 12864          - "navigation"
 12865          - "paging"
 12866          - "records"
 12867        properties:
 12868          records:
 12869            type: "array"
 12870            description: "List of call log records"
 12871            items:
 12872              $ref: "#/definitions/CallLogRecord"
 12873          navigation:
 12874            description: "Information on navigation"
 12875            $ref: "#/definitions/NavigationInfo"
 12876          paging:
 12877            description: "Information on paging"
 12878            $ref: "#/definitions/PagingInfo"
 12879      AccountCallLogResponse:
 12880        type: "object"
 12881        required:
 12882          - "navigation"
 12883          - "paging"
 12884          - "records"
 12885        properties:
 12886          records:
 12887            type: "array"
 12888            description: "List of call log records"
 12889            items:
 12890              $ref: "#/definitions/CallLogRecord"
 12891          navigation:
 12892            description: "Information on navigation"
 12893            $ref: "#/definitions/NavigationInfo"
 12894          paging:
 12895            description: "Information on paging"
 12896            $ref: "#/definitions/PagingInfo"
 12897      GetAccountCallLogRecordResponse:
 12898        type: "object"
 12899        properties:
 12900          id:
 12901            type: "string"
 12902            description: "Internal identifier of a cal log record"
 12903          uri:
 12904            type: "string"
 12905            description: "Canonical URI of a call log record"
 12906          sessionId:
 12907            type: "string"
 12908            description: "Internal identifier of a call session"
 12909          from:
 12910            description: "Caller information"
 12911            $ref: "#/definitions/CallLogCallerInfo"
 12912          to:
 12913            description: "Callee information"
 12914            $ref: "#/definitions/CallLogCallerInfo"
 12915          type:
 12916            type: "string"
 12917            description: "Call type"
 12918            enum:
 12919              - "Voice"
 12920              - "Fax"
 12921          direction:
 12922            type: "string"
 12923            description: "Call direction"
 12924            enum:
 12925              - "Inbound"
 12926              - "Outbound"
 12927          action:
 12928            type: "string"
 12929            description: "Action description of the call operation"
 12930            enum:
 12931              - "Unknown"
 12932              - "Phone Call"
 12933              - "Phone Login"
 12934              - "Incoming Fax"
 12935              - "Accept Call"
 12936              - "FindMe"
 12937              - "FollowMe"
 12938              - "Outgoing Fax"
 12939              - "Call Return"
 12940              - "Calling Card"
 12941              - "Ring Directly"
 12942              - "RingOut Web"
 12943              - "VoIP Call"
 12944              - "RingOut PC"
 12945              - "RingMe"
 12946              - "Transfer"
 12947              - "411 Info"
 12948              - "Emergency"
 12949              - "E911 Update"
 12950              - "Support"
 12951              - "RingOut Mobile"
 12952          result:
 12953            type: "string"
 12954            description: "Status description of the call operation"
 12955            enum:
 12956              - "Unknown"
 12957              - "ResultInProgress"
 12958              - "Missed"
 12959              - "Call accepted"
 12960              - "Voicemail"
 12961              - "Rejected"
 12962              - "Reply"
 12963              - "Received"
 12964              - "Receive Error"
 12965              - "Fax on Demand"
 12966              - "Partial Receive"
 12967              - "Blocked"
 12968              - "Call connected"
 12969              - "No Answer"
 12970              - "International Disabled"
 12971              - "Busy"
 12972              - "Send Error"
 12973              - "Sent"
 12974              - "No fax machine"
 12975              - "ResultEmpty"
 12976              - "Account"
 12977              - "Suspended"
 12978              - "Call Failed"
 12979              - "Call Failure"
 12980              - "Internal Error"
 12981              - "IP Phone offline"
 12982              - "Restricted Number"
 12983              - "Wrong Number"
 12984              - "Stopped"
 12985              - "Hang up"
 12986              - "Poor Line Quality"
 12987              - "Partially Sent"
 12988              - "International Restriction"
 12989              - "Abandoned"
 12990              - "Declined"
 12991              - "Fax Receipt Error"
 12992              - "Fax Send Error"
 12993          startTime:
 12994            type: "string"
 12995            format: "date-time"
 12996            description: "The call start datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 12997          duration:
 12998            type: "integer"
 12999            description: "Call duration in seconds"
 13000          recording:
 13001            description: "Call recording data. Returned if the call is recorded"
 13002            $ref: "#/definitions/RecordingInfo"
 13003      ExtensionActiveCallsResponse:
 13004        type: "object"
 13005        required:
 13006          - "navigation"
 13007          - "paging"
 13008          - "records"
 13009        properties:
 13010          records:
 13011            type: "array"
 13012            description: "List of call log records"
 13013            items:
 13014              $ref: "#/definitions/CallLogRecord"
 13015          navigation:
 13016            description: "Information on navigation"
 13017            $ref: "#/definitions/NavigationInfo"
 13018          paging:
 13019            description: "Information on paging"
 13020            $ref: "#/definitions/PagingInfo"
 13021      ExtensionCallLogResponse:
 13022        type: "object"
 13023        required:
 13024          - "navigation"
 13025          - "paging"
 13026          - "records"
 13027        properties:
 13028          records:
 13029            type: "array"
 13030            description: "List of call log records"
 13031            items:
 13032              $ref: "#/definitions/CallLogRecord"
 13033          navigation:
 13034            description: "Information on navigation"
 13035            $ref: "#/definitions/NavigationInfo"
 13036          paging:
 13037            description: "Information on paging"
 13038            $ref: "#/definitions/PagingInfo"
 13039      CallLogSync:
 13040        type: "object"
 13041        properties:
 13042          records:
 13043            type: "array"
 13044            items:
 13045              $ref: "#/definitions/CallLogRecord"
 13046            description: "List of call log records with synchronization information. For ISync the total number of returned records is limited to 250; this includes both new records and the old ones, specified by the recordCount parameter"
 13047          syncInfo:
 13048            $ref: "#/definitions/SyncInfoCallLog"
 13049            description: "Sync information (type, token and time)"
 13050      SyncInfoCallLog:
 13051        type: "object"
 13052        properties:
 13053          syncType:
 13054            type: "string"
 13055            enum:
 13056              - "FSync"
 13057              - "ISync"
 13058            description: "Type of synchronization"
 13059          syncToken:
 13060            type: "string"
 13061            description: "Synchronization token"
 13062          syncTime:
 13063            type: "string"
 13064            format: "date-time"
 13065            description: "The last synchronization datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 13066      CallLogRecord:
 13067        type: "object"
 13068        required:
 13069          - "legs"
 13070        properties:
 13071          id:
 13072            type: "string"
 13073            description: "Internal identifier of a cal log record"
 13074          uri:
 13075            type: "string"
 13076            description: "Canonical URI of a call log record"
 13077          sessionId:
 13078            type: "string"
 13079            description: "Internal identifier of a call session"
 13080          from:
 13081            description: "Caller information"
 13082            $ref: "#/definitions/CallLogCallerInfo"
 13083          to:
 13084            description: "Callee information"
 13085            $ref: "#/definitions/CallLogCallerInfo"
 13086          type:
 13087            type: "string"
 13088            description: "Call type"
 13089            enum:
 13090              - "Voice"
 13091              - "Fax"
 13092          direction:
 13093            type: "string"
 13094            description: "Call direction"
 13095            enum:
 13096              - "Inbound"
 13097              - "Outbound"
 13098          action:
 13099            type: "string"
 13100            description: "Action description of the call operation"
 13101            enum:
 13102              - "Unknown"
 13103              - "Phone Call"
 13104              - "Phone Login"
 13105              - "Incoming Fax"
 13106              - "Accept Call"
 13107              - "FindMe"
 13108              - "FollowMe"
 13109              - "Outgoing Fax"
 13110              - "Call Return"
 13111              - "Calling Card"
 13112              - "Ring Directly"
 13113              - "RingOut Web"
 13114              - "VoIP Call"
 13115              - "RingOut PC"
 13116              - "RingMe"
 13117              - "Transfer"
 13118              - "411 Info"
 13119              - "Emergency"
 13120              - "E911 Update"
 13121              - "Support"
 13122              - "RingOut Mobile"
 13123          result:
 13124            type: "string"
 13125            description: "Status description of the call operation"
 13126            enum:
 13127              - "Unknown"
 13128              - "ResultInProgress"
 13129              - "Missed"
 13130              - "Call accepted"
 13131              - "Voicemail"
 13132              - "Rejected"
 13133              - "Reply"
 13134              - "Received"
 13135              - "Receive Error"
 13136              - "Fax on Demand"
 13137              - "Partial Receive"
 13138              - "Blocked"
 13139              - "Call connected"
 13140              - "No Answer"
 13141              - "International Disabled"
 13142              - "Busy"
 13143              - "Send Error"
 13144              - "Sent"
 13145              - "No fax machine"
 13146              - "ResultEmpty"
 13147              - "Account"
 13148              - "Suspended"
 13149              - "Call Failed"
 13150              - "Call Failure"
 13151              - "Internal Error"
 13152              - "IP Phone offline"
 13153              - "Restricted Number"
 13154              - "Wrong Number"
 13155              - "Stopped"
 13156              - "Hang up"
 13157              - "Poor Line Quality"
 13158              - "Partially Sent"
 13159              - "International Restriction"
 13160              - "Abandoned"
 13161              - "Declined"
 13162              - "Fax Receipt Error"
 13163              - "Fax Send Error"
 13164          startTime:
 13165            type: "string"
 13166            format: "date-time"
 13167            description: "The call start datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 13168          duration:
 13169            type: "integer"
 13170            description: "Call duration in seconds"
 13171          recording:
 13172            description: "Call recording data. Returned if the call is recorded, the withRecording parameter is set to 'True' in this case"
 13173            $ref: "#/definitions/RecordingInfo"
 13174          lastModifiedTime:
 13175            type: "string"
 13176            format: "date-time"
 13177            description: "For 'Detailed' view only. The datetime when the call log record was modified in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 13178          transport:
 13179            type: "string"
 13180            description: "For 'Detailed' view only. Call transport"
 13181            enum:
 13182              - "PSTN"
 13183              - "VoIP"
 13184          legs:
 13185            type: "array"
 13186            description: "For 'Detailed' view only. Leg description"
 13187            items:
 13188              $ref: "#/definitions/CallLogRecordLegInfo"
 13189      UserCallLogRecord:
 13190        type: "object"
 13191        properties:
 13192          id:
 13193            type: "string"
 13194            description: "Internal identifier of a cal log record"
 13195          uri:
 13196            type: "string"
 13197            description: "Canonical URI of a call log record"
 13198          sessionId:
 13199            type: "string"
 13200            description: "Internal identifier of a call session"
 13201          from:
 13202            $ref: "#/definitions/CallLogCallerInfo"
 13203          to:
 13204            $ref: "#/definitions/CallLogCallerInfo"
 13205          type:
 13206            type: "string"
 13207            description: "Call type = ['Voice', 'Fax']"
 13208            enum:
 13209              - "Voice"
 13210              - "Fax"
 13211          direction:
 13212            type: "string"
 13213            description: "Call direction = ['Inbound', 'Outbound']"
 13214            enum:
 13215              - "Inbound"
 13216              - "Outbound"
 13217          startTime:
 13218            type: "string"
 13219            description: "The call start datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 13220          duration:
 13221            type: "integer"
 13222            description: "Call duration in seconds"
 13223          recording:
 13224            $ref: "#/definitions/RecordingInfo"
 13225      CallLogCallerInfo:
 13226        type: "object"
 13227        properties:
 13228          phoneNumber:
 13229            type: "string"
 13230            description: "Phone number of a party. Usually it is a plain number including country and area code like 18661234567. But sometimes it could be returned from database with some formatting applied, for example (866)123-4567. This property is filled in all cases where parties communicate by means of global phone numbers, for example when calling to direct numbers or sending/receiving SMS"
 13231          extensionNumber:
 13232            type: "string"
 13233            description: "Extension short number (usually 3 or 4 digits). This property is filled when parties communicate by means of short internal numbers, for example when calling to other extension or sending/receiving Company Pager message"
 13234          location:
 13235            type: "string"
 13236            description: "Contains party location (city, state) if one can be determined from phoneNumber. This property is filled only when phoneNumber is not empty and server can calculate location information from it (for example, this information is unavailable for US toll-free numbers)"
 13237          name:
 13238            type: "string"
 13239            description: "Symbolic name associated with a party. If the phone does not belong to the known extension, only the location is returned, the name is not determined then"
 13240          device:
 13241            $ref: "#/definitions/CallLogRecordDeviceInfo"
 13242      CallLogRecordLegInfo:
 13243        type: "object"
 13244        properties:
 13245          action:
 13246            type: "string"
 13247            description: "Action description of the call operation"
 13248            enum:
 13249              - "Unknown"
 13250              - "Phone Call"
 13251              - "Phone Login"
 13252              - "Incoming Fax"
 13253              - "Accept Call"
 13254              - "FindMe"
 13255              - "FollowMe"
 13256              - "Outgoing Fax"
 13257              - "Call Return"
 13258              - "Calling Card"
 13259              - "Ring Directly"
 13260              - "RingOut Web"
 13261              - "VoIP Call"
 13262              - "RingOut PC"
 13263              - "RingMe"
 13264              - "Transfer"
 13265              - "411 Info"
 13266              - "Emergency"
 13267              - "E911 Update"
 13268              - "Support"
 13269              - "RingOut Mobile"
 13270          direction:
 13271            type: "string"
 13272            description: "Call direction"
 13273            enum:
 13274              - "Inbound"
 13275              - "Outbound"
 13276          duration:
 13277            type: "integer"
 13278            description: "Call duration in seconds"
 13279          extension:
 13280            description: "Information on extension"
 13281            $ref: "#/definitions/ExtensionInfoCallLog"
 13282          legType:
 13283            type: "string"
 13284            description: "Leg type"
 13285          startTime:
 13286            type: "string"
 13287            format: "date-time"
 13288            description: "The call start datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 13289          type:
 13290            type: "string"
 13291            description: "Call type"
 13292            enum:
 13293              - "Voice"
 13294              - "Fax"
 13295          result:
 13296            type: "string"
 13297            description: "Status description of the call operation"
 13298            enum:
 13299              - "Unknown"
 13300              - "ResultInProgress"
 13301              - "Missed"
 13302              - "Call accepted"
 13303              - "Voicemail"
 13304              - "Rejected"
 13305              - "Reply"
 13306              - "Received"
 13307              - "Receive Error"
 13308              - "Fax on Demand"
 13309              - "Partial Receive"
 13310              - "Blocked"
 13311              - "Call connected"
 13312              - "No Answer"
 13313              - "International Disabled"
 13314              - "Busy"
 13315              - "Send Error"
 13316              - "Sent"
 13317              - "No fax machine"
 13318              - "ResultEmpty"
 13319              - "Account"
 13320              - "Suspended"
 13321              - "Call Failed"
 13322              - "Call Failure"
 13323              - "Internal Error"
 13324              - "IP Phone offline"
 13325              - "Restricted Number"
 13326              - "Wrong Number"
 13327              - "Stopped"
 13328              - "Hang up"
 13329              - "Poor Line Quality"
 13330              - "Partially Sent"
 13331              - "International Restriction"
 13332              - "Abandoned"
 13333              - "Declined"
 13334              - "Fax Receipt Error"
 13335              - "Fax Send Error"
 13336          from:
 13337            description: "Caller information"
 13338            $ref: "#/definitions/CallLogCallerInfo"
 13339          to:
 13340            description: "Callee information"
 13341            $ref: "#/definitions/CallLogCallerInfo"
 13342          transport:
 13343            type: "string"
 13344            description: "Call transport"
 13345            enum:
 13346              - "PSTN"
 13347              - "VoIP"
 13348          recording:
 13349            description: "Call recording data. Returned if the call is recorded"
 13350            $ref: "#/definitions/RecordingInfo"
 13351      RecordingInfo:
 13352        type: "object"
 13353        properties:
 13354          id:
 13355            type: "string"
 13356            description: "Internal identifier of the call recording"
 13357          uri:
 13358            type: "string"
 13359            description: "Link to the call recording metadata resource"
 13360          type:
 13361            type: "string"
 13362            description: "Indicates recording mode used"
 13363            enum:
 13364              - "Automatic"
 13365              - "OnDemand"
 13366          contentUri:
 13367            type: "string"
 13368            description: "Link to the call recording binary content"
 13369      ExtensionInfoCallLog:
 13370        type: "object"
 13371        properties:
 13372          id:
 13373            type: "string"
 13374            description: "Internal identifier of an extension"
 13375          uri:
 13376            type: "string"
 13377            description: "Canonical URI of an extension"
 13378      GetExtensionCallLogRecordResponse:
 13379        type: "object"
 13380        properties:
 13381          id:
 13382            type: "string"
 13383            description: "Internal identifier of a cal log record"
 13384          uri:
 13385            type: "string"
 13386            description: "Canonical URI of a call log record"
 13387          sessionId:
 13388            type: "string"
 13389            description: "Internal identifier of a call session"
 13390          from:
 13391            description: "Caller information"
 13392            $ref: "#/definitions/CallLogCallerInfo"
 13393          to:
 13394            description: "Callee information"
 13395            $ref: "#/definitions/CallLogCallerInfo"
 13396          type:
 13397            type: "string"
 13398            description: "Call type"
 13399            enum:
 13400              - "Voice"
 13401              - "Fax"
 13402          direction:
 13403            type: "string"
 13404            description: "Call direction"
 13405            enum:
 13406              - "Inbound"
 13407              - "Outbound"
 13408          action:
 13409            type: "string"
 13410            description: "Action description of the call operation"
 13411            enum:
 13412              - "Unknown"
 13413              - "Phone Call"
 13414              - "Phone Login"
 13415              - "Incoming Fax"
 13416              - "Accept Call"
 13417              - "FindMe"
 13418              - "FollowMe"
 13419              - "Outgoing Fax"
 13420              - "Call Return"
 13421              - "Calling Card"
 13422              - "Ring Directly"
 13423              - "RingOut Web"
 13424              - "VoIP Call"
 13425              - "RingOut PC"
 13426              - "RingMe"
 13427              - "Transfer"
 13428              - "411 Info"
 13429              - "Emergency"
 13430              - "E911 Update"
 13431              - "Support"
 13432              - "RingOut Mobile"
 13433          result:
 13434            type: "string"
 13435            description: "Status description of the call operation"
 13436            enum:
 13437              - "Unknown"
 13438              - "ResultInProgress"
 13439              - "Missed"
 13440              - "Call accepted"
 13441              - "Voicemail"
 13442              - "Rejected"
 13443              - "Reply"
 13444              - "Received"
 13445              - "Receive Error"
 13446              - "Fax on Demand"
 13447              - "Partial Receive"
 13448              - "Blocked"
 13449              - "Call connected"
 13450              - "No Answer"
 13451              - "International Disabled"
 13452              - "Busy"
 13453              - "Send Error"
 13454              - "Sent"
 13455              - "No fax machine"
 13456              - "ResultEmpty"
 13457              - "Account"
 13458              - "Suspended"
 13459              - "Call Failed"
 13460              - "Call Failure"
 13461              - "Internal Error"
 13462              - "IP Phone offline"
 13463              - "Restricted Number"
 13464              - "Wrong Number"
 13465              - "Stopped"
 13466              - "Hang up"
 13467              - "Poor Line Quality"
 13468              - "Partially Sent"
 13469              - "International Restriction"
 13470              - "Abandoned"
 13471              - "Declined"
 13472              - "Fax Receipt Error"
 13473              - "Fax Send Error"
 13474          startTime:
 13475            type: "string"
 13476            format: "date-time"
 13477            description: "The call start datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 13478          duration:
 13479            type: "integer"
 13480            description: "Call duration in seconds"
 13481          recording:
 13482            description: "Call recording data. Returned if the call is recorded"
 13483            $ref: "#/definitions/RecordingInfo"
 13484      GetCallRecordingResponse:
 13485        type: "object"
 13486        properties:
 13487          id:
 13488            type: "string"
 13489            description: "Internal identifier of the call recording"
 13490          contentUri:
 13491            type: "string"
 13492            description: "Link to the call recording binary content"
 13493          contentType:
 13494            type: "string"
 13495            description: "Call recording file format. Supported format is audio/x-wav"
 13496          duration:
 13497            type: "integer"
 13498            description: "Recorded call duration"
 13499      GetConferencingInfoResponse:
 13500        type: "object"
 13501        properties:
 13502          uri:
 13503            type: "string"
 13504            description: "Canonical URI of a conferencing"
 13505          allowJoinBeforeHost:
 13506            type: "boolean"
 13507            description: "Determines if host user allows conference participants to join before the host"
 13508          hostCode:
 13509            type: "string"
 13510            description: "Access code for a host user"
 13511          mode:
 13512            type: "string"
 13513            description: "Internal parameter specifying conferencing engine"
 13514          participantCode:
 13515            type: "string"
 13516            description: "Access code for any participant"
 13517          phoneNumber:
 13518            type: "string"
 13519            description: "Primary conference phone number for user's home country returned in E.164 (11-digits) format"
 13520          tapToJoinUri:
 13521            type: "string"
 13522            description: "Short URL leading to the service web page Tap to Join for audio conference bridge"
 13523          phoneNumbers:
 13524            type: "array"
 13525            description: "List of multiple dial-in phone numbers to connect to audio conference service, relevant for user's brand. Each number is given with the country and location information, in order to let the user choose the less expensive way to connect to a conference. The first number in the list is the primary conference number, that is default and domestic"
 13526            items:
 13527              $ref: "#/definitions/PhoneNumberInfoConferencing"
 13528      PhoneNumberInfoConferencing:
 13529        type: "object"
 13530        properties:
 13531          country:
 13532            description: "Information on a home country of a conference phone number"
 13533            $ref: "#/definitions/GetCountryInfoConferencing"
 13534          default:
 13535            type: "boolean"
 13536            description: "'True' if the number is default for the conference. Default conference number is a domestic number that can be set by user (otherwise it is set by the system). Only one default number per country is allowed"
 13537          hasGreeting:
 13538            type: "boolean"
 13539            description: "'True' if the greeting message is played on this number"
 13540          location:
 13541            type: "string"
 13542            description: "Location (city, region, state) of a conference phone number"
 13543          phoneNumber:
 13544            type: "string"
 13545            description: "Dial-in phone number to connect to a conference"
 13546      GetCountryInfoConferencing:
 13547        type: "object"
 13548        properties:
 13549          id:
 13550            type: "string"
 13551            description: "Internal identifier of a country"
 13552          uri:
 13553            type: "string"
 13554            description: "Canonical URI of a country"
 13555          callingCode:
 13556            type: "string"
 13557            description: "Country calling code defined by ITU-T recommendations E.123 and E.164, see Calling Codes"
 13558          emergencyCalling:
 13559            type: "boolean"
 13560            description: "Emergency calling feature availability/emergency address requirement indicator"
 13561          isoCode:
 13562            type: "string"
 13563            description: "Country code according to the ISO standard, see ISO 3166"
 13564          name:
 13565            type: "string"
 13566            description: "Official name of a country"
 13567      GetAccountDevicesResponse:
 13568        type: "object"
 13569        required:
 13570          - "navigation"
 13571          - "paging"
 13572          - "records"
 13573        properties:
 13574          records:
 13575            type: "array"
 13576            description: "List of extension records"
 13577            items:
 13578              $ref: "#/definitions/GetDeviceInfoResponse"
 13579          navigation:
 13580            description: "Information on navigation"
 13581            $ref: "#/definitions/NavigationInfo"
 13582          paging:
 13583            description: "Information on paging"
 13584            $ref: "#/definitions/PagingInfo"
 13585      GetDeviceInfoResponse:
 13586        type: "object"
 13587        properties:
 13588          id:
 13589            type: "string"
 13590            description: "Internal identifier of a device"
 13591          uri:
 13592            type: "string"
 13593            description: "Canonical URI of a device"
 13594          sku:
 13595            type: "string"
 13596            description: "Device identification number (stock keeping unit) in the format TP-ID [-AT-AC], where TP is device type (HP for RC HardPhone, DV for all other devices including softphone); ID - device model ID; AT -addon type ID; AC - addon count (if any). For example 'HP-56-2-2'"
 13597          type:
 13598            type: "string"
 13599            description: "Device type. The default value is 'HardPhone'"
 13600            enum:
 13601              - "SoftPhone"
 13602              - "OtherPhone"
 13603              - "HardPhone"
 13604          name:
 13605            type: "string"
 13606            description: "Device name. Mandatory if ordering  SoftPhone  or  OtherPhone . Optional for  HardPhone . If not specified for HardPhone, then device model  name is used as device  name"
 13607          serial:
 13608            type: "string"
 13609            description: "Serial number for HardPhone (is returned only when the phone is shipped and provisioned); endpoint_id for softphone and mobile applications"
 13610          computerName:
 13611            type: "string"
 13612            description: "PC name for softphone"
 13613          model:
 13614            description: "HardPhone model information"
 13615            $ref: "#/definitions/ModelInfo"
 13616          extension:
 13617            description: "This attribute can be omitted for unassigned devices"
 13618            $ref: "#/definitions/ExtensionInfoIntId"
 13619          emergencyServiceAddress:
 13620            description: "Address for emergency cases. The same emergency address is assigned to all the numbers of one device"
 13621            $ref: "#/definitions/EmergencyAddressInfo"
 13622          phoneLines:
 13623            description: "Phone lines information"
 13624            type: "array"
 13625            items:
 13626              $ref: "#/definitions/PhoneLinesInfo"
 13627          shipping:
 13628            description: "Shipping information, according to which devices (in case of HardPhone ) or e911 stickers (in case of  SoftPhone  and  OtherPhone ) will be delivered to the customer"
 13629            $ref: "#/definitions/ShippingInfo"
 13630          boxBillingId:
 13631            type: "integer"
 13632            description: "Box billing identifier of a device. Applicable only for HardPhones. It is an alternative way to identify the device to be ordered. EitherT? model  structure, or  boxBillingId  must be specified forT?HardPhone"
 13633      ModelInfo:
 13634        type: "object"
 13635        required:
 13636          - "addons"
 13637        properties:
 13638          id:
 13639            type: "string"
 13640            description: "Addon identifier. For HardPhones of certain types, which are compatible with this addon identifier"
 13641          name:
 13642            type: "string"
 13643            description: "Device name"
 13644          addons:
 13645            description: "Addons description"
 13646            type: "array"
 13647            items:
 13648              $ref: "#/definitions/AddonInfo"
 13649      AddonInfo:
 13650        type: "object"
 13651        properties:
 13652          id:
 13653            type: "string"
 13654          count:
 13655            type: "string"
 13656      EmergencyAddress:
 13657        type: "object"
 13658        properties:
 13659          required:
 13660            type: "boolean"
 13661            description: " 'True' if specifying of emergency address is required"
 13662          localOnly:
 13663            type: "boolean"
 13664            description: " 'True' if only local emergency address can be specified"
 13665      EmergencyAddressInfo:
 13666        type: "object"
 13667        properties:
 13668          customerName:
 13669            type: "string"
 13670            description: "Name of a customer"
 13671          street:
 13672            type: "string"
 13673            description: "Street address, line 1 - street address, P.O. box, company name, c/o"
 13674          street2:
 13675            type: "string"
 13676            description: "Street address, line 2 - apartment, suite, unit, building, floor, etc."
 13677          city:
 13678            type: "string"
 13679            description: "City name"
 13680          state:
 13681            type: "string"
 13682            description: "State/province name"
 13683          zip:
 13684            type: "string"
 13685            description: "Zip code"
 13686          country:
 13687            type: "string"
 13688            description: "Country name"
 13689      PhoneLinesInfo:
 13690        type: "object"
 13691        properties:
 13692          lineType:
 13693            type: "string"
 13694            description: "Type of phone line"
 13695            enum:
 13696              - "Standalone"
 13697              - "StandaloneFree"
 13698              - "BlaPrimary"
 13699              - "BlaSecondary"
 13700          phoneInfo:
 13701            description: "Phone number information"
 13702            $ref: "#/definitions/PhoneNumberInfoIntId"
 13703      ShippingInfo:
 13704        type: "object"
 13705        required:
 13706          - "address"
 13707          - "method"
 13708        properties:
 13709          status:
 13710            type: "string"
 13711            description: "Shipping status of the order item. It is set to 'Initial' when the order is submitted. Then it is changed to 'Accepted' when a distributor starts processing the order. Finally it is changed to Shipped which means that distributor has shipped the device."
 13712            enum:
 13713              - "Initial"
 13714              - "Accepted"
 13715              - "Shipped"
 13716          carrier:
 13717            type: "string"
 13718            description: "Shipping carrier name. Appears only if the device status is  Shipped "
 13719          trackingNumber:
 13720            type: "string"
 13721            description: "Carrier-specific tracking number. Appears only if the device status is  Shipped"
 13722          method:
 13723            description: "Shipping method information"
 13724            $ref: "#/definitions/MethodInfo"
 13725          address:
 13726            description: "Shipping address for the order. If it coincides with the Emergency Service Address, then can be omitted. By default the same value as the emergencyServiceAddress. Multiple addresses can be specified; in case an order contains several devices, they can be delivered to different addresses"
 13727            $ref: "#/definitions/ShippingAddressInfo"
 13728      ShippingAddressInfo:
 13729        type: "object"
 13730        properties:
 13731          customerName:
 13732            type: "string"
 13733            description: "Name of a receiver"
 13734          street:
 13735            type: "string"
 13736            description: "Street address, line 1 - street address, P.O. box, company name, c/o"
 13737          street2:
 13738            type: "string"
 13739            description: "Street address, line 2 - apartment, suite, unit, building, floor, etc."
 13740          city:
 13741            type: "string"
 13742            description: "City name"
 13743          state:
 13744            type: "string"
 13745            description: "State/province name"
 13746          zip:
 13747            type: "string"
 13748            description: "Zip code"
 13749          country:
 13750            type: "string"
 13751            description: "Country name"
 13752      MethodInfo:
 13753        type: "object"
 13754        properties:
 13755          id:
 13756            type: "string"
 13757            description: "Method identifier. The default value is  1  (Ground)"
 13758            enum:
 13759              - "1"
 13760              - "2"
 13761              - "3"
 13762          name:
 13763            type: "string"
 13764            description: "Method name, corresponding to the identifier"
 13765            enum:
 13766              - "Ground"
 13767              - "2 Day"
 13768              - "Overnight"
 13769      GetExtensionDevicesResponse:
 13770        type: "object"
 13771        required:
 13772          - "navigation"
 13773          - "paging"
 13774          - "records"
 13775        properties:
 13776          records:
 13777            type: "array"
 13778            description: "List of extension devices"
 13779            items:
 13780              $ref: "#/definitions/GetDeviceInfoResponse"
 13781          navigation:
 13782            description: "Information on navigation"
 13783            $ref: "#/definitions/NavigationInfo"
 13784          paging:
 13785            description: "Information on paging"
 13786            $ref: "#/definitions/PagingInfo"
 13787      GetExtensionForwardingNumberListResponse:
 13788        type: "object"
 13789        properties:
 13790          records:
 13791            type: "array"
 13792            description: "List of forwarding phone numbers"
 13793            items:
 13794              $ref: "#/definitions/ForwardingNumberInfo"
 13795          navigation:
 13796            description: "Information on navigation"
 13797            $ref: "#/definitions/NavigationInfo"
 13798          paging:
 13799            description: "Information on paging"
 13800            $ref: "#/definitions/PagingInfo"
 13801      ForwardingNumberInfo:
 13802        type: "object"
 13803        properties:
 13804          id:
 13805            type: "string"
 13806            description: "Internal identifier of a forwarding/call flip phone number"
 13807          uri:
 13808            type: "string"
 13809            description: "Canonical URI of a forwarding/call flip phone number"
 13810          phoneNumber:
 13811            type: "string"
 13812            description: "Forwarding/Call flip phone number"
 13813          label:
 13814            type: "string"
 13815            description: "Forwarding/Call flip number title"
 13816          features:
 13817            type: "array"
 13818            description: "Type of option this phone number is used for. Multiple values are accepted"
 13819            items:
 13820              type: "string"
 13821              enum:
 13822                - "CallFlip"
 13823                - "CallForwarding"
 13824          flipNumber:
 13825            type: "string"
 13826            description: "Number assigned to the call flip phone number, corresponds to the shortcut dial number"
 13827      GetMessageList:
 13828        type: "object"
 13829        required:
 13830          - "navigation"
 13831          - "paging"
 13832          - "records"
 13833        properties:
 13834          records:
 13835            type: "array"
 13836            description: "List of records with message information"
 13837            items:
 13838              $ref: "#/definitions/GetMessageInfoResponseIntId"
 13839          navigation:
 13840            description: "Information on navigation"
 13841            $ref: "#/definitions/NavigationInfo"
 13842          paging:
 13843            description: "Information on paging"
 13844            $ref: "#/definitions/PagingInfo"
 13845      GetMessageInfoResponse:
 13846        type: "object"
 13847        properties:
 13848          id:
 13849            type: "string"
 13850            description: "Internal identifier of a message"
 13851          uri:
 13852            type: "string"
 13853            description: "Canonical URI of a message"
 13854          attachments:
 13855            type: "array"
 13856            description: "The list of message attachments"
 13857            items:
 13858              $ref: "#/definitions/MessageAttachmentInfo"
 13859          availability:
 13860            type: "string"
 13861            description: "Message availability status. Message in 'Deleted' state is still preserved with all its attachments and can be restored. 'Purged' means that all attachments are already deleted and the message itself is about to be physically deleted shortly"
 13862            enum:
 13863              - "Alive"
 13864              - "Deleted"
 13865              - "Purged"
 13866          conversationId:
 13867            type: "integer"
 13868            description: "SMS and Pager only. Identifier of the conversation the message belongs to"
 13869          creationTime:
 13870            type: "string"
 13871            format: "date-time"
 13872            description: "Message creation datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 13873          deliveryErrorCode:
 13874            type: "string"
 13875            description: "SMS only. Delivery error code returned by gateway"
 13876          direction:
 13877            type: "string"
 13878            description: "Message direction. Note that for some message types not all directions are allowed. For example voicemail messages can be only inbound"
 13879            enum:
 13880              - "Inbound"
 13881              - "Outbound"
 13882          faxPageCount:
 13883            type: "integer"
 13884            description: "Fax only. Page count in fax message"
 13885          faxResolution:
 13886            type: "string"
 13887            description: "Fax only. Resolution of fax message. ('High' for black and white image scanned at 200 dpi, 'Low' for black and white image scanned at 100 dpi)"
 13888            enum:
 13889              - "High"
 13890              - "Low"
 13891          from:
 13892            description: "Sender information"
 13893            $ref: "#/definitions/MessageStoreCallerInfoResponse"
 13894          lastModifiedTime:
 13895            type: "string"
 13896            format: "date-time"
 13897            description: "The datetime when the message was modified on server in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 13898          messageStatus:
 13899            type: "string"
 13900            description: "Message status. Different message types may have different allowed status values.For outbound faxes the aggregated message status is returned: If status for at least one recipient is 'Queued', then 'Queued' value is returned If status for at least one recipient is 'SendingFailed', then 'SendingFailed' value is returned In other cases Sent status is returned"
 13901            enum:
 13902              - "Queued"
 13903              - "Sent"
 13904              - "Delivered"
 13905              - "DeliveryFailed"
 13906              - "SendingFailed"
 13907              - "Received"
 13908          pgToDepartment:
 13909            type: "boolean"
 13910            description: "Pager only True if at least one of the message recipients is Department extension"
 13911          priority:
 13912            type: "string"
 13913            description: "Message priority"
 13914            enum:
 13915              - "Normal"
 13916              - "High"
 13917          readStatus:
 13918            type: "string"
 13919            description: "Message read status"
 13920            enum:
 13921              - "Read"
 13922              - "Unread"
 13923          smsDeliveryTime:
 13924            type: "string"
 13925            format: "date-time"
 13926            description: "SMS only. The datetime when outbound SMS was delivered to recipient's handset in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. It is filled only if the carrier sends a delivery receipt to RingCentral"
 13927          smsSendingAttemptsCount:
 13928            type: "integer"
 13929            description: "SMS only. Number of attempts made to send an outbound SMS to the gateway (if gateway is temporary unavailable)"
 13930          subject:
 13931            type: "string"
 13932            description: "Message subject. For SMS and Pager messages it replicates message text which is also returned as an attachment"
 13933          to:
 13934            type: "array"
 13935            description: "Recipient information"
 13936            items:
 13937              $ref: "#/definitions/MessageStoreCallerInfoResponse"
 13938          type:
 13939            type: "string"
 13940            description: "Message type"
 13941            enum:
 13942              - "Fax"
 13943              - "SMS"
 13944              - "VoiceMail"
 13945              - "Pager"
 13946              - "Text"
 13947          vmTranscriptionStatus:
 13948            type: "string"
 13949            description: "Voicemail only. Status of voicemail to text transcription. If VoicemailToText feature is not activated for account, the 'NotAvailable' value is returned"
 13950            enum:
 13951              - "NotAvailable"
 13952              - "InProgress"
 13953              - "TimedOut"
 13954              - "Completed"
 13955              - "CompletedPartially"
 13956              - "Failed"
 13957      GetMessageInfoResponseIntId:
 13958        type: "object"
 13959        properties:
 13960          id:
 13961            type: "integer"
 13962            format: "int64"
 13963            description: "Internal identifier of a message"
 13964          uri:
 13965            type: "string"
 13966            description: "Canonical URI of a message"
 13967          attachments:
 13968            type: "array"
 13969            description: "The list of message attachments"
 13970            items:
 13971              $ref: "#/definitions/MessageAttachmentInfoIntId"
 13972          availability:
 13973            type: "string"
 13974            description: "Message availability status. Message in 'Deleted' state is still preserved with all its attachments and can be restored. 'Purged' means that all attachments are already deleted and the message itself is about to be physically deleted shortly"
 13975            enum:
 13976              - "Alive"
 13977              - "Deleted"
 13978              - "Purged"
 13979          conversationId:
 13980            type: "integer"
 13981            format: "int64"
 13982            description: "SMS and Pager only. Identifier of the conversation the message belongs to"
 13983          creationTime:
 13984            type: "string"
 13985            format: "date-time"
 13986            description: "Message creation datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 13987          deliveryErrorCode:
 13988            type: "string"
 13989            description: "SMS only. Delivery error code returned by gateway"
 13990          direction:
 13991            type: "string"
 13992            description: "Message direction. Note that for some message types not all directions are allowed. For example voicemail messages can be only inbound"
 13993            enum:
 13994              - "Inbound"
 13995              - "Outbound"
 13996          faxPageCount:
 13997            type: "integer"
 13998            description: "Fax only. Page count in fax message"
 13999          faxResolution:
 14000            type: "string"
 14001            description: "Fax only. Resolution of fax message. ('High' for black and white image scanned at 200 dpi, 'Low' for black and white image scanned at 100 dpi)"
 14002            enum:
 14003              - "High"
 14004              - "Low"
 14005          from:
 14006            description: "Sender information"
 14007            $ref: "#/definitions/MessageStoreCallerInfoResponse"
 14008          lastModifiedTime:
 14009            type: "string"
 14010            format: "date-time"
 14011            description: "The datetime when the message was modified on server in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 14012          messageStatus:
 14013            type: "string"
 14014            description: "Message status. Different message types may have different allowed status values.For outbound faxes the aggregated message status is returned: If status for at least one recipient is 'Queued', then 'Queued' value is returned If status for at least one recipient is 'SendingFailed', then 'SendingFailed' value is returned In other cases Sent status is returned"
 14015            enum:
 14016              - "Queued"
 14017              - "Sent"
 14018              - "Delivered"
 14019              - "DeliveryFailed"
 14020              - "SendingFailed"
 14021              - "Received"
 14022          pgToDepartment:
 14023            type: "boolean"
 14024            description: "Pager only True if at least one of the message recipients is Department extension"
 14025          priority:
 14026            type: "string"
 14027            description: "Message priority"
 14028            enum:
 14029              - "Normal"
 14030              - "High"
 14031          readStatus:
 14032            type: "string"
 14033            description: "Message read status"
 14034            enum:
 14035              - "Read"
 14036              - "Unread"
 14037          smsDeliveryTime:
 14038            type: "string"
 14039            format: "date-time"
 14040            description: "SMS only. The datetime when outbound SMS was delivered to recipient's handset in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. It is filled only if the carrier sends a delivery receipt to RingCentral"
 14041          smsSendingAttemptsCount:
 14042            type: "integer"
 14043            description: "SMS only. Number of attempts made to send an outbound SMS to the gateway (if gateway is temporary unavailable)"
 14044          subject:
 14045            type: "string"
 14046            description: "Message subject. For SMS and Pager messages it replicates message text which is also returned as an attachment"
 14047          to:
 14048            type: "array"
 14049            description: "Recipient information"
 14050            items:
 14051              $ref: "#/definitions/MessageStoreCallerInfoResponse"
 14052          type:
 14053            type: "string"
 14054            description: "Message type"
 14055            enum:
 14056              - "Fax"
 14057              - "SMS"
 14058              - "VoiceMail"
 14059              - "Pager"
 14060              - "Text"
 14061          vmTranscriptionStatus:
 14062            type: "string"
 14063            description: "Voicemail only. Status of voicemail to text transcription. If VoicemailToText feature is not activated for account, the 'NotAvailable' value is returned"
 14064            enum:
 14065              - "NotAvailable"
 14066              - "InProgress"
 14067              - "TimedOut"
 14068              - "Completed"
 14069              - "CompletedPartially"
 14070              - "Failed"
 14071      MessageAttachmentInfo:
 14072        type: "object"
 14073        properties:
 14074          id:
 14075            type: "string"
 14076            description: "Internal identifier of a message attachment"
 14077          uri:
 14078            type: "string"
 14079            description: "Canonical URI of a message attachment"
 14080          type:
 14081            type: "string"
 14082            description: "Type of message attachment"
 14083            enum:
 14084              - "AudioRecording"
 14085              - "AudioTranscription"
 14086              - "Text"
 14087              - "SourceDocument"
 14088              - "RenderedDocument"
 14089              - "MmsAttachment"
 14090          contentType:
 14091            type: "string"
 14092            description: "MIME type for a given attachment, for instance 'audio/wav'"
 14093          vmDuration:
 14094            type: "integer"
 14095            description: "Voicemail only Duration of the voicemail in seconds"
 14096          filename:
 14097            type: "string"
 14098            description: "Name of a file attached"
 14099          size:
 14100            type: "integer"
 14101            description: "Size of attachment in bytes"
 14102      MessageAttachmentInfoIntId:
 14103        # Used in FaxResponse
 14104        type: "object"
 14105        properties:
 14106          id:
 14107            type: "integer"
 14108            format: "int64"
 14109            description: "Internal identifier of a message attachment"
 14110          uri:
 14111            type: "string"
 14112            description: "Canonical URI of a message attachment"
 14113          type:
 14114            type: "string"
 14115            description: "Type of message attachment"
 14116            enum:
 14117              - "AudioRecording"
 14118              - "AudioTranscription"
 14119              - "Text"
 14120              - "SourceDocument"
 14121              - "RenderedDocument"
 14122              - "MmsAttachment"
 14123          contentType:
 14124            type: "string"
 14125            description: "MIME type for a given attachment, for instance 'audio/wav'"
 14126          vmDuration:
 14127            type: "integer"
 14128            description: "Voicemail only Duration of the voicemail in seconds"
 14129          filename:
 14130            type: "string"
 14131            description: "Name of a file attached"
 14132          size:
 14133            type: "integer"
 14134            description: "Size of attachment in bytes"
 14135      MessageStoreCallerInfoResponse:
 14136        type: "object"
 14137        required:
 14138          - "extensionNumber"
 14139        properties:
 14140          extensionNumber:
 14141            type: "string"
 14142            description: "Extension short number (usually 3 or 4 digits). This property is filled when parties communicate by means of short internal numbers, for example when calling to other extension or sending/receiving Company Pager message"
 14143          location:
 14144            type: "string"
 14145            description: "Contains party location (city, state) if one can be determined from phoneNumber. This property is filled only when phoneNumber is not empty and server can calculate location information from it (for example, this information is unavailable for US toll-free numbers)"
 14146          messageStatus:
 14147            type: "string"
 14148            description: "Status of a message. Returned for outbound fax messages only"
 14149            enum:
 14150              - "Queued"
 14151              - "Sent"
 14152              - "Delivered"
 14153              - "DeliveryFailed"
 14154              - "SendingFailed"
 14155              - "Received"
 14156          faxErrorCode:
 14157            type: "string"
 14158            description: "Fax only. Error code returned in case of fax sending failure. Returned if messageStatus value is 'SendingFailed'"
 14159            enum:
 14160              - "Undefined"
 14161              - "NoFaxSendPermission"
 14162              - "NoInternationalPermission"
 14163              - "NoFaxMachine"
 14164              - "OutgoingCallError"
 14165              - "RenderingFailed"
 14166              - "TooManyPages"
 14167              - "ReturnToDBQueue"
 14168              - "NoCallTime"
 14169              - "WrongNumber"
 14170              - "ProhibitedNumber"
 14171              - "InternalError"
 14172              - "FaxSendingProhibited"
 14173              - "ThePhoneIsBlacklisted"
 14174              - "UserNotFound"
 14175              - "ConvertError"
 14176              - "DBGeneralError"
 14177              - "SkypeBillingFailed"
 14178              - "AccountSuspended"
 14179              - "ProhibitedDestination"
 14180              - "InternationalDisabled"
 14181          name:
 14182            type: "string"
 14183            description: "Symbolic name associated with a party. If the phone does not belong to the known extension, only the location is returned, the name is not determined then"
 14184          phoneNumber:
 14185            type: "string"
 14186            description: "Phone number of a party. Usually it is a plain number including country and area code like 18661234567. But sometimes it could be returned from database with some formatting applied, for example (866)123-4567. This property is filled in all cases where parties communicate by means of global phone numbers, for example when calling to direct numbers or sending/receiving SMS"
 14187      GetMessageSyncResponse:
 14188        type: "object"
 14189        required:
 14190          - "records"
 14191          - "syncInfo"
 14192        properties:
 14193          records:
 14194            type: "array"
 14195            description: "List of message records with synchronization information"
 14196            items:
 14197              $ref: "#/definitions/GetMessageInfoResponse"
 14198          syncInfo:
 14199            description: "Sync type, token and time"
 14200            $ref: "#/definitions/SyncInfoMessages"
 14201      SyncInfoMessages:
 14202        type: "object"
 14203        properties:
 14204          syncType:
 14205            type: "string"
 14206            description: "Type of synchronization"
 14207            enum:
 14208              - "FSync"
 14209              - "ISync"
 14210          syncToken:
 14211            type: "string"
 14212            description: "Synchronization token"
 14213          syncTime:
 14214            type: "string"
 14215            format: "date-time"
 14216            description: "Last synchronization datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 14217      GetPresenceInfo:
 14218        type: "object"
 14219        properties:
 14220          uri:
 14221            type: "string"
 14222            description: "Canonical URI of a presence info resource"
 14223          allowSeeMyPresence:
 14224            type: "boolean"
 14225            description: "If 'True' enables other extensions to see the extension presence status"
 14226          dndStatus:
 14227            type: "string"
 14228            description: "Extended DnD (Do not Disturb) status. Cannot be set for Department/Announcement/Voicemail (Take Messages Only)/Fax User/Shared Lines Group/Paging Only Group/IVR Menu/Application Extension/Park Location extensions. The 'DoNotAcceptDepartmentCalls' and 'TakeDepartmentCallsOnly' values are applicable only for extensions - members of a Department; if these values are set for department outsiders, the 400 Bad Request error code is returned. The 'TakeDepartmentCallsOnly' status can be set through the old RingCentral user interface and is available for some migrated accounts only."
 14229            enum:
 14230              - "TakeAllCalls"
 14231              - "DoNotAcceptAnyCalls"
 14232              - "DoNotAcceptDepartmentCalls"
 14233              - "TakeDepartmentCallsOnly"
 14234          extension:
 14235            description: "Information on extension, for which this presence data is returned"
 14236            $ref: "#/definitions/GetPresenceExtensionInfo"
 14237          message:
 14238            type: "string"
 14239            description: "Custom status message (as previously published by user)"
 14240          pickUpCallsOnHold:
 14241            type: "boolean"
 14242            description: "If 'True' enables the extension user to pick up a monitored line on hold"
 14243          presenceStatus:
 14244            type: "string"
 14245            description: "Aggregated presence status, calculated from a number of sources"
 14246            enum:
 14247              - "Offline"
 14248              - "Busy"
 14249              - "Available"
 14250          ringOnMonitoredCall:
 14251            type: "boolean"
 14252            description: "If 'True' enables to ring extension phone, if any user monitored by this extension is ringing"
 14253          telephonyStatus:
 14254            type: "string"
 14255            description: "Telephony presence status"
 14256            enum:
 14257              - "NoCall"
 14258              - "CallConnected"
 14259              - "Ringing"
 14260              - "OnHold"
 14261              - "ParkedCall"
 14262          userStatus:
 14263            type: "string"
 14264            description: "User-defined presence status (as previously published by the user)"
 14265            enum:
 14266              - "Offline"
 14267              - "Busy"
 14268              - "Available"
 14269          activeCalls:
 14270            type: "array"
 14271            description: "Information on active calls"
 14272            items:
 14273              $ref: "#/definitions/ActiveCallInfo"
 14274      GetPresenceExtensionInfo:
 14275        type: "object"
 14276        properties:
 14277          id:
 14278            type: "string"
 14279            description: "Internal identifier of an extension"
 14280          uri:
 14281            type: "string"
 14282            description: "Canonical URI of an extension"
 14283          extensionNumber:
 14284            type: "string"
 14285            description: "Extension number (usually 3 or 4 digits)"
 14286      GetMonitoredExtensionsResponse:
 14287        type: "object"
 14288        required:
 14289          - "navigation"
 14290          - "paging"
 14291          - "records"
 14292        properties:
 14293          uri:
 14294            type: "string"
 14295            description: "Canonical URI of the monitored lines (extensions) resource"
 14296          records:
 14297            type: "array"
 14298            description: "List of lines (extensions) the presence of which is monitored by the user. The first two lines always indicate the user's extension presence, they cannot be changed"
 14299            items:
 14300              $ref: "#/definitions/LineInfo"
 14301          navigation:
 14302            description: "Information on navigation"
 14303            $ref: "#/definitions/NavigationInfo"
 14304          paging:
 14305            description: "Information on paging"
 14306            $ref: "#/definitions/PagingInfo"
 14307      LineInfo:
 14308        type: "object"
 14309        properties:
 14310          id:
 14311            type: "string"
 14312            description: "Internal identifier of a monitored extension"
 14313          uri:
 14314            type: "string"
 14315            description: "Canonical URI of a monitored extension"
 14316          extension:
 14317            description: "Brief information on a monitored extension"
 14318            $ref: "#/definitions/ExtensionInfoMonitoredLines"
 14319      ExtensionInfoMonitoredLines:
 14320        type: "object"
 14321        properties:
 14322          id:
 14323            type: "string"
 14324            description: "Internal identifier of a monitored extension"
 14325          uri:
 14326            type: "string"
 14327            description: "Canonical URI of a monitored extension"
 14328          extensionNumber:
 14329            type: "string"
 14330            description: "Brief information on a monitored extension"
 14331          type:
 14332            type: "string"
 14333            description: "Type of a monitored extension"
 14334            enum:
 14335              - "User"
 14336              - "FaxUser"
 14337              - "VirtualUser"
 14338              - "DigitalUser"
 14339              - "Department"
 14340              - "ApplicationExtension"
 14341              - "ParkLocation"
 14342      GetReportingSettingsResponse:
 14343        type: "object"
 14344        required:
 14345          - "views"
 14346        properties:
 14347          views:
 14348            type: "array"
 14349            description: "List of 'View' structures with a tuple of filter values, pages and schedules"
 14350            items:
 14351              $ref: "#/definitions/ViewInfoReporting"
 14352      ViewInfoReporting:
 14353        type: "object"
 14354        required:
 14355          - "name"
 14356          - "pages"
 14357        properties:
 14358          name:
 14359            type: "string"
 14360            description: "User-defined name of a 'View'. The maximum value is 255"
 14361          pages:
 14362            type: "array"
 14363            description: "List of pages, the max amount is 10"
 14364            items:
 14365              $ref: "#/definitions/PagesInfoReporting"
 14366          schedules:
 14367            type: "array"
 14368            description: "List of schedules, the max amount is 5. Each 'View' may have several schedules for reporting. For example, customer may want to get daily and weekly reports with the same set of settings"
 14369            items:
 14370              $ref: "#/definitions/SchedulesInfoReporting"
 14371      PagesInfoReporting:
 14372        type: "object"
 14373        required:
 14374          - "name"
 14375        properties:
 14376          name:
 14377            type: "string"
 14378            description: "Name of a page. CFA application UI predefines a set of possible names and treats them as enum constants to distinguish pages by type. This is not user-visible value, as it might need localization. The maximum value is 255"
 14379          attrX:
 14380            type: "string"
 14381            description: "CFA-defined filter values/page parameters"
 14382      SchedulesInfoReporting:
 14383        type: "object"
 14384        properties:
 14385          scheduleId:
 14386            type: "string"
 14387            description: "Unique schedule identifier"
 14388          recurrence:
 14389            type: "array"
 14390            description: "Recurrence pattern of a schedule"
 14391            items:
 14392              $ref: "#/definitions/RecurrenceInfoReporting"
 14393          viewType:
 14394            type: "string"
 14395            description: "Type of report. Detailed reports include tables with data. Simple reports only include charts"
 14396            enum:
 14397              - "Detailed"
 14398              - "Simple"
 14399          attachments:
 14400            type: "array"
 14401            description: "Set of optional attachments. Basically, every report email is in HTML format. Optionally, it can contain PDF or CSV files"
 14402            items:
 14403              $ref: "#/definitions/AttachmentInfoReporting"
 14404          pages:
 14405            type: "array"
 14406            description: "List of pages to include to the report. If empty, all pages are included. Otherwise, only specified pages are included. API doesn't check validity of page names. Client application is responsible to do that"
 14407            items:
 14408              type: "string"
 14409          recipients:
 14410            type: "array"
 14411            description: "List of emails to which to send rendered reports"
 14412            items:
 14413              type: "string"
 14414      RecurrenceInfoReporting:
 14415        type: "object"
 14416        properties:
 14417          pattern:
 14418            type: "string"
 14419            description: "Pattern (frequency) of recurrence"
 14420            enum:
 14421              - "Daily"
 14422              - "Weekly"
 14423              - "Monthly"
 14424          value:
 14425            type: "string"
 14426            description: "Time and dates should be specified in UTC time zone"
 14427            enum:
 14428              - "0"
 14429              - "1-7"
 14430              - "1-31"
 14431              - "last"
 14432      AttachmentInfoReporting:
 14433        type: "object"
 14434        properties:
 14435          csv:
 14436            type: "boolean"
 14437            description: "Specifies whether to include CSV version of the report"
 14438          pdf:
 14439            type: "boolean"
 14440            description: "Specifies whether to include PDF version of the report"
 14441      GetRingOutStatusResponse:
 14442        type: "object"
 14443        properties:
 14444          id:
 14445            type: "string"
 14446            description: "Internal identifier of a RingOut call"
 14447          uri:
 14448            type: "string"
 14449          status:
 14450            description: "RingOut status information"
 14451            $ref: "#/definitions/RingOutStatusInfo"
 14452      GetRingOutStatusResponseIntId:
 14453        type: "object"
 14454        properties:
 14455          id:
 14456            type: "integer"
 14457            format: "int64"
 14458            description: "Internal identifier of a RingOut call"
 14459          uri:
 14460            type: "string"
 14461          status:
 14462            description: "RingOut status information"
 14463            $ref: "#/definitions/RingOutStatusInfo"
 14464      RingOutStatusInfo:
 14465        type: "object"
 14466        properties:
 14467          callStatus:
 14468            type: "string"
 14469            description: "Status of a call"
 14470            enum:
 14471              - "Invalid"
 14472              - "Success"
 14473              - "InProgress"
 14474              - "Busy"
 14475              - "NoAnswer"
 14476              - "Rejected"
 14477              - "GenericError"
 14478              - "Finished"
 14479              - "InternationalDisabled"
 14480              - "DestinationBlocked"
 14481              - "NotEnoughFunds"
 14482              - "NoSuchUser"
 14483          callerStatus:
 14484            type: "string"
 14485            description: "Status of a calling party"
 14486            enum:
 14487              - "Invalid"
 14488              - "Success"
 14489              - "InProgress"
 14490              - "Busy"
 14491              - "NoAnswer"
 14492              - "Rejected"
 14493              - "GenericError"
 14494              - "Finished"
 14495              - "InternationalDisabled"
 14496              - "DestinationBlocked"
 14497              - "NotEnoughFunds"
 14498              - "NoSuchUser"
 14499          calleeStatus:
 14500            type: "string"
 14501            description: "Status of a called party"
 14502            enum:
 14503              - "Invalid"
 14504              - "Success"
 14505              - "InProgress"
 14506              - "Busy"
 14507              - "NoAnswer"
 14508              - "Rejected"
 14509              - "GenericError"
 14510              - "Finished"
 14511              - "InternationalDisabled"
 14512              - "DestinationBlocked"
 14513              - "NotEnoughFunds"
 14514              - "NoSuchUser"
 14515      ClientApiResponse:
 14516        type: "object"
 14517        required:
 14518          - "client"
 14519          - "provisioning"
 14520        properties:
 14521          client:
 14522            description: "Client application information"
 14523            $ref: "#/definitions/ClientApplicationInfo"
 14524          provisioning:
 14525            description: "Provisioning parameters. Available for the  detected  applications only"
 14526            $ref: "#/definitions/ClientProvisioningInfo"
 14527      ClientApplicationInfo:
 14528        type: "object"
 14529        required:
 14530          - "detected"
 14531        properties:
 14532          detected:
 14533            type: "boolean"
 14534            description: "'True', if the server succeeded detecting application info, sufficient to return provisioning info"
 14535          userAgent:
 14536            type: "string"
 14537            description: "The value of 'User-Agent' header, as it was passed in request"
 14538          appId:
 14539            type: "string"
 14540            description: "Application identifier (from authorization session)"
 14541          appName:
 14542            type: "string"
 14543            description: "Application name (from authorization session, but must match 'User-Agent')"
 14544          appVersion:
 14545            type: "string"
 14546            description: "Application version (parsed from 'User-Agent')"
 14547          appPlatform:
 14548            type: "string"
 14549            description: "Application platform operation system (parsed from 'User-Agent': Windows, MacOS, Android, iOS"
 14550          appPlatformVersion:
 14551            type: "string"
 14552            description: "Application platform operation system version (parsed from 'User-Agent')"
 14553          locale:
 14554            type: "string"
 14555            description: "Locale, parsed from 'Accept-Language'. Currently en-GB and en-US locales are supported. The default value is en-US"
 14556      ClientProvisioningInfo:
 14557        type: "object"
 14558        required:
 14559          - "hints"
 14560          - "webUris"
 14561        properties:
 14562          webUris:
 14563            description: "Links to the mobile web and Service Web resources"
 14564            $ref: "#/definitions/ClientProvisioningWebUriInfo"
 14565          hints:
 14566            description: "Informs client application on the required user action"
 14567            $ref: "#/definitions/ClientProvisioningHintsInfo"
 14568      ClientProvisioningWebUriInfo:
 14569        type: "object"
 14570        properties:
 14571          appDownload:
 14572            type: "string"
 14573            description: "Link to web page with the application description. Returned if the application needs to be updated, together with the appVersionUpgrade hint"
 14574          appDownloadFile:
 14575            type: "string"
 14576            description: "Link to the application distributive package. Returned if the application needs to be updated, together with the appVersionUpgrade hint"
 14577          expressSetupMobile:
 14578            type: "string"
 14579            description: "Link to express setup page (mobile application)"
 14580          meetingsAppDownload:
 14581            type: "string"
 14582            description: "Link to the RC Meetings application distributive package"
 14583          mobileWebBilling:
 14584            type: "string"
 14585            description: "Link to billing page (mobile application)"
 14586          mobileWebCallHandling:
 14587            type: "string"
 14588            description: "Link to call handling page (mobile application)"
 14589          mobileWebInternationalCalling:
 14590            type: "string"
 14591            description: "Link to international calling page (mobile application)"
 14592          mobileWebNotifications:
 14593            type: "string"
 14594            description: "Link to notifications page (mobile application)"
 14595          mobileWebPhoneSystem:
 14596            type: "string"
 14597            description: "Link to phone system settings page (mobile application)"
 14598          mobileWebReporting:
 14599            type: "string"
 14600            description: "Link to reports page (mobile application)"
 14601          mobileWebResetPassword:
 14602            type: "string"
 14603            description: "Link to reset password page (mobile application)"
 14604          mobileWebTellAFriend:
 14605            type: "string"
 14606            description: "Link to  Tell A Friend  page (mobile application)"
 14607          mobileWebTrialUpgrade:
 14608            type: "string"
 14609            description: "Link to upgrade trial account (mobile application)"
 14610          mobileWebUserSettings:
 14611            type: "string"
 14612            description: "Link to user settings page (mobile application)"
 14613          serviceWebBilling:
 14614            type: "string"
 14615            description: "Link to billing page (web application)"
 14616          serviceWebHome:
 14617            type: "string"
 14618            description: "Link to home page (web application)"
 14619          serviceWebPhoneSystem:
 14620            type: "string"
 14621            description: "Link to phone system settings page (web application)"
 14622          serviceWebResetPassword:
 14623            type: "string"
 14624            description: "Link to reset password page (web application)"
 14625          serviceWebTellAFriend:
 14626            type: "string"
 14627            description: "Link to  Tell A Friend  page (web application)"
 14628          serviceWebUserSettings:
 14629            type: "string"
 14630            description: "Link to user settings page (web application)"
 14631          signUp:
 14632            type: "string"
 14633            description: "Link to sign up page (web application)"
 14634          support:
 14635            type: "string"
 14636            description: "Link to support page (web application)"
 14637      ClientProvisioningHintsInfo:
 14638        type: "object"
 14639        properties:
 14640          trialState:
 14641            description: "Trial account expiration. Returned for trial accounts only"
 14642            $ref: "#/definitions/ClientProvisioningHintInfo"
 14643          userCredentialState:
 14644            description: "User credentials expiration"
 14645            $ref: "#/definitions/ClientProvisioningHintInfo"
 14646          appVersionUpgrade:
 14647            description: "Application version update. Returned only if the client current version is older than the latest version. 'actionRequired': 'true' means the application requires force updating to the latest version"
 14648            $ref: "#/definitions/ClientProvisioningHintInfo"
 14649      ClientProvisioningHintInfo:
 14650        type: "object"
 14651        properties:
 14652          expiresIn:
 14653            type: "integer"
 14654            description: "Seconds until expiration date. Returned only if applicable"
 14655          actionRequired:
 14656            type: "boolean"
 14657            description: "'False', if the value of expiresIn is greater than 0 (zero), otherwise - 'True'"
 14658      CustomDataApiResponse:
 14659        type: "object"
 14660        required:
 14661          - "id"
 14662          - "lastModifiedTime"
 14663          - "uri"
 14664        properties:
 14665          id:
 14666            type: "string"
 14667            description: "Custom data access key"
 14668          uri:
 14669            type: "string"
 14670            description: "Link to the custom data"
 14671          value:
 14672            type: "string"
 14673            description: "Description of custom data"
 14674          lastModifiedTime:
 14675            type: "string"
 14676            description: "Time of the last change in custom data"
 14677          attachment:
 14678            description: "Attachment data: link and type"
 14679            $ref: "#/definitions/CustomDataAttachmentInfo"
 14680      CustomDataAttachmentInfo:
 14681        type: "object"
 14682        required:
 14683          - "contentType"
 14684          - "uri"
 14685        properties:
 14686          uri:
 14687            type: "string"
 14688            description: "Link to custom data attachment"
 14689          contentType:
 14690            type: "string"
 14691            description: "Type of custom data attachment, see also MIME Types"
 14692      CreateSipRegistrationResponse:
 14693        type: "object"
 14694        required:
 14695          - "sipFlags"
 14696          - "sipInfo"
 14697        properties:
 14698          sipInfo:
 14699            type: "array"
 14700            description: "SIP settings for device"
 14701            items:
 14702              $ref: "#/definitions/SIPInfoResponse"
 14703          sipFlags:
 14704            type: "array"
 14705            description: "SIP flags data"
 14706            items:
 14707              $ref: "#/definitions/SIPFlagsRespones"
 14708      SIPFlagsRespones:
 14709        type: "object"
 14710        properties:
 14711          voipFeatureEnabled:
 14712            type: "string"
 14713            description: "If 'True' VoIP calling feature is enabled"
 14714            enum:
 14715              - "True"
 14716              - "False"
 14717          voipCountryBlocked:
 14718            type: "string"
 14719            description: "If 'True' the request is sent from IP address of a country blocked for VoIP calling"
 14720            enum:
 14721              - "True"
 14722              - "False"
 14723          outboundCallsEnabled:
 14724            type: "string"
 14725            description: "If 'True' outbound calls are enabled"
 14726            enum:
 14727              - "True"
 14728              - "False"
 14729      SIPInfoResponse:
 14730        type: "object"
 14731        properties:
 14732          username:
 14733            type: "string"
 14734            description: "User credentials"
 14735          password:
 14736            type: "string"
 14737            description: "User password"
 14738          authorizationId:
 14739            type: "string"
 14740            description: "Identifier for SIP authorization"
 14741          domain:
 14742            type: "string"
 14743            description: "SIP domain"
 14744          outboundProxy:
 14745            type: "string"
 14746            description: "SIP outbound proxy"
 14747          transport:
 14748            type: "string"
 14749            description: "Preferred transport. SIP info will be returned for this transport if supported"
 14750            enum:
 14751              - "UDP"
 14752              - "TCP"
 14753              - "TLS"
 14754              - "WS"
 14755              - "WSS"
 14756          certificate:
 14757            type: "string"
 14758            description: "For TLS transport only Base64 encoded certificate"
 14759      ExtensionInfoSIP:
 14760        type: "object"
 14761        properties:
 14762          id:
 14763            type: "string"
 14764            description: "Internal identifier of an extension"
 14765          uri:
 14766            type: "string"
 14767            description: "Canonical URI of an extension"
 14768          extensionNumber:
 14769            type: "string"
 14770            description: "Extension number"
 14771      SpecialNumberInfo:
 14772        type: "object"
 14773        required:
 14774          - "features"
 14775        properties:
 14776          phoneNumber:
 14777            type: "string"
 14778            description: "Service phone number in N11 code format"
 14779          description:
 14780            type: "string"
 14781            description: "Description of a special number"
 14782          features:
 14783            description: "Information on options allowed/disallowed for the special number"
 14784            $ref: "#/definitions/SpecialNumberFeaturesInfo"
 14785      SpecialNumberFeaturesInfo:
 14786        type: "object"
 14787        properties:
 14788          voip:
 14789            description: "VoIP call"
 14790            $ref: "#/definitions/OptionInfo"
 14791          ringOut:
 14792            description: "RingOut call"
 14793            $ref: "#/definitions/OptionInfo"
 14794          sms:
 14795            description: "Outgoing SMS"
 14796            $ref: "#/definitions/OptionInfo"
 14797          faxOut:
 14798            description: "Outgoing Fax"
 14799            $ref: "#/definitions/OptionInfo"
 14800      OptionInfo:
 14801        type: "object"
 14802        required:
 14803          - "reason"
 14804        properties:
 14805          enabled:
 14806            type: "boolean"
 14807            description: "Specifies if the feature is allowed ('True') or disallowed ('False') for the special number"
 14808          reason:
 14809            description: "The reason explaining why the option is disallowed. Returned if the value of enabled is 'False'"
 14810            $ref: "#/definitions/OptionInfoReason"
 14811      OptionInfoReason:
 14812        type: "object"
 14813        properties:
 14814          id:
 14815            type: "string"
 14816            description: "Internal code of the option disallowance reason"
 14817          message:
 14818            type: "string"
 14819            description: "Text description of the option disallowance reason"
 14820      GetCountryListResponse:
 14821        type: "object"
 14822        required:
 14823          - "navigation"
 14824          - "paging"
 14825          - "records"
 14826        properties:
 14827          records:
 14828            type: "array"
 14829            description: "List of countries with the country data"
 14830            items:
 14831              $ref: "#/definitions/GetCountryInfoDictionaryResponse"
 14832          navigation:
 14833            description: "Information on navigation"
 14834            $ref: "#/definitions/NavigationInfo"
 14835          paging:
 14836            description: "Information on paging"
 14837            $ref: "#/definitions/PagingInfo"
 14838      GetCountryInfoDictionaryResponse:
 14839        type: "object"
 14840        properties:
 14841          id:
 14842            type: "string"
 14843            description: "Internal identifier of a country"
 14844          uri:
 14845            type: "string"
 14846            description: "Canonical URI of a country"
 14847          callingCode:
 14848            type: "string"
 14849            description: "Country calling code defined by ITU-T recommendations E.123 and E.164, see Calling Codes"
 14850          emergencyCalling:
 14851            type: "boolean"
 14852            description: "Emergency calling feature availability/emergency address requirement indicator"
 14853          isoCode:
 14854            type: "string"
 14855            description: "Country code according to the ISO standard, see ISO 3166"
 14856          name:
 14857            type: "string"
 14858            description: "Official name of a country"
 14859          numberSelling:
 14860            type: "boolean"
 14861            description: "Determines whether phone numbers are available for a country"
 14862          loginAllowed:
 14863            type: "boolean"
 14864            description: "Specifies whether login with the phone numbers of this country is enabled or not"
 14865          signupAllowed:
 14866            type: "boolean"
 14867            description: "Indicates whether signup/billing is allowed for a country"
 14868          freeSoftphoneLine:
 14869            type: "boolean"
 14870            description: "Specifies if free phone line for softphone is available for a country or not"
 14871      GetLocationListResponse:
 14872        type: "object"
 14873        required:
 14874          - "navigation"
 14875          - "paging"
 14876        properties:
 14877          records:
 14878            type: "array"
 14879            description: "List of locations"
 14880            items:
 14881              $ref: "#/definitions/LocationInfo"
 14882          navigation:
 14883            description: "Information on navigation"
 14884            $ref: "#/definitions/NavigationInfo"
 14885          paging:
 14886            description: "Information on paging"
 14887            $ref: "#/definitions/PagingInfo"
 14888      LocationInfo:
 14889        type: "object"
 14890        properties:
 14891          uri:
 14892            type: "string"
 14893            description: "Canonical URI of a location"
 14894          areaCode:
 14895            type: "string"
 14896            description: "Area code of the location"
 14897          city:
 14898            type: "string"
 14899            description: "Official name of the city, belonging to the certain state"
 14900          npa:
 14901            type: "string"
 14902            description: "Area code of the location (3-digit usually), according to the NANP number format, that can be summarized as NPA-NXX-xxxx and covers Canada, the United States, parts of the Caribbean Sea, and some Atlantic and Pacific islands. See for details North American Numbering Plan"
 14903          nxx:
 14904            type: "string"
 14905            description: "Central office code of the location, according to the NANP number format, that can be summarized as NPA-NXX-xxxx and covers Canada, the United States, parts of the Caribbean Sea, and some Atlantic and Pacific islands. See for details North American Numbering Plan"
 14906          state:
 14907            type: "string"
 14908            description: "ID and URI of the state this location belongs to, see State Info"
 14909      GetSecretQuestionListResponse:
 14910        type: "object"
 14911        properties:
 14912          uri:
 14913            type: "string"
 14914            description: "Canonical URI of a question list resource"
 14915          records:
 14916            type: "array"
 14917            description: "List of secret questions with their descriptions"
 14918            items:
 14919              $ref: "#/definitions/SecretQuestionInfo"
 14920          navigation:
 14921            description: "Information on navigation"
 14922            $ref: "#/definitions/NavigationInfo"
 14923          paging:
 14924            description: "Information on paging"
 14925            $ref: "#/definitions/PagingInfo"
 14926      SecretQuestionInfo:
 14927        type: "object"
 14928        properties:
 14929          id:
 14930            type: "string"
 14931            description: "Internal identifier of a question"
 14932          questionType:
 14933            type: "integer"
 14934            description: "Internal identifier of a question type"
 14935          languageId:
 14936            type: "string"
 14937            description: "Internal identifier of a question language"
 14938          questionText:
 14939            type: "string"
 14940            description: "Text of a secret question shown to the end user"
 14941          showInSignUp:
 14942            type: "boolean"
 14943            description: "Specifies if the question is used during signup"
 14944      GetStateListResponse:
 14945        type: "object"
 14946        required:
 14947          - "navigation"
 14948          - "paging"
 14949          - "records"
 14950        properties:
 14951          records:
 14952            type: "array"
 14953            description: "List of states"
 14954            items:
 14955              $ref: "#/definitions/GetStateInfoResponse"
 14956          navigation:
 14957            description: "Information on navigation"
 14958            $ref: "#/definitions/NavigationInfo"
 14959          paging:
 14960            description: "Information on paging"
 14961            $ref: "#/definitions/PagingInfo"
 14962      GetStateInfoResponse:
 14963        type: "object"
 14964        properties:
 14965          id:
 14966            type: "string"
 14967            description: "Internal identifier of a state"
 14968          uri:
 14969            type: "string"
 14970            description: "Canonical URI of a state"
 14971          country:
 14972            description: "Information on a country the state belongs to"
 14973            $ref: "#/definitions/GetCountryInfoState"
 14974          isoCode:
 14975            type: "string"
 14976            description: "Short code for a state (2-letter usually)"
 14977          name:
 14978            type: "string"
 14979            description: "Official name of a state"
 14980      GetCountryInfoState:
 14981        type: "object"
 14982        properties:
 14983          id:
 14984            type: "string"
 14985            description: "Internal identifier of a state"
 14986          uri:
 14987            type: "string"
 14988            description: "Canonical URI of a state"
 14989      GetTimezoneListResponse:
 14990        type: "object"
 14991        required:
 14992          - "navigation"
 14993          - "paging"
 14994          - "records"
 14995        properties:
 14996          records:
 14997            type: "array"
 14998            description: "List of timezones"
 14999            items:
 15000              $ref: "#/definitions/GetTimezoneInfoResponse"
 15001          navigation:
 15002            description: "Information on navigation"
 15003            $ref: "#/definitions/NavigationInfo"
 15004          paging:
 15005            description: "Information on paging"
 15006            $ref: "#/definitions/PagingInfo"
 15007      GetTimezoneInfoResponse:
 15008        type: "object"
 15009        properties:
 15010          id:
 15011            type: "string"
 15012            description: "Internal identifier of a timezone"
 15013          uri:
 15014            type: "string"
 15015            description: "Canonical URI of the timezone"
 15016          name:
 15017            type: "string"
 15018            description: "Short name of the timezone"
 15019          description:
 15020            type: "string"
 15021            description: "Description of the timezone"
 15022      ParsePhoneNumberResponse:
 15023        type: "object"
 15024        required:
 15025          - "homeCountry"
 15026          - "phoneNumbers"
 15027        properties:
 15028          uri:
 15029            type: "string"
 15030            description: "Canonical URI of a resource"
 15031          homeCountry:
 15032            type: "array"
 15033            description: "Information on a user home country"
 15034            items:
 15035              $ref: "#/definitions/GetCountryInfoNumberParser"
 15036          phoneNumbers:
 15037            type: "array"
 15038            description: "Parsed phone numbers data"
 15039            items:
 15040              $ref: "#/definitions/PhoneNumberInfoNumberParser"
 15041          originalString:
 15042            type: "string"
 15043            description: "One of the numbers to be parsed, passed as a string in response"
 15044          areaCode:
 15045            type: "string"
 15046            description: "Area code of the location (3-digit usually), according to the NANP number format, that can be summarized as NPA-NXX-xxxx and covers Canada, the United States, parts of the Caribbean Sea, and some Atlantic and Pacific islands. See North American Numbering Plan for details"
 15047          formattedNational:
 15048            type: "string"
 15049            description: "Domestic format of a phone number"
 15050          formattedInternational:
 15051            type: "string"
 15052            description: "International format of a phone number"
 15053          dialable:
 15054            type: "string"
 15055            description: "Dialing format of a phone number"
 15056          e164:
 15057            type: "string"
 15058            description: "E.164 (11-digits) format of a phone number"
 15059          special:
 15060            type: "boolean"
 15061            description: " True  if the number is in a special format (for example N11 code)"
 15062          normalized:
 15063            type: "string"
 15064            description: "E.164 (11-digits) format of a phone number without the plus sign ('+')"
 15065          country:
 15066            type: "array"
 15067            description: "Information on a country the phone number belongs to"
 15068            items:
 15069              $ref: "#/definitions/GetCountryInfoNumberParser"
 15070      GetCountryInfoNumberParser:
 15071        type: "object"
 15072        properties:
 15073          id:
 15074            type: "string"
 15075            description: "Internal identifier of a country"
 15076          uri:
 15077            type: "string"
 15078            description: "Canonical URI of a country"
 15079          callingCode:
 15080            type: "string"
 15081            description: "Country calling code defined by ITU-T recommendations E.123 and E.164, see Calling Codes"
 15082          emergencyCalling:
 15083            type: "boolean"
 15084            description: "Emergency calling feature availability/emergency address requirement indicator"
 15085          isoCode:
 15086            type: "string"
 15087            description: "Country code according to the ISO standard, see ISO 3166"
 15088          name:
 15089            type: "string"
 15090            description: "Official name of a country"
 15091      PhoneNumberInfoNumberParser:
 15092        type: "object"
 15093        properties:
 15094          areaCode:
 15095            type: "string"
 15096            description: "Area code of the location (3-digit usually), according to the NANP number format, that can be summarized as NPA-NXX-xxxx and covers Canada, the United States, parts of the Caribbean Sea, and some Atlantic and Pacific islands. See North American Numbering Plan for details"
 15097          country:
 15098            type: "array"
 15099            description: "Information on a country the phone number belongs to"
 15100            items:
 15101              $ref: "#/definitions/GetCountryInfoNumberParser"
 15102          dialable:
 15103            type: "string"
 15104            description: "Dialing format of a phone number"
 15105          e164:
 15106            type: "string"
 15107            description: "E.164 (11-digits) format of a phone number"
 15108          formattedInternational:
 15109            type: "string"
 15110            description: "International format of a phone number"
 15111          formattedNational:
 15112            type: "string"
 15113            description: "Domestic format of a phone number"
 15114          originalString:
 15115            type: "string"
 15116            description: "One of the numbers to be parsed, passed as a string in response"
 15117          special:
 15118            type: "boolean"
 15119            description: " True  if the number is in a special format (for example N11 code)"
 15120          normalized:
 15121            type: "string"
 15122            description: "E.164 (11-digits) format of a phone number without the plus sign ('+')"
 15123      SubscriptionInfo:
 15124        type: "object"
 15125        required:
 15126          - "deliveryMode"
 15127        properties:
 15128          id:
 15129            type: "string"
 15130            description: "Internal identifier of a subscription"
 15131          uri:
 15132            type: "string"
 15133            description: "Canonical URI of a subscription"
 15134          eventFilters:
 15135            type: "array"
 15136            description: "Collection of URIs to API resources (message-store/presence/detailed presence)"
 15137            items:
 15138              type: "string"
 15139          expirationTime:
 15140            type: "string"
 15141            format: "date-time"
 15142            description: "Subscription expiration datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 15143          expiresIn:
 15144            type: "integer"
 15145            description: "Subscription lifetime in seconds. The default value is 900"
 15146          status:
 15147            type: "string"
 15148            description: "Subscription status"
 15149            enum:
 15150              - "Active"
 15151              - "Suspended"
 15152          creationTime:
 15153            type: "string"
 15154            format: "date-time"
 15155            description: "Subscription creation datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 15156          deliveryMode:
 15157            description: "Delivery mode data"
 15158            $ref: "#/definitions/NotificationDeliveryMode"
 15159      NotificationDeliveryMode:
 15160        type: "object"
 15161        properties:
 15162          transportType:
 15163            type: "string"
 15164            description: "Notifications transportation provider name. 'APNS' (Apple Push Notifications Service)"
 15165            enum:
 15166              - "PubNub"
 15167              - "APNS"
 15168              - "PubNub/APNS/VoIP"
 15169          encryption:
 15170            type: "boolean"
 15171            description: "Optional parameter. Specifies if the message will be encrypted or not. For APNS transport type the value is always  false"
 15172          address:
 15173            type: "string"
 15174            description: "PubNub channel name. For APNS transport type - internal identifier of a device  device_token"
 15175          subscriberKey:
 15176            type: "string"
 15177            description: "PubNub subscriber credentials required to subscribe to the channel"
 15178          secretKey:
 15179            type: "string"
 15180            description: "PubNub subscriber credentials required to subscribe to the channel. Optional (for PubNub transport type only)"
 15181          encryptionAlgorithm:
 15182            type: "string"
 15183            description: "Encryption algorithm 'AES' (for PubNub transport type only)"
 15184          encryptionKey:
 15185            type: "string"
 15186            description: "Key for notification message decryption (for PubNub transport type only)"
 15187      GroupsCollection:
 15188        type: "object"
 15189        properties:
 15190          uri:
 15191            type: "string"
 15192            format: "uri"
 15193          records:
 15194            type: "array"
 15195            items:
 15196              $ref: "#/definitions/GroupResource"
 15197          paging:
 15198            $ref: "#/definitions/Paging"
 15199          navigation:
 15200            $ref: "#/definitions/Navigation"
 15201      NavigableCollectionResourceExtensionIdResource:
 15202        type: "object"
 15203        properties:
 15204          uri:
 15205            type: "string"
 15206            format: "uri"
 15207          records:
 15208            type: "array"
 15209            items:
 15210              $ref: "#/definitions/ExtensionIdResource"
 15211          paging:
 15212            $ref: "#/definitions/Paging"
 15213          navigation:
 15214            $ref: "#/definitions/Navigation"
 15215      RingOutPhoneNumberInfo:
 15216        type: "object"
 15217        properties:
 15218          phoneNumber:
 15219            type: "string"
 15220      UnconditionalForwardingResource:
 15221        type: "object"
 15222        properties:
 15223          phoneNumber:
 15224            type: "string"
 15225      CountriesResource:
 15226        type: "object"
 15227        properties:
 15228          uri:
 15229            type: "string"
 15230            format: "uri"
 15231          records:
 15232            type: "array"
 15233            items:
 15234              $ref: "#/definitions/CountryResource"
 15235          paging:
 15236            $ref: "#/definitions/Paging"
 15237          navigation:
 15238            $ref: "#/definitions/Navigation"
 15239      Feature:
 15240        type: "object"
 15241        properties:
 15242          enabled:
 15243            type: "boolean"
 15244            default: false
 15245          reason:
 15246            $ref: "#/definitions/Reason"
 15247      HintResource:
 15248        type: "object"
 15249        properties:
 15250          expiresIn:
 15251            type: "integer"
 15252            format: "int64"
 15253          actionRequired:
 15254            type: "boolean"
 15255            default: false
 15256          messageUri:
 15257            type: "string"
 15258      ConferencingInfoResource:
 15259        type: "object"
 15260        properties:
 15261          uri:
 15262            type: "string"
 15263            format: "uri"
 15264          phoneNumber:
 15265            type: "string"
 15266          hostCode:
 15267            type: "string"
 15268          participantCode:
 15269            type: "string"
 15270          allowJoinBeforeHost:
 15271            type: "boolean"
 15272            default: false
 15273          tapToJoinUri:
 15274            type: "string"
 15275          supportUri:
 15276            type: "string"
 15277          mode:
 15278            type: "string"
 15279            enum:
 15280              - "FCC"
 15281              - "RCC"
 15282          phoneNumbers:
 15283            type: "array"
 15284            items:
 15285              $ref: "#/definitions/ConferencingNumberResource"
 15286      ErrorEntity:
 15287        type: "object"
 15288        properties:
 15289          errorCode:
 15290            type: "string"
 15291          message:
 15292            type: "string"
 15293      SyncInfo:
 15294        type: "object"
 15295        properties:
 15296          syncType:
 15297            type: "string"
 15298            enum:
 15299              - "FSync"
 15300              - "ISync"
 15301          syncToken:
 15302            type: "string"
 15303          syncTime:
 15304            type: "string"
 15305            format: "date-time"
 15306          olderRecordsExist:
 15307            type: "boolean"
 15308            default: false
 15309      Currency:
 15310        type: "object"
 15311        properties:
 15312          id:
 15313            type: "string"
 15314          code:
 15315            type: "string"
 15316          name:
 15317            type: "string"
 15318          symbol:
 15319            type: "string"
 15320          minorSymbol:
 15321            type: "string"
 15322      Permission:
 15323        type: "object"
 15324        properties:
 15325          enabled:
 15326            type: "boolean"
 15327            default: false
 15328      MediaType:
 15329        type: "object"
 15330        properties:
 15331          type:
 15332            type: "string"
 15333          subtype:
 15334            type: "string"
 15335          wildcardType:
 15336            type: "boolean"
 15337            default: false
 15338          wildcardSubtype:
 15339            type: "boolean"
 15340            default: false
 15341      Cookie:
 15342        type: "object"
 15343        properties:
 15344          name:
 15345            type: "string"
 15346          value:
 15347            type: "string"
 15348          version:
 15349            type: "integer"
 15350            format: "int32"
 15351          path:
 15352            type: "string"
 15353          domain:
 15354            type: "string"
 15355      SyncMessages:
 15356        type: "object"
 15357        properties:
 15358          uri:
 15359            type: "string"
 15360            format: "uri"
 15361          records:
 15362            type: "array"
 15363            items:
 15364              $ref: "#/definitions/MessageInfoResource"
 15365          syncInfo:
 15366            $ref: "#/definitions/SyncInfo"
 15367      DeviceModelExtsResource:
 15368        type: "object"
 15369        properties:
 15370          uri:
 15371            type: "string"
 15372            format: "uri"
 15373            description: "Canonical URI of a device"
 15374          records:
 15375            type: "array"
 15376            description: "Devices data"
 15377            items:
 15378              $ref: "#/definitions/DeviceModelExtResource"
 15379      ExtensionGrantsResource:
 15380        type: "object"
 15381        properties:
 15382          uri:
 15383            type: "string"
 15384            format: "uri"
 15385          records:
 15386            type: "array"
 15387            items:
 15388              $ref: "#/definitions/ExtensionGrantResource"
 15389          paging:
 15390            $ref: "#/definitions/Paging"
 15391          navigation:
 15392            $ref: "#/definitions/Navigation"
 15393      ServiceFeatureValue:
 15394        type: "object"
 15395        properties:
 15396          featureName:
 15397            type: "string"
 15398          enabled:
 15399            type: "boolean"
 15400            default: false
 15401          reason:
 15402            type: "string"
 15403            enum:
 15404              - "Available"
 15405              - "AccountTypeLimitation"
 15406              - "ExtensionTypeLimitation"
 15407              - "AccountLimitation"
 15408              - "ExtensionLimitation"
 15409              - "InsufficientPermissions"
 15410              - "ApplicationLimitation"
 15411      RegionalSettingsResource:
 15412        type: "object"
 15413        properties:
 15414          timezone:
 15415            $ref: "#/definitions/TimezoneResource"
 15416          homeCountry:
 15417            $ref: "#/definitions/CountryResource"
 15418          language:
 15419            $ref: "#/definitions/LanguageResource"
 15420          greetingLanguage:
 15421            $ref: "#/definitions/LanguageResource"
 15422          formattingLocale:
 15423            $ref: "#/definitions/LanguageResource"
 15424      UriTemplate:
 15425        type: "object"
 15426        properties:
 15427          template:
 15428            type: "string"
 15429          pattern:
 15430            $ref: "#/definitions/PatternWithGroups"
 15431          templateVariables:
 15432            type: "array"
 15433            items:
 15434              type: "string"
 15435          numberOfExplicitRegexes:
 15436            type: "integer"
 15437            format: "int32"
 15438          numberOfRegexGroups:
 15439            type: "integer"
 15440            format: "int32"
 15441          numberOfExplicitCharacters:
 15442            type: "integer"
 15443            format: "int32"
 15444          numberOfTemplateVariables:
 15445            type: "integer"
 15446            format: "int32"
 15447      GroupResource:
 15448        type: "object"
 15449        properties:
 15450          uri:
 15451            type: "string"
 15452            format: "uri"
 15453          contacts:
 15454            $ref: "#/definitions/ResourceLink"
 15455          id:
 15456            type: "string"
 15457          notes:
 15458            type: "string"
 15459          groupName:
 15460            type: "string"
 15461          contactsCount:
 15462            type: "integer"
 15463            format: "int32"
 15464      TranscriptionResult:
 15465        type: "object"
 15466        properties:
 15467          STTId:
 15468            type: "string"
 15469          ExternalId:
 15470            type: "string"
 15471          Status:
 15472            type: "integer"
 15473            format: "int32"
 15474          Mailbox:
 15475            type: "string"
 15476          TranscriptionText:
 15477            type: "string"
 15478          Message:
 15479            type: "string"
 15480          MessageLength:
 15481            type: "string"
 15482          Confidence:
 15483            type: "string"
 15484      CallLogRecordingResource:
 15485        type: "object"
 15486        properties:
 15487          uri:
 15488            type: "string"
 15489            format: "uri"
 15490          id:
 15491            type: "string"
 15492          type:
 15493            type: "string"
 15494          contentUri:
 15495            type: "string"
 15496      ParameterizedHeader:
 15497        type: "object"
 15498        properties:
 15499          value:
 15500            type: "string"
 15501      SessionResource:
 15502        type: "object"
 15503        properties:
 15504          uri:
 15505            type: "string"
 15506            format: "uri"
 15507          id:
 15508            type: "string"
 15509          accountId:
 15510            type: "string"
 15511          extensionId:
 15512            type: "string"
 15513          creationTime:
 15514            type: "string"
 15515            format: "date-time"
 15516          clientId:
 15517            type: "string"
 15518          application:
 15519            $ref: "#/definitions/ApplicationResource"
 15520      MonitoringExtensionResource:
 15521        type: "object"
 15522        properties:
 15523          uri:
 15524            type: "string"
 15525            format: "uri"
 15526          id:
 15527            type: "string"
 15528          extensionNumber:
 15529            type: "string"
 15530      AssignedRolesResource:
 15531        type: "object"
 15532        properties:
 15533          uri:
 15534            type: "string"
 15535            format: "uri"
 15536          records:
 15537            type: "array"
 15538            items:
 15539              $ref: "#/definitions/AssignedRoleResource"
 15540      VersioningResource:
 15541        type: "object"
 15542        properties:
 15543          uri:
 15544            type: "string"
 15545            format: "uri"
 15546          resourceDescription:
 15547            type: "string"
 15548          id:
 15549            type: "string"
 15550          ver:
 15551            $ref: "#/definitions/ApiVersionResource"
 15552      AccountBusinessAddressResource:
 15553        type: "object"
 15554        properties:
 15555          uri:
 15556            type: "string"
 15557            format: "uri"
 15558          businessAddress:
 15559            $ref: "#/definitions/ContactAddressInfo"
 15560          company:
 15561            type: "string"
 15562          email:
 15563            type: "string"
 15564      PersonalContactResource:
 15565        type: "object"
 15566        properties:
 15567          uri:
 15568            type: "string"
 15569            format: "uri"
 15570          availability:
 15571            type: "string"
 15572            enum:
 15573              - "Alive"
 15574              - "Deleted"
 15575              - "Purged"
 15576          id:
 15577            type: "string"
 15578          firstName:
 15579            type: "string"
 15580          lastName:
 15581            type: "string"
 15582          middleName:
 15583            type: "string"
 15584          birthday:
 15585            type: "string"
 15586            format: "date-time"
 15587          notes:
 15588            type: "string"
 15589          webPage:
 15590            type: "string"
 15591          company:
 15592            type: "string"
 15593          jobTitle:
 15594            type: "string"
 15595          nickName:
 15596            type: "string"
 15597          email:
 15598            type: "string"
 15599          email2:
 15600            type: "string"
 15601          email3:
 15602            type: "string"
 15603          homeAddress:
 15604            $ref: "#/definitions/ContactAddressInfo"
 15605          otherAddress:
 15606            $ref: "#/definitions/ContactAddressInfo"
 15607          homePhone:
 15608            type: "string"
 15609          homePhone2:
 15610            type: "string"
 15611          mobilePhone:
 15612            type: "string"
 15613          businessPhone:
 15614            type: "string"
 15615          callbackPhone:
 15616            type: "string"
 15617          carPhone:
 15618            type: "string"
 15619          companyPhone:
 15620            type: "string"
 15621          otherPhone:
 15622            type: "string"
 15623          businessFax:
 15624            type: "string"
 15625          otherFax:
 15626            type: "string"
 15627          businessAddress:
 15628            $ref: "#/definitions/ContactAddressInfo"
 15629          assistantPhone:
 15630            type: "string"
 15631          businessPhone2:
 15632            type: "string"
 15633      IncomingCallInformationResource:
 15634        type: "object"
 15635        properties:
 15636          uri:
 15637            type: "string"
 15638            format: "uri"
 15639          announcementWhenDirectCalls:
 15640            type: "string"
 15641            enum:
 15642              - "Never"
 15643              - "Always"
 15644              - "NonRingCentral"
 15645          announcementWhenDepartmentCalls:
 15646            type: "string"
 15647            enum:
 15648              - "Always"
 15649              - "NonRingCentral"
 15650      AddressFormResource:
 15651        type: "object"
 15652        properties:
 15653          uri:
 15654            type: "string"
 15655            format: "uri"
 15656          records:
 15657            type: "array"
 15658            items:
 15659              $ref: "#/definitions/AddressFormCountryResource"
 15660      PathPattern:
 15661        type: "object"
 15662        properties:
 15663          regex:
 15664            type: "string"
 15665          groupIndexes:
 15666            type: "array"
 15667            items:
 15668              type: "integer"
 15669              format: "int32"
 15670          template:
 15671            $ref: "#/definitions/UriTemplate"
 15672      FaxResendInfo:
 15673        type: "object"
 15674        required:
 15675          - "originalMessageId"
 15676        properties:
 15677          originalMessageId:
 15678            type: "integer"
 15679            format: "int64"
 15680          sendTime:
 15681            type: "string"
 15682            format: "date-time"
 15683          to:
 15684            type: "array"
 15685            items:
 15686              $ref: "#/definitions/CallerInfo"
 15687      FormFieldResource:
 15688        type: "object"
 15689        properties:
 15690          name:
 15691            type: "string"
 15692          fieldType:
 15693            type: "string"
 15694          description:
 15695            type: "string"
 15696          maxLength:
 15697            type: "integer"
 15698            format: "int32"
 15699      HintsResource:
 15700        type: "object"
 15701        properties:
 15702          userCredentialState:
 15703            $ref: "#/definitions/HintResource"
 15704          trialState:
 15705            $ref: "#/definitions/HintResource"
 15706          appVersionUpgrade:
 15707            $ref: "#/definitions/HintResource"
 15708      NewCookie:
 15709        type: "object"
 15710        properties:
 15711          name:
 15712            type: "string"
 15713          value:
 15714            type: "string"
 15715          version:
 15716            type: "integer"
 15717            format: "int32"
 15718          path:
 15719            type: "string"
 15720          domain:
 15721            type: "string"
 15722          comment:
 15723            type: "string"
 15724          maxAge:
 15725            type: "integer"
 15726            format: "int32"
 15727          expiry:
 15728            type: "string"
 15729            format: "date-time"
 15730          secure:
 15731            type: "boolean"
 15732            default: false
 15733          httpOnly:
 15734            type: "boolean"
 15735            default: false
 15736      AdminNoticeResource:
 15737        type: "object"
 15738        properties:
 15739          subjectCode:
 15740            type: "string"
 15741          message:
 15742            type: "string"
 15743      PhoneNumberResource:
 15744        type: "object"
 15745        properties:
 15746          id:
 15747            type: "string"
 15748            description: "Internal identifier of a phone number"
 15749          country:
 15750            description: "Brief information on a phone number country"
 15751            $ref: "#/definitions/CountryResource"
 15752          extension:
 15753            description: "Information on an extension to which the phone number is assigned"
 15754            $ref: "#/definitions/ExtensionResource"
 15755          label:
 15756            type: "string"
 15757            description: "Custom user name of a phone number, if any. Supported for numbers assigned to Auto-Receptionist, with usage type 'CompanyNumber'"
 15758          location:
 15759            type: "string"
 15760            description: "Location (City, State). Filled for local US numbers"
 15761          paymentType:
 15762            type: "string"
 15763            description: "Payment type. 'External' is returned for forwarded numbers which are not terminated in the RingCentral phone system = ['External', 'TollFree', 'Local'],"
 15764            enum:
 15765              - "External"
 15766              - "TollFree"
 15767              - "Local"
 15768          phoneNumber:
 15769            type: "string"
 15770            description: "Phone number"
 15771            minLength: 0
 15772            maxLength: 128
 15773          status:
 15774            type: "string"
 15775            description: "Status of a phone number. If the value is 'Normal', the phone number is ready to be used. Otherwise it is an external number not yet ported to RingCentral ,"
 15776          usageType:
 15777            type: "string"
 15778            enum:
 15779              - "CompanyNumber"
 15780              - "MainCompanyNumber"
 15781              - "AdditionalCompanyNumber"
 15782              - "DirectNumber"
 15783              - "CompanyFaxNumber"
 15784              - "ForwardedNumber"
 15785              - "ForwardedCompanyNumber"
 15786              - "ContactCenterNumber"
 15787          type:
 15788            type: "string"
 15789            description: "Type of a phone number"
 15790            enum:
 15791              - "VoiceFax"
 15792              - "FaxOnly"
 15793              - "VoiceOnly"
 15794      PhoneNumberResourceIntId:
 15795        type: "object"
 15796        properties:
 15797          id:
 15798            type: "integer"
 15799            format: "int64"
 15800            description: "Internal identifier of a phone number"
 15801          country:
 15802            description: "Brief information on a phone number country"
 15803            $ref: "#/definitions/CountryResource"
 15804          extension:
 15805            description: "Information on an extension to which the phone number is assigned"
 15806            $ref: "#/definitions/ExtensionResource"
 15807          label:
 15808            type: "string"
 15809            description: "Custom user name of a phone number, if any. Supported for numbers assigned to Auto-Receptionist, with usage type 'CompanyNumber'"
 15810          location:
 15811            type: "string"
 15812            description: "Location (City, State). Filled for local US numbers"
 15813          paymentType:
 15814            type: "string"
 15815            description: "Payment type. 'External' is returned for forwarded numbers which are not terminated in the RingCentral phone system = ['External', 'TollFree', 'Local'],"
 15816            enum:
 15817              - "External"
 15818              - "TollFree"
 15819              - "Local"
 15820          phoneNumber:
 15821            type: "string"
 15822            description: "Phone number"
 15823            minLength: 0
 15824            maxLength: 128
 15825          status:
 15826            type: "string"
 15827            description: "Status of a phone number. If the value is 'Normal', the phone number is ready to be used. Otherwise it is an external number not yet ported to RingCentral ,"
 15828          usageType:
 15829            type: "string"
 15830            enum:
 15831              - "CompanyNumber"
 15832              - "MainCompanyNumber"
 15833              - "AdditionalCompanyNumber"
 15834              - "DirectNumber"
 15835              - "CompanyFaxNumber"
 15836              - "ForwardedNumber"
 15837              - "ForwardedCompanyNumber"
 15838              - "ContactCenterNumber"
 15839          type:
 15840            type: "string"
 15841            description: "Type of a phone number"
 15842            enum:
 15843              - "VoiceFax"
 15844              - "FaxOnly"
 15845              - "VoiceOnly"
 15846      TesterFlagsResource:
 15847        type: "object"
 15848        properties:
 15849          tester:
 15850            type: "boolean"
 15851            default: false
 15852          autoDelete:
 15853            type: "boolean"
 15854            default: false
 15855          noBilling:
 15856            type: "boolean"
 15857            default: false
 15858          noBillingLimit:
 15859            type: "boolean"
 15860            default: false
 15861      AddressFormCountryResource:
 15862        type: "object"
 15863        properties:
 15864          uri:
 15865            type: "string"
 15866            format: "uri"
 15867          country:
 15868            $ref: "#/definitions/CountryResource"
 15869          attributes:
 15870            type: "array"
 15871            items:
 15872              $ref: "#/definitions/FormFieldResource"
 15873          emergencyNumber:
 15874            type: "string"
 15875          default:
 15876            type: "boolean"
 15877            default: false
 15878      AccessValidationResource:
 15879        type: "object"
 15880        properties:
 15881          uri:
 15882            type: "string"
 15883            format: "uri"
 15884          applicationId:
 15885            type: "string"
 15886          endpointId:
 15887            type: "string"
 15888          sessionId:
 15889            type: "string"
 15890          credentialType:
 15891            type: "string"
 15892            enum:
 15893              - "Password"
 15894              - "IvrPin"
 15895              - "ExternalSso"
 15896              - "NativeId"
 15897              - "ExternalId"
 15898              - "None"
 15899              - "AIToken"
 15900          scope:
 15901            type: "array"
 15902            items:
 15903              type: "string"
 15904              enum:
 15905                - "ReadMessages"
 15906                - "SMS"
 15907                - "InternalMessages"
 15908                - "Faxes"
 15909                - "ReadCallLog"
 15910                - "EditCallLog"
 15911                - "ReadContacts"
 15912                - "Contacts"
 15913                - "EditMessages"
 15914                - "EditExtensions"
 15915                - "ReadAccounts"
 15916                - "EditAccounts"
 15917                - "Accounts"
 15918                - "ReadPresence"
 15919                - "EditPresence"
 15920                - "RingOut"
 15921                - "DirectRingOut"
 15922                - "ReadClientInfo"
 15923                - "NumberLookup"
 15924                - "EditCustomData"
 15925                - "EditPaymentInfo"
 15926                - "Interoperability"
 15927                - "ReadCallRecording"
 15928                - "EditReportingSettings"
 15929                - "VoipCalling"
 15930                - "Meetings"
 15931                - "RoleManagement"
 15932          accountId:
 15933            type: "string"
 15934          extensionId:
 15935            type: "string"
 15936          brandId:
 15937            type: "string"
 15938          tierId:
 15939            type: "string"
 15940      PresenceInfoResource:
 15941        type: "object"
 15942        properties:
 15943          userStatus:
 15944            type: "string"
 15945            enum:
 15946              - "Offline"
 15947              - "Busy"
 15948              - "Available"
 15949          dndStatus:
 15950            type: "string"
 15951            enum:
 15952              - "TakeAllCalls"
 15953              - "DoNotAcceptDepartmentCalls"
 15954              - "TakeDepartmentCallsOnly"
 15955              - "DoNotAcceptAnyCalls"
 15956              - "Unknown"
 15957          message:
 15958            type: "string"
 15959            minLength: 0
 15960            maxLength: 75
 15961          allowSeeMyPresence:
 15962            type: "boolean"
 15963            default: false
 15964          ringOnMonitoredCall:
 15965            type: "boolean"
 15966            default: false
 15967          pickUpCallsOnHold:
 15968            type: "boolean"
 15969            default: false
 15970          activeCalls:
 15971            type: "array"
 15972            items:
 15973              $ref: "#/definitions/ActiveCallInfo"
 15974      AccountLimitsResource:
 15975        type: "object"
 15976        properties:
 15977          freeSoftPhoneLinesPerExtension:
 15978            type: "integer"
 15979            format: "int32"
 15980          meetingSize:
 15981            type: "integer"
 15982            format: "int32"
 15983          maxMonitoredExtensionsPerUser:
 15984            type: "integer"
 15985            format: "int32"
 15986          maxFreeDigitalLines:
 15987            type: "integer"
 15988            format: "int32"
 15989      CfaSettingsResource:
 15990        type: "object"
 15991        properties:
 15992          views:
 15993            type: "array"
 15994            items:
 15995              $ref: "#/definitions/CfaView"
 15996      UserGroupBulkAssignResource:
 15997        type: "object"
 15998        properties:
 15999          items:
 16000            type: "array"
 16001            items:
 16002              $ref: "#/definitions/BulkAssignItem"
 16003      PermissionCategoryCollectionResource:
 16004        type: "object"
 16005        properties:
 16006          uri:
 16007            type: "string"
 16008            format: "uri"
 16009          records:
 16010            type: "array"
 16011            items:
 16012              $ref: "#/definitions/PermissionCategoryResource"
 16013          paging:
 16014            $ref: "#/definitions/Paging"
 16015          navigation:
 16016            $ref: "#/definitions/Navigation"
 16017      StatusInfo:
 16018        type: "object"
 16019        properties:
 16020          reason:
 16021            type: "string"
 16022          till:
 16023            type: "string"
 16024            format: "date-time"
 16025          comment:
 16026            type: "string"
 16027      SipFlags:
 16028        type: "object"
 16029        properties:
 16030          voipFeatureEnabled:
 16031            type: "boolean"
 16032            default: false
 16033          voipCountryBlocked:
 16034            type: "boolean"
 16035            default: false
 16036          outboundCallsEnabled:
 16037            type: "boolean"
 16038            default: false
 16039      PaymentInfoCardResource:
 16040        type: "object"
 16041        properties:
 16042          cardType:
 16043            type: "string"
 16044          number:
 16045            type: "string"
 16046          securityCode:
 16047            type: "string"
 16048          expiry:
 16049            type: "string"
 16050          token:
 16051            type: "string"
 16052          holder:
 16053            $ref: "#/definitions/PaymentInfoCardHolderResource"
 16054      ExtensionPermissionsResource:
 16055        type: "object"
 16056        properties:
 16057          uri:
 16058            type: "string"
 16059            format: "uri"
 16060          admin:
 16061            $ref: "#/definitions/Permission"
 16062          internationalCalling:
 16063            $ref: "#/definitions/Permission"
 16064          freeSoftPhoneDigitalLine:
 16065            $ref: "#/definitions/Permission"
 16066      ClientInfoSpecialNumberResource:
 16067        type: "object"
 16068        properties:
 16069          uri:
 16070            type: "string"
 16071            format: "uri"
 16072          phoneNumber:
 16073            type: "string"
 16074          description:
 16075            type: "string"
 16076          features:
 16077            $ref: "#/definitions/Features"
 16078      CfaAttachments:
 16079        type: "object"
 16080        properties:
 16081          csv:
 16082            type: "boolean"
 16083            default: false
 16084          pdf:
 16085            type: "boolean"
 16086            default: false
 16087      AddressBookResource:
 16088        type: "object"
 16089        properties:
 16090          uri:
 16091            type: "string"
 16092            format: "uri"
 16093          contacts:
 16094            $ref: "#/definitions/ResourceLink"
 16095          groups:
 16096            $ref: "#/definitions/ResourceLink"
 16097      ShippingMethod:
 16098        type: "object"
 16099        properties:
 16100          id:
 16101            type: "string"
 16102            description: "Internal identifier of the shipping method"
 16103          name:
 16104            type: "string"
 16105            description: "Name/description of the shipping method"
 16106      DeviceOrderResource:
 16107        type: "object"
 16108        properties:
 16109          accountId:
 16110            type: "string"
 16111          requestNumber:
 16112            type: "string"
 16113          distributorName:
 16114            type: "string"
 16115          trackingNumber:
 16116            type: "string"
 16117          shippingCarrier:
 16118            type: "string"
 16119          devices:
 16120            type: "array"
 16121            items:
 16122              $ref: "#/definitions/DeviceInstance"
 16123      CfaRecurrence:
 16124        type: "object"
 16125        properties:
 16126          pattern:
 16127            type: "string"
 16128            enum:
 16129              - "Daily"
 16130              - "Weekly"
 16131              - "Monthly"
 16132          value:
 16133            type: "string"
 16134      InternalMessageResource:
 16135        type: "object"
 16136        properties:
 16137          to:
 16138            type: "array"
 16139            items:
 16140              $ref: "#/definitions/CallerInfo"
 16141          from:
 16142            $ref: "#/definitions/CallerInfo"
 16143          text:
 16144            type: "string"
 16145          replyOn:
 16146            type: "integer"
 16147            format: "int64"
 16148      OrderResource:
 16149        type: "object"
 16150        properties:
 16151          id:
 16152            type: "string"
 16153          uri:
 16154            type: "string"
 16155            format: "uri"
 16156          devices:
 16157            type: "array"
 16158            items:
 16159              $ref: "#/definitions/DeviceResource"
 16160      ParsedPhoneNumbersResource:
 16161        type: "object"
 16162        properties:
 16163          uri:
 16164            type: "string"
 16165            format: "uri"
 16166          homeCountry:
 16167            $ref: "#/definitions/HomeCountryResource"
 16168          phoneNumbers:
 16169            type: "array"
 16170            items:
 16171              $ref: "#/definitions/ParsedNumberResource"
 16172      PhoneLineResource:
 16173        type: "object"
 16174        properties:
 16175          lineType:
 16176            type: "string"
 16177            enum:
 16178              - "Unknown"
 16179              - "Standalone"
 16180              - "BlaPrimary"
 16181              - "BlaSecondary"
 16182              - "BLF"
 16183              - "StandaloneFree"
 16184          phoneInfo:
 16185            $ref: "#/definitions/PhoneNumberResourceIntId"
 16186          emergencyAddress:
 16187            $ref: "#/definitions/EmergencyAddress"
 16188      InlinedExtensionResource:
 16189        type: "object"
 16190        properties:
 16191          uri:
 16192            type: "string"
 16193            format: "uri"
 16194          extensionNumber:
 16195            type: "string"
 16196          id:
 16197            type: "string"
 16198          type:
 16199            type: "string"
 16200            enum:
 16201              - "Unknown"
 16202              - "User"
 16203              - "Department"
 16204              - "Announcement"
 16205              - "Voicemail"
 16206              - "DigitalUser"
 16207              - "VirtualUser"
 16208              - "FaxUser"
 16209              - "PagingOnly"
 16210              - "SharedLinesGroup"
 16211              - "IvrMenu"
 16212              - "ApplicationExtension"
 16213              - "ParkLocation"
 16214      EmailResource:
 16215        type: "object"
 16216        properties:
 16217          accountId:
 16218            type: "string"
 16219          extensionId:
 16220            type: "string"
 16221          templateId:
 16222            type: "string"
 16223          recipients:
 16224            type: "array"
 16225            items:
 16226              type: "string"
 16227          files:
 16228            type: "array"
 16229            items:
 16230              type: "string"
 16231      AttachmentInfo:
 16232        type: "object"
 16233        properties:
 16234          uri:
 16235            type: "string"
 16236            format: "uri"
 16237          contentType:
 16238            type: "string"
 16239      AuthProfileResource:
 16240        type: "object"
 16241        properties:
 16242          uri:
 16243            type: "string"
 16244            format: "uri"
 16245          permissions:
 16246            type: "array"
 16247            items:
 16248              $ref: "#/definitions/ActivePermissionResource"
 16249      SaveRequestResource:
 16250        type: "object"
 16251        properties:
 16252          rendererId:
 16253            type: "string"
 16254          messageId:
 16255            type: "string"
 16256          status:
 16257            type: "string"
 16258          resultFile:
 16259            type: "string"
 16260      ExtensionResource:
 16261        type: "object"
 16262        properties:
 16263          uri:
 16264            type: "string"
 16265            format: "uri"
 16266          id:
 16267            type: "string"
 16268          partnerId:
 16269            type: "string"
 16270            minLength: 0
 16271            maxLength: 128
 16272            pattern: "^[\\p{Alnum}\\.\\-_]*$"
 16273          extensionNumber:
 16274            type: "string"
 16275          loginName:
 16276            type: "string"
 16277          contact:
 16278            $ref: "#/definitions/ContactInfo"
 16279          references:
 16280            type: "array"
 16281            items:
 16282              $ref: "#/definitions/Reference"
 16283          name:
 16284            type: "string"
 16285          type:
 16286            type: "string"
 16287            enum:
 16288              - "Unknown"
 16289              - "User"
 16290              - "Department"
 16291              - "Announcement"
 16292              - "Voicemail"
 16293              - "DigitalUser"
 16294              - "VirtualUser"
 16295              - "FaxUser"
 16296              - "PagingOnly"
 16297              - "SharedLinesGroup"
 16298              - "IvrMenu"
 16299              - "ApplicationExtension"
 16300              - "ParkLocation"
 16301          status:
 16302            type: "string"
 16303            enum:
 16304              - "Enabled"
 16305              - "Disabled"
 16306              - "Frozen"
 16307              - "NotActivated"
 16308              - "Unassigned"
 16309          statusInfo:
 16310            $ref: "#/definitions/StatusInfo"
 16311          departments:
 16312            type: "array"
 16313            items:
 16314              $ref: "#/definitions/DepartmentResource"
 16315          serviceFeatures:
 16316            type: "array"
 16317            items:
 16318              $ref: "#/definitions/ServiceFeatureValue"
 16319          regionalSettings:
 16320            $ref: "#/definitions/RegionalSettingsResource"
 16321          setupWizardState:
 16322            type: "string"
 16323            enum:
 16324              - "NotStarted"
 16325              - "Incomplete"
 16326              - "Completed"
 16327              - "Unknown"
 16328          permissions:
 16329            $ref: "#/definitions/ExtensionPermissionsResource"
 16330          password:
 16331            type: "string"
 16332          ivrPin:
 16333            type: "string"
 16334          profileImage:
 16335            $ref: "#/definitions/ProfileImageResource"
 16336      ExtensionResourceIntId:
 16337        type: "object"
 16338        properties:
 16339          uri:
 16340            type: "string"
 16341            format: "uri"
 16342          id:
 16343            type: "integer"
 16344            format: "int64"
 16345          partnerId:
 16346            type: "string"
 16347            minLength: 0
 16348            maxLength: 128
 16349            pattern: "^[\\p{Alnum}\\.\\-_]*$"
 16350          extensionNumber:
 16351            type: "string"
 16352          loginName:
 16353            type: "string"
 16354          contact:
 16355            $ref: "#/definitions/ContactInfo"
 16356          references:
 16357            type: "array"
 16358            items:
 16359              $ref: "#/definitions/Reference"
 16360          name:
 16361            type: "string"
 16362          type:
 16363            type: "string"
 16364            enum:
 16365              - "Unknown"
 16366              - "User"
 16367              - "Department"
 16368              - "Announcement"
 16369              - "Voicemail"
 16370              - "DigitalUser"
 16371              - "VirtualUser"
 16372              - "FaxUser"
 16373              - "PagingOnly"
 16374              - "SharedLinesGroup"
 16375              - "IvrMenu"
 16376              - "ApplicationExtension"
 16377              - "ParkLocation"
 16378          status:
 16379            type: "string"
 16380            enum:
 16381              - "Enabled"
 16382              - "Disabled"
 16383              - "Frozen"
 16384              - "NotActivated"
 16385              - "Unassigned"
 16386          statusInfo:
 16387            $ref: "#/definitions/StatusInfo"
 16388          departments:
 16389            type: "array"
 16390            items:
 16391              $ref: "#/definitions/DepartmentResource"
 16392          serviceFeatures:
 16393            type: "array"
 16394            items:
 16395              $ref: "#/definitions/ServiceFeatureValue"
 16396          regionalSettings:
 16397            $ref: "#/definitions/RegionalSettingsResource"
 16398          setupWizardState:
 16399            type: "string"
 16400            enum:
 16401              - "NotStarted"
 16402              - "Incomplete"
 16403              - "Completed"
 16404              - "Unknown"
 16405          permissions:
 16406            $ref: "#/definitions/ExtensionPermissionsResource"
 16407          password:
 16408            type: "string"
 16409          ivrPin:
 16410            type: "string"
 16411          profileImage:
 16412            $ref: "#/definitions/ProfileImageResource"
 16413      ContactsCollection:
 16414        type: "object"
 16415        properties:
 16416          uri:
 16417            type: "string"
 16418            format: "uri"
 16419          records:
 16420            type: "array"
 16421            items:
 16422              $ref: "#/definitions/PersonalContactResource"
 16423          paging:
 16424            $ref: "#/definitions/Paging"
 16425          navigation:
 16426            $ref: "#/definitions/Navigation"
 16427          groups:
 16428            $ref: "#/definitions/ResourceLink"
 16429      SipInfo:
 16430        type: "object"
 16431        properties:
 16432          transport:
 16433            type: "string"
 16434            enum:
 16435              - "UDP"
 16436              - "TCP"
 16437              - "TLS"
 16438              - "WS"
 16439              - "WSS"
 16440          certificate:
 16441            type: "string"
 16442          username:
 16443            type: "string"
 16444          password:
 16445            type: "string"
 16446          authorizationId:
 16447            type: "string"
 16448          domain:
 16449            type: "string"
 16450          outboundProxy:
 16451            type: "string"
 16452          wsProxy:
 16453            type: "string"
 16454      FavoriteCollection:
 16455        type: "object"
 16456        properties:
 16457          uri:
 16458            type: "string"
 16459            format: "uri"
 16460          records:
 16461            type: "array"
 16462            items:
 16463              $ref: "#/definitions/FavoriteContactResource"
 16464      BulkRoleAssignResource:
 16465        type: "object"
 16466        properties:
 16467          uri:
 16468            type: "string"
 16469            format: "uri"
 16470          addedExtensionIds:
 16471            type: "array"
 16472            items:
 16473              type: "string"
 16474          removedExtensionIds:
 16475            type: "array"
 16476            items:
 16477              type: "string"
 16478      SubscriptionResponse:
 16479        type: "object"
 16480        properties:
 16481          uri:
 16482            type: "string"
 16483            format: "uri"
 16484          id:
 16485            type: "string"
 16486          creationTime:
 16487            type: "string"
 16488            format: "date-time"
 16489          status:
 16490            type: "string"
 16491          eventFilters:
 16492            type: "array"
 16493            items:
 16494              type: "string"
 16495          expirationTime:
 16496            type: "string"
 16497            format: "date-time"
 16498          expiresIn:
 16499            type: "integer"
 16500            format: "int64"
 16501          deliveryMode:
 16502            description: "Delivery mode data"
 16503            $ref: "#/definitions/DeliveryModeResource"
 16504          blacklistedData:
 16505            $ref: "#/definitions/NotificationBlacklistedData"
 16506      NotificationBlacklistedData:
 16507        description: "Returned if WebHook subscription is blacklisted"
 16508        type: "object"
 16509        properties:
 16510          blacklistedAt:
 16511            type: "string"
 16512            format: "date-time"
 16513            description: "Time of adding subscrition to a black list in (ISO 8601)[https://en.wikipedia.org/wiki/ISO_8601] format including timezone, for example *2016-03-10T18:07:52.534Z*"
 16514          reason:
 16515            type: "string"
 16516            description: "Reason of adding subscrition to a black list"
 16517      MeetingScheduleResource:
 16518        type: "object"
 16519        properties:
 16520          startTime:
 16521            type: "string"
 16522          durationInMinutes:
 16523            type: "integer"
 16524            format: "int32"
 16525          timeZone:
 16526            $ref: "#/definitions/TimezoneResource"
 16527      LocationsResource:
 16528        type: "object"
 16529        properties:
 16530          uri:
 16531            type: "string"
 16532            format: "uri"
 16533          records:
 16534            type: "array"
 16535            items:
 16536              $ref: "#/definitions/LocationResource"
 16537          paging:
 16538            $ref: "#/definitions/Paging"
 16539          navigation:
 16540            $ref: "#/definitions/Navigation"
 16541      TimezoneResource:
 16542        type: "object"
 16543        properties:
 16544          uri:
 16545            type: "string"
 16546            format: "uri"
 16547          id:
 16548            type: "string"
 16549          name:
 16550            type: "string"
 16551          description:
 16552            type: "string"
 16553      Brand:
 16554        type: "object"
 16555        properties:
 16556          id:
 16557            type: "string"
 16558          name:
 16559            type: "string"
 16560          homeCountry:
 16561            $ref: "#/definitions/HomeCountry"
 16562      SipDetailsToRegister:
 16563        type: "object"
 16564        properties:
 16565          transport:
 16566            type: "string"
 16567            enum:
 16568              - "UDP"
 16569              - "TCP"
 16570              - "TLS"
 16571              - "WS"
 16572              - "WSS"
 16573      RolesCollectionResource:
 16574        type: "object"
 16575        properties:
 16576          uri:
 16577            type: "string"
 16578            format: "uri"
 16579          records:
 16580            type: "array"
 16581            items:
 16582              $ref: "#/definitions/RoleResource"
 16583          paging:
 16584            $ref: "#/definitions/Paging"
 16585          navigation:
 16586            $ref: "#/definitions/Navigation"
 16587      TouchRequestResource:
 16588        type: "object"
 16589        properties:
 16590          rendererId:
 16591            type: "string"
 16592          messageId:
 16593            type: "string"
 16594      ScheduleResource:
 16595        type: "object"
 16596        properties:
 16597          ranges:
 16598            type: "array"
 16599            items:
 16600              $ref: "#/definitions/DateTimeIntervalResource"
 16601          ref:
 16602            type: "string"
 16603            enum:
 16604              - "BusinessHours"
 16605              - "AfterHours"
 16606      RingOutResource:
 16607        type: "object"
 16608        properties:
 16609          from:
 16610            $ref: "#/definitions/RingOutFromInfo"
 16611          to:
 16612            $ref: "#/definitions/RingOutPhoneNumberInfo"
 16613          callerId:
 16614            $ref: "#/definitions/RingOutPhoneNumberInfo"
 16615          playPrompt:
 16616            type: "boolean"
 16617            default: false
 16618          country:
 16619            $ref: "#/definitions/RingOutCountry"
 16620      PhoneNumberForProvisioningResource:
 16621        type: "object"
 16622        properties:
 16623          phoneNumber:
 16624            type: "string"
 16625          vanityPattern:
 16626            type: "string"
 16627          source:
 16628            type: "string"
 16629            enum:
 16630              - "Internal"
 16631              - "External"
 16632          type:
 16633            type: "string"
 16634            enum:
 16635              - "VoiceOnly"
 16636              - "FaxOnly"
 16637              - "VoiceFax"
 16638          usageType:
 16639            type: "string"
 16640            enum:
 16641              - "MainCompanyNumber"
 16642              - "AdditionalCompanyNumber"
 16643              - "CompanyFaxNumber"
 16644              - "CompanyNumber"
 16645              - "DirectNumber"
 16646          extension:
 16647            $ref: "#/definitions/ExtensionReferenceResource"
 16648          reservationId:
 16649            type: "string"
 16650      ExtensionAssignmentResult:
 16651        type: "object"
 16652        properties:
 16653          successful:
 16654            type: "boolean"
 16655            default: false
 16656          extension:
 16657            $ref: "#/definitions/ExtensionResource"
 16658          error:
 16659            $ref: "#/definitions/ErrorEntity"
 16660      MethodResource:
 16661        type: "object"
 16662        properties:
 16663          id:
 16664            type: "string"
 16665          name:
 16666            type: "string"
 16667      ApplicationInfoResource:
 16668        type: "object"
 16669        properties:
 16670          clientId:
 16671            type: "string"
 16672          application:
 16673            $ref: "#/definitions/ApplicationResource"
 16674      VoicemailSettingsResource:
 16675        type: "object"
 16676        properties:
 16677          enabled:
 16678            type: "boolean"
 16679            default: false
 16680          recipient:
 16681            $ref: "#/definitions/ExtensionResource"
 16682      HomeCountryResource:
 16683        type: "object"
 16684        properties:
 16685          uri:
 16686            type: "string"
 16687            format: "uri"
 16688          id:
 16689            type: "string"
 16690          name:
 16691            type: "string"
 16692          isoCode:
 16693            type: "string"
 16694          callingCode:
 16695            type: "string"
 16696      LanguageInfoResource:
 16697        type: "object"
 16698        properties:
 16699          uri:
 16700            type: "string"
 16701            format: "uri"
 16702          id:
 16703            type: "string"
 16704          name:
 16705            type: "string"
 16706          isoCode:
 16707            type: "string"
 16708          localeCode:
 16709            type: "string"
 16710          ui:
 16711            type: "boolean"
 16712            default: false
 16713          greeting:
 16714            type: "boolean"
 16715            default: false
 16716          formattingLocale:
 16717            type: "boolean"
 16718            default: false
 16719      Extensions:
 16720        type: "object"
 16721        properties:
 16722          uri:
 16723            type: "string"
 16724            format: "uri"
 16725          records:
 16726            type: "array"
 16727            items:
 16728              $ref: "#/definitions/ExtensionResource"
 16729          paging:
 16730            $ref: "#/definitions/Paging"
 16731          navigation:
 16732            $ref: "#/definitions/Navigation"
 16733      ScaledProfileImageResource:
 16734        type: "object"
 16735        properties:
 16736          uri:
 16737            type: "string"
 16738            format: "uri"
 16739      SimpleResource:
 16740        type: "object"
 16741        properties:
 16742          uri:
 16743            type: "string"
 16744            format: "uri"
 16745          resourceDescription:
 16746            type: "string"
 16747          id:
 16748            type: "string"
 16749          ver:
 16750            $ref: "#/definitions/ApiVersionResource"
 16751      Features:
 16752        type: "object"
 16753        properties:
 16754          voip:
 16755            $ref: "#/definitions/Feature"
 16756          ringOut:
 16757            $ref: "#/definitions/Feature"
 16758          sms:
 16759            $ref: "#/definitions/Feature"
 16760          faxOut:
 16761            $ref: "#/definitions/Feature"
 16762      DateTimeIntervalResource:
 16763        type: "object"
 16764        properties:
 16765          from:
 16766            type: "string"
 16767          to:
 16768            type: "string"
 16769      MatchingEntityTag:
 16770        type: "object"
 16771        properties:
 16772          value:
 16773            type: "string"
 16774          weak:
 16775            type: "boolean"
 16776            default: false
 16777      BlacklistEntriesResource:
 16778        type: "object"
 16779        properties:
 16780          uri:
 16781            type: "string"
 16782            format: "uri"
 16783          records:
 16784            type: "array"
 16785            items:
 16786              $ref: "#/definitions/BlacklistEntryResource"
 16787          paging:
 16788            $ref: "#/definitions/Paging"
 16789          navigation:
 16790            $ref: "#/definitions/Navigation"
 16791      TimezonesResource:
 16792        type: "object"
 16793        properties:
 16794          uri:
 16795            type: "string"
 16796            format: "uri"
 16797          records:
 16798            type: "array"
 16799            items:
 16800              $ref: "#/definitions/TimezoneResource"
 16801          paging:
 16802            $ref: "#/definitions/Paging"
 16803          navigation:
 16804            $ref: "#/definitions/Navigation"
 16805      DialInNumberResource:
 16806        type: "object"
 16807        properties:
 16808          phoneNumber:
 16809            type: "string"
 16810          formattedNumber:
 16811            type: "string"
 16812          location:
 16813            type: "string"
 16814          country:
 16815            $ref: "#/definitions/CountryResource"
 16816      HomeCountry:
 16817        type: "object"
 16818        properties:
 16819          id:
 16820            type: "string"
 16821          uri:
 16822            type: "string"
 16823            format: "uri"
 16824          name:
 16825            type: "string"
 16826          isoCode:
 16827            type: "string"
 16828          callingCode:
 16829            type: "string"
 16830      PresenceLineResource:
 16831        type: "object"
 16832        properties:
 16833          id:
 16834            type: "string"
 16835          extension:
 16836            $ref: "#/definitions/InlinedExtensionResource"
 16837      Request:
 16838        type: "object"
 16839        properties:
 16840          method:
 16841            type: "string"
 16842      PutPresenceResource:
 16843        type: "object"
 16844        properties:
 16845          userStatus:
 16846            type: "string"
 16847            enum:
 16848              - "Offline"
 16849              - "Busy"
 16850              - "Available"
 16851          message:
 16852            type: "string"
 16853            minLength: 0
 16854            maxLength: 75
 16855          dndStatus:
 16856            type: "string"
 16857            enum:
 16858              - "TakeAllCalls"
 16859              - "DoNotAcceptDepartmentCalls"
 16860              - "TakeDepartmentCallsOnly"
 16861              - "DoNotAcceptAnyCalls"
 16862              - "Unknown"
 16863          allowSeeMyPresence:
 16864            type: "boolean"
 16865            default: false
 16866          ringOnMonitoredCall:
 16867            type: "boolean"
 16868            default: false
 16869          pickUpCallsOnHold:
 16870            type: "boolean"
 16871            default: false
 16872      BillingPlanResource:
 16873        type: "object"
 16874        properties:
 16875          uri:
 16876            type: "string"
 16877            format: "uri"
 16878          id:
 16879            type: "string"
 16880          name:
 16881            type: "string"
 16882          durationUnit:
 16883            type: "string"
 16884          duration:
 16885            type: "integer"
 16886            format: "int32"
 16887          type:
 16888            type: "string"
 16889      PermissionCollectionResource:
 16890        type: "object"
 16891        properties:
 16892          uri:
 16893            type: "string"
 16894            format: "uri"
 16895          records:
 16896            type: "array"
 16897            items:
 16898              $ref: "#/definitions/PermissionResource"
 16899          paging:
 16900            $ref: "#/definitions/Paging"
 16901          navigation:
 16902            $ref: "#/definitions/Navigation"
 16903      BillingStatementResource:
 16904        type: "object"
 16905        properties:
 16906          fees:
 16907            type: "array"
 16908            items:
 16909              $ref: "#/definitions/FeeChargeResource"
 16910          charges:
 16911            type: "array"
 16912            items:
 16913              $ref: "#/definitions/FeeChargeResource"
 16914          totalCharges:
 16915            type: "number"
 16916          totalFees:
 16917            type: "number"
 16918          subtotal:
 16919            type: "number"
 16920          currency:
 16921            type: "string"
 16922      MeetingExternalUserInfoResource:
 16923        type: "object"
 16924        properties:
 16925          uri:
 16926            type: "string"
 16927            format: "uri"
 16928          userId:
 16929            type: "string"
 16930          accountId:
 16931            type: "string"
 16932          userType:
 16933            type: "integer"
 16934            format: "int64"
 16935          userToken:
 16936            type: "string"
 16937      FaxCallerInfo:
 16938        type: "object"
 16939        properties:
 16940          phoneNumber:
 16941            type: "string"
 16942            description: "Recipient information. Phone number property is mandatory. Optional for resend fax request"
 16943      CallerInfo:
 16944        type: "object"
 16945        properties:
 16946          phoneNumber:
 16947            type: "string"
 16948          extensionNumber:
 16949            type: "string"
 16950          name:
 16951            type: "string"
 16952          location:
 16953            type: "string"
 16954          contact:
 16955            $ref: "#/definitions/PersonalContactResource"
 16956          messageStatus:
 16957            type: "string"
 16958            enum:
 16959              - "Sent"
 16960              - "SendingFailed"
 16961              - "Queued"
 16962          faxErrorCode:
 16963            type: "string"
 16964            enum:
 16965              - "Undefined"
 16966              - "NoFaxSendPermission"
 16967              - "NoInternationalPermission"
 16968              - "NoFaxMachine"
 16969              - "OutgoingCallError"
 16970              - "RenderingFailed"
 16971              - "TooManyPages"
 16972              - "ReturnToDBQueue"
 16973              - "NoCallTime"
 16974              - "WrongNumber"
 16975              - "ProhibitedNumber"
 16976              - "InternalError"
 16977              - "FaxSendingProhibited"
 16978              - "ThePhoneIsBlacklisted"
 16979              - "UserNotFound"
 16980              - "ConvertError"
 16981              - "DBGeneralError"
 16982              - "SkypeBillingFailed"
 16983              - "AccountSuspended"
 16984              - "ProhibitedDestination"
 16985              - "InternationalDisabled"
 16986      CallerInfoFrom:
 16987        type: "object"
 16988        properties:
 16989          phoneNumber:
 16990            type: "string"
 16991          name:
 16992            type: "string"
 16993          location:
 16994            type: "string"
 16995      CallerInfoTo:
 16996        type: "object"
 16997        properties:
 16998          phoneNumber:
 16999            type: "string"
 17000          name:
 17001            type: "string"
 17002          location:
 17003            type: "string"
 17004          messageStatus:
 17005            type: "string"
 17006            enum:
 17007              - "Sent"
 17008              - "SendingFailed"
 17009              - "Queued"
 17010          faxErrorCode:
 17011            type: "string"
 17012            enum:
 17013              - "Undefined"
 17014              - "NoFaxSendPermission"
 17015              - "NoInternationalPermission"
 17016              - "NoFaxMachine"
 17017              - "OutgoingCallError"
 17018              - "RenderingFailed"
 17019              - "TooManyPages"
 17020              - "ReturnToDBQueue"
 17021              - "NoCallTime"
 17022              - "WrongNumber"
 17023              - "ProhibitedNumber"
 17024              - "InternalError"
 17025              - "FaxSendingProhibited"
 17026              - "ThePhoneIsBlacklisted"
 17027              - "UserNotFound"
 17028              - "ConvertError"
 17029              - "DBGeneralError"
 17030              - "SkypeBillingFailed"
 17031              - "AccountSuspended"
 17032              - "ProhibitedDestination"
 17033              - "InternationalDisabled"
 17034      BulkAssignItem:
 17035        type: "object"
 17036        properties:
 17037          departmentId:
 17038            type: "string"
 17039          addedExtensionIds:
 17040            type: "array"
 17041            items:
 17042              type: "string"
 17043          removedExtensionIds:
 17044            type: "array"
 17045            items:
 17046              type: "string"
 17047      StateResource:
 17048        type: "object"
 17049        properties:
 17050          uri:
 17051            type: "string"
 17052            format: "uri"
 17053          id:
 17054            type: "string"
 17055          name:
 17056            type: "string"
 17057          isoCode:
 17058            type: "string"
 17059          country:
 17060            $ref: "#/definitions/VersionedResource"
 17061      ContentDisposition:
 17062        type: "object"
 17063        properties:
 17064          type:
 17065            type: "string"
 17066          fileName:
 17067            type: "string"
 17068          creationDate:
 17069            type: "string"
 17070            format: "date-time"
 17071          modificationDate:
 17072            type: "string"
 17073            format: "date-time"
 17074          readDate:
 17075            type: "string"
 17076            format: "date-time"
 17077          size:
 17078            type: "integer"
 17079            format: "int64"
 17080      ForwardingNumbersResource:
 17081        type: "object"
 17082        properties:
 17083          uri:
 17084            type: "string"
 17085            format: "uri"
 17086          records:
 17087            type: "array"
 17088            items:
 17089              $ref: "#/definitions/ForwardingNumberResource"
 17090          paging:
 17091            $ref: "#/definitions/Paging"
 17092          navigation:
 17093            $ref: "#/definitions/Navigation"
 17094      ForwardingNumberResource:
 17095        type: "object"
 17096        properties:
 17097          uri:
 17098            type: "string"
 17099            format: "uri"
 17100          id:
 17101            type: "string"
 17102          phoneNumber:
 17103            type: "string"
 17104          label:
 17105            type: "string"
 17106          features:
 17107            type: "array"
 17108            items:
 17109              type: "string"
 17110              enum:
 17111                - "CallFlip"
 17112                - "CallForwarding"
 17113          flipNumber:
 17114            type: "string"
 17115            pattern: "[1-8]"
 17116      MeetingResponseResource:
 17117        type: "object"
 17118        properties:
 17119          uri:
 17120            type: "string"
 17121            format: "uri"
 17122          uuid:
 17123            type: "string"
 17124          id:
 17125            type: "string"
 17126          topic:
 17127            type: "string"
 17128          meetingType:
 17129            type: "string"
 17130          password:
 17131            type: "string"
 17132          status:
 17133            type: "string"
 17134          links:
 17135            $ref: "#/definitions/MeetingLinks"
 17136          schedule:
 17137            $ref: "#/definitions/MeetingScheduleResource"
 17138          allowJoinBeforeHost:
 17139            type: "boolean"
 17140            default: false
 17141          startHostVideo:
 17142            type: "boolean"
 17143            default: false
 17144          startParticipantsVideo:
 17145            type: "boolean"
 17146            default: false
 17147          audioOptions:
 17148            type: "array"
 17149            items:
 17150              type: "string"
 17151      FeeChargeResource:
 17152        type: "object"
 17153        properties:
 17154          description:
 17155            type: "string"
 17156          amount:
 17157            type: "number"
 17158          feature:
 17159            type: "string"
 17160      PaymentInfoAddressResource:
 17161        type: "object"
 17162        properties:
 17163          country:
 17164            type: "string"
 17165          state:
 17166            type: "string"
 17167          city:
 17168            type: "string"
 17169          street:
 17170            type: "string"
 17171          zip:
 17172            type: "string"
 17173      PropertiesDelegate:
 17174        type: "object"
 17175        properties:
 17176          propertyNames:
 17177            type: "array"
 17178            items:
 17179              type: "string"
 17180      SecretQuestionsInfoResource:
 17181        type: "object"
 17182        properties:
 17183          uri:
 17184            type: "string"
 17185            format: "uri"
 17186          records:
 17187            type: "array"
 17188            items:
 17189              $ref: "#/definitions/SecretQuestionInfoResource"
 17190          paging:
 17191            $ref: "#/definitions/Paging"
 17192          navigation:
 17193            $ref: "#/definitions/Navigation"
 17194      ExtensionWithRolesResource:
 17195        type: "object"
 17196        properties:
 17197          uri:
 17198            type: "string"
 17199            format: "uri"
 17200          extensionId:
 17201            type: "string"
 17202          roles:
 17203            type: "array"
 17204            items:
 17205              $ref: "#/definitions/AssignedRoleResource"
 17206      ConversationResource:
 17207        type: "object"
 17208        properties:
 17209          id:
 17210            type: "string"
 17211            readOnly: true
 17212          typingNotifications:
 17213            $ref: "#/definitions/DeliveryModeResource"
 17214          uri:
 17215            type: "string"
 17216            format: "uri"
 17217      Address:
 17218        type: "object"
 17219        properties:
 17220          country:
 17221            type: "string"
 17222          state:
 17223            type: "string"
 17224          city:
 17225            type: "string"
 17226          street:
 17227            type: "string"
 17228          zip:
 17229            type: "string"
 17230      ExtensionReferenceResource:
 17231        type: "object"
 17232        properties:
 17233          id:
 17234            type: "string"
 17235          partnerId:
 17236            type: "string"
 17237      ConferencingNumberResource:
 17238        type: "object"
 17239        properties:
 17240          uri:
 17241            type: "string"
 17242            format: "uri"
 17243          phoneNumber:
 17244            type: "string"
 17245          country:
 17246            $ref: "#/definitions/CountryResource"
 17247          location:
 17248            type: "string"
 17249          hasGreeting:
 17250            type: "boolean"
 17251            default: false
 17252          default:
 17253            type: "boolean"
 17254            default: false
 17255      ReservePhoneNumbersRecordsResource:
 17256        type: "object"
 17257        properties:
 17258          records:
 17259            type: "array"
 17260            items:
 17261              $ref: "#/definitions/ReservePhoneNumberResource"
 17262      DetailedCallInfo:
 17263        type: "object"
 17264        properties:
 17265          callId:
 17266            type: "string"
 17267          toTag:
 17268            type: "string"
 17269          fromTag:
 17270            type: "string"
 17271          remoteUri:
 17272            type: "string"
 17273          localUri:
 17274            type: "string"
 17275          rcSessionId:
 17276            type: "string"
 17277      ReservationDate:
 17278        type: "object"
 17279        properties:
 17280          date:
 17281            type: "string"
 17282            format: "date-time"
 17283          max:
 17284            type: "boolean"
 17285            default: false
 17286          min:
 17287            type: "boolean"
 17288            default: false
 17289      GroupContactsCollection:
 17290        type: "object"
 17291        properties:
 17292          uri:
 17293            type: "string"
 17294            format: "uri"
 17295          records:
 17296            type: "array"
 17297            items:
 17298              $ref: "#/definitions/PersonalContactResource"
 17299          paging:
 17300            $ref: "#/definitions/Paging"
 17301          navigation:
 17302            $ref: "#/definitions/Navigation"
 17303      SubResource:
 17304        type: "object"
 17305        properties:
 17306          uri:
 17307            type: "string"
 17308            format: "uri"
 17309          resourceDescription:
 17310            type: "string"
 17311          parentId:
 17312            type: "integer"
 17313            format: "int64"
 17314          subId:
 17315            type: "integer"
 17316            format: "int64"
 17317          subVer:
 17318            $ref: "#/definitions/ApiVersionResource"
 17319      PhoneNumbersRecordsResource:
 17320        type: "object"
 17321        properties:
 17322          uri:
 17323            type: "string"
 17324            format: "uri"
 17325          records:
 17326            type: "array"
 17327            items:
 17328              $ref: "#/definitions/PhoneNumberResource"
 17329      Messages:
 17330        type: "object"
 17331        properties:
 17332          uri:
 17333            type: "string"
 17334            format: "uri"
 17335          records:
 17336            type: "array"
 17337            items:
 17338              $ref: "#/definitions/MessageInfoResource"
 17339          paging:
 17340            $ref: "#/definitions/Paging"
 17341          navigation:
 17342            $ref: "#/definitions/Navigation"
 17343      UserGroupManagerResource:
 17344        type: "object"
 17345        properties:
 17346          uri:
 17347            type: "string"
 17348            format: "uri"
 17349          id:
 17350            type: "string"
 17351          extensionNumber:
 17352            type: "string"
 17353          firstName:
 17354            type: "string"
 17355          lastName:
 17356            type: "string"
 17357      StatesResource:
 17358        type: "object"
 17359        properties:
 17360          uri:
 17361            type: "string"
 17362            format: "uri"
 17363          records:
 17364            type: "array"
 17365            items:
 17366              $ref: "#/definitions/StateResource"
 17367          paging:
 17368            $ref: "#/definitions/Paging"
 17369          navigation:
 17370            $ref: "#/definitions/Navigation"
 17371      ShippingResource:
 17372        type: "object"
 17373        properties:
 17374          address:
 17375            $ref: "#/definitions/EmergencyServiceAddressResource"
 17376          method:
 17377            $ref: "#/definitions/MethodResource"
 17378          status:
 17379            type: "string"
 17380          carrier:
 17381            type: "string"
 17382          trackingNumber:
 17383            type: "string"
 17384      ServicePlan:
 17385        type: "object"
 17386        properties:
 17387          id:
 17388            type: "string"
 17389          name:
 17390            type: "string"
 17391          edition:
 17392            type: "string"
 17393            enum:
 17394              - "Unknown"
 17395              - "Standard"
 17396              - "Premium"
 17397              - "Enterprise"
 17398              - "Unlimited"
 17399              - "HighUsage"
 17400      ActivePermissionResource:
 17401        type: "object"
 17402        properties:
 17403          permission:
 17404            $ref: "#/definitions/PermissionIdResource"
 17405          effectiveRole:
 17406            $ref: "#/definitions/RoleIdResource"
 17407          scopes:
 17408            type: "array"
 17409            items:
 17410              type: "string"
 17411      AnsweringRuleResource:
 17412        type: "object"
 17413        properties:
 17414          uri:
 17415            type: "string"
 17416            format: "uri"
 17417          id:
 17418            type: "string"
 17419          type:
 17420            type: "string"
 17421            enum:
 17422              - "BusinessHours"
 17423              - "AfterHours"
 17424              - "Custom"
 17425          name:
 17426            type: "string"
 17427            minLength: 0
 17428            maxLength: 30
 17429          enabled:
 17430            type: "boolean"
 17431            default: false
 17432          schedule:
 17433            $ref: "#/definitions/ScheduleResource"
 17434          callers:
 17435            type: "array"
 17436            items:
 17437              $ref: "#/definitions/CallerResource"
 17438          calledNumbers:
 17439            type: "array"
 17440            items:
 17441              $ref: "#/definitions/PhoneNumberResource"
 17442          callHandlingAction:
 17443            type: "string"
 17444            enum:
 17445              - "ForwardCalls"
 17446              - "TakeMessagesOnly"
 17447              - "PlayAnnouncementOnly"
 17448              - "UnconditionalForwarding"
 17449              - "AgentQueue"
 17450              - "Unknown"
 17451          forwarding:
 17452            $ref: "#/definitions/AnsweringForwardingResource"
 17453          unconditionalForwarding:
 17454            $ref: "#/definitions/UnconditionalForwardingResource"
 17455          voicemail:
 17456            $ref: "#/definitions/VoicemailSettingsResource"
 17457      PermissionResource:
 17458        type: "object"
 17459        properties:
 17460          uri:
 17461            type: "string"
 17462            format: "uri"
 17463          id:
 17464            type: "string"
 17465          displayName:
 17466            type: "string"
 17467          description:
 17468            type: "string"
 17469          assignable:
 17470            type: "boolean"
 17471            default: false
 17472          readOnly:
 17473            type: "boolean"
 17474            default: false
 17475          category:
 17476            $ref: "#/definitions/PermissionCategoryIdResource"
 17477          includedPermissions:
 17478            type: "array"
 17479            items:
 17480              $ref: "#/definitions/PermissionIdResource"
 17481      ClientInfoResource:
 17482        type: "object"
 17483        properties:
 17484          uri:
 17485            type: "string"
 17486            format: "uri"
 17487          client:
 17488            $ref: "#/definitions/ClientResource"
 17489          provisioning:
 17490            $ref: "#/definitions/ProvisioningResource"
 17491      ExtensionIdResource:
 17492        type: "object"
 17493        properties:
 17494          uri:
 17495            type: "string"
 17496            format: "uri"
 17497          id:
 17498            type: "string"
 17499          extensionNumber:
 17500            type: "string"
 17501      ApplicationResource:
 17502        type: "object"
 17503        properties:
 17504          id:
 17505            type: "string"
 17506          name:
 17507            type: "string"
 17508          description:
 17509            type: "string"
 17510          organization:
 17511            $ref: "#/definitions/OrganizationResource"
 17512          scope:
 17513            type: "string"
 17514          platformType:
 17515            type: "string"
 17516          permissions:
 17517            type: "array"
 17518            items:
 17519              $ref: "#/definitions/PermissionResource"
 17520      PresencePermissions:
 17521        type: "object"
 17522        properties:
 17523          targetExtensionId:
 17524            type: "string"
 17525          subscriberExtensionId:
 17526            type: "string"
 17527          canReadPresenceStatus:
 17528            type: "boolean"
 17529            default: false
 17530          canReadPresenceSettings:
 17531            type: "boolean"
 17532            default: false
 17533          canPickup:
 17534            type: "boolean"
 17535            default: false
 17536      DepartmentBulkAssignResource:
 17537        type: "object"
 17538        properties:
 17539          items:
 17540            type: "array"
 17541            items:
 17542              $ref: "#/definitions/BulkAssignItem"
 17543      SignupInfoResource:
 17544        type: "object"
 17545        properties:
 17546          tosAccepted:
 17547            type: "boolean"
 17548            default: false
 17549          signupState:
 17550            type: "array"
 17551            items:
 17552              type: "string"
 17553              enum:
 17554                - "AccountCreated"
 17555                - "BillingEntered"
 17556                - "CreditCardApproved"
 17557                - "AccountConfirmed"
 17558                - "PhoneVerificationRequired"
 17559                - "PhoneVerificationPassed"
 17560          verificationReason:
 17561            type: "string"
 17562            enum:
 17563              - "CC_Failed"
 17564              - "Phone_Suspicious"
 17565              - "CC_Phone_Not_Match"
 17566              - "AVS_Not_Available"
 17567              - "MaxMind"
 17568              - "CC_Blacklisted"
 17569              - "Email_Blacklisted"
 17570              - "Phone_Blacklisted"
 17571              - "Cookie_Blacklisted"
 17572              - "Device_Blacklisted"
 17573              - "IP_Blacklisted"
 17574              - "Agent_Instance_Blacklisted"
 17575              - "Charge_Limit"
 17576              - "Other_Country"
 17577              - "Unknown"
 17578      FormDataContentDisposition:
 17579        type: "object"
 17580        properties:
 17581          type:
 17582            type: "string"
 17583          fileName:
 17584            type: "string"
 17585          creationDate:
 17586            type: "string"
 17587            format: "date-time"
 17588          modificationDate:
 17589            type: "string"
 17590            format: "date-time"
 17591          readDate:
 17592            type: "string"
 17593            format: "date-time"
 17594          size:
 17595            type: "integer"
 17596            format: "int64"
 17597          name:
 17598            type: "string"
 17599      BlacklistEntryResource:
 17600        type: "object"
 17601        properties:
 17602          uri:
 17603            type: "string"
 17604            format: "uri"
 17605          id:
 17606            type: "string"
 17607          phoneNumber:
 17608            type: "string"
 17609          name:
 17610            type: "string"
 17611      InvoiceSettingsResource:
 17612        type: "object"
 17613        properties:
 17614          maxAmountPerFirstMonth:
 17615            type: "integer"
 17616            format: "int64"
 17617          maxAmountPerMonth:
 17618            type: "integer"
 17619            format: "int64"
 17620          paymentTerm:
 17621            type: "integer"
 17622            format: "int64"
 17623          period:
 17624            type: "integer"
 17625            format: "int64"
 17626          address:
 17627            $ref: "#/definitions/Address"
 17628      NumberPortingRequest:
 17629        type: "object"
 17630        properties:
 17631          rcAccountId:
 17632            type: "integer"
 17633            format: "int64"
 17634          rcOrderId:
 17635            type: "integer"
 17636            format: "int64"
 17637          orderStatus:
 17638            type: "string"
 17639          timestamp:
 17640            type: "string"
 17641          jcode:
 17642            type: "string"
 17643          completionDate:
 17644            type: "string"
 17645          transferDate:
 17646            type: "string"
 17647      AnsweringRulesResource:
 17648        type: "object"
 17649        properties:
 17650          uri:
 17651            type: "string"
 17652            format: "uri"
 17653          records:
 17654            type: "array"
 17655            items:
 17656              $ref: "#/definitions/AnsweringRuleResource"
 17657          paging:
 17658            $ref: "#/definitions/Paging"
 17659          navigation:
 17660            $ref: "#/definitions/Navigation"
 17661      AcceptableLanguageTag:
 17662        type: "object"
 17663        properties:
 17664          tag:
 17665            type: "string"
 17666          primaryTag:
 17667            type: "string"
 17668          subTags:
 17669            type: "string"
 17670          quality:
 17671            type: "integer"
 17672            format: "int32"
 17673          asLocale:
 17674            $ref: "#/definitions/Locale"
 17675      CustomDataResource:
 17676        type: "object"
 17677        properties:
 17678          uri:
 17679            type: "string"
 17680            format: "uri"
 17681          id:
 17682            type: "string"
 17683          value:
 17684            type: "string"
 17685          lastModifiedTime:
 17686            type: "string"
 17687            format: "date-time"
 17688          attachment:
 17689            $ref: "#/definitions/AttachmentInfo"
 17690      ServiceParameterResource:
 17691        type: "object"
 17692        properties:
 17693          id:
 17694            type: "string"
 17695          value:
 17696            type: "string"
 17697          accountId:
 17698            type: "string"
 17699      LanguageInfoResources:
 17700        type: "object"
 17701        properties:
 17702          uri:
 17703            type: "string"
 17704            format: "uri"
 17705          records:
 17706            type: "array"
 17707            items:
 17708              $ref: "#/definitions/LanguageInfoResource"
 17709          paging:
 17710            $ref: "#/definitions/Paging"
 17711          navigation:
 17712            $ref: "#/definitions/Navigation"
 17713      AccountLimits:
 17714        type: "object"
 17715        properties:
 17716          freeSoftPhoneLinesPerExtension:
 17717            type: "integer"
 17718            description: "The maximum number of free softphone phone lines per user extension"
 17719          meetingSize:
 17720            type: "integer"
 17721            description: "The maximum number of participants in RingCentral Meeting hosted by this account's user"
 17722          maxMonitoredExtensionsPerUser:
 17723            type: "integer"
 17724            description: "The maximum number of extensions which can be included in the list of users monitored for Presence"
 17725          maxExtensionNumberLength:
 17726            type: "integer"
 17727            description: "Maximum length for extension numbers of an account; depends on account type. The default value is 5"
 17728            default: 5
 17729      ResourceLink:
 17730        type: "object"
 17731        properties:
 17732          uri:
 17733            type: "string"
 17734            format: "uri"
 17735      Paging:
 17736        type: "object"
 17737        properties:
 17738          page:
 17739            type: "integer"
 17740            format: "int32"
 17741          totalPages:
 17742            type: "integer"
 17743            format: "int32"
 17744          perPage:
 17745            type: "integer"
 17746            format: "int32"
 17747          totalElements:
 17748            type: "integer"
 17749            format: "int32"
 17750          pageStart:
 17751            type: "integer"
 17752            format: "int32"
 17753          pageEnd:
 17754            type: "integer"
 17755            format: "int32"
 17756      Addon:
 17757        type: "object"
 17758        properties:
 17759          id:
 17760            type: "string"
 17761          name:
 17762            type: "string"
 17763          count:
 17764            type: "integer"
 17765            format: "int32"
 17766      Navigation:
 17767        type: "object"
 17768        properties:
 17769          nextPage:
 17770            $ref: "#/definitions/ResourceLink"
 17771          previousPage:
 17772            $ref: "#/definitions/ResourceLink"
 17773          firstPage:
 17774            $ref: "#/definitions/ResourceLink"
 17775          lastPage:
 17776            $ref: "#/definitions/ResourceLink"
 17777      ShippingOptionResource:
 17778        type: "object"
 17779        properties:
 17780          uri:
 17781            type: "string"
 17782            format: "uri"
 17783          method:
 17784            $ref: "#/definitions/ShippingMethod"
 17785          quantity:
 17786            type: "integer"
 17787            format: "int32"
 17788          price:
 17789            type: "number"
 17790            format: "double"
 17791      CountryResource:
 17792        type: "object"
 17793        properties:
 17794          uri:
 17795            type: "string"
 17796            format: "uri"
 17797          id:
 17798            type: "string"
 17799          name:
 17800            type: "string"
 17801          isoCode:
 17802            type: "string"
 17803          callingCode:
 17804            type: "string"
 17805          emergencyCalling:
 17806            type: "boolean"
 17807            default: false
 17808          numberSelling:
 17809            type: "boolean"
 17810            default: false
 17811          loginAllowed:
 17812            type: "boolean"
 17813            default: false
 17814      RegistrationRequest:
 17815        type: "object"
 17816        properties:
 17817          device:
 17818            $ref: "#/definitions/DeviceToRegister"
 17819          sipInfo:
 17820            type: "array"
 17821            items:
 17822              $ref: "#/definitions/SipDetailsToRegister"
 17823      Reason:
 17824        type: "object"
 17825        properties:
 17826          id:
 17827            type: "string"
 17828          message:
 17829            type: "string"
 17830      CallerResource:
 17831        type: "object"
 17832        properties:
 17833          callerId:
 17834            type: "string"
 17835            minLength: 0
 17836            maxLength: 127
 17837          name:
 17838            type: "string"
 17839      BrandResource:
 17840        type: "object"
 17841        properties:
 17842          uri:
 17843            type: "string"
 17844            format: "uri"
 17845          id:
 17846            type: "string"
 17847          name:
 17848            type: "string"
 17849          homeCountry:
 17850            $ref: "#/definitions/CountryResource"
 17851          currency:
 17852            $ref: "#/definitions/Currency"
 17853      Type:
 17854        type: "object"
 17855        properties:
 17856          typeName:
 17857            type: "string"
 17858      MessageInfoResource:
 17859        type: "object"
 17860        properties:
 17861          uri:
 17862            type: "string"
 17863            format: "uri"
 17864          id:
 17865            type: "string"
 17866          to:
 17867            type: "array"
 17868            items:
 17869              $ref: "#/definitions/CallerInfo"
 17870          from:
 17871            $ref: "#/definitions/CallerInfo"
 17872          type:
 17873            type: "string"
 17874            enum:
 17875              - "EMail"
 17876              - "VoiceMail"
 17877              - "Fax"
 17878              - "Text"
 17879              - "SMS"
 17880              - "Pager"
 17881              - "Unknown"
 17882          creationTime:
 17883            type: "string"
 17884            format: "date-time"
 17885          readStatus:
 17886            type: "string"
 17887            enum:
 17888              - "Read"
 17889              - "Unread"
 17890          priority:
 17891            type: "string"
 17892            enum:
 17893              - "Normal"
 17894              - "High"
 17895          attachments:
 17896            type: "array"
 17897            items:
 17898              $ref: "#/definitions/MessageAttachmentInfo"
 17899          direction:
 17900            type: "string"
 17901            enum:
 17902              - "Inbound"
 17903              - "Outbound"
 17904          availability:
 17905            type: "string"
 17906            enum:
 17907              - "Alive"
 17908              - "Deleted"
 17909              - "Purged"
 17910          subject:
 17911            type: "string"
 17912          messageStatus:
 17913            type: "string"
 17914            enum:
 17915              - "Queued"
 17916              - "Sent"
 17917              - "Delivered"
 17918              - "DeliveryFailed"
 17919              - "SendingFailed"
 17920              - "Received"
 17921          faxResolution:
 17922            type: "string"
 17923            enum:
 17924              - "Undefined"
 17925              - "High"
 17926              - "Low"
 17927          faxPageCount:
 17928            type: "integer"
 17929            format: "int32"
 17930          deliveryErrorCode:
 17931            type: "string"
 17932          smsDeliveryTime:
 17933            type: "string"
 17934            format: "date-time"
 17935          smsSendingAttemptsCount:
 17936            type: "integer"
 17937            format: "int64"
 17938          conversationId:
 17939            type: "integer"
 17940            format: "int64"
 17941          conversation:
 17942            $ref: "#/definitions/ConversationResource"
 17943          lastModifiedTime:
 17944            type: "string"
 17945            format: "date-time"
 17946          pgToDepartment:
 17947            type: "boolean"
 17948            default: false
 17949          vmTranscriptionStatus:
 17950            type: "string"
 17951            enum:
 17952              - "InProgress"
 17953              - "CompletedPartially"
 17954              - "Completed"
 17955              - "TimedOut"
 17956              - "Failed"
 17957              - "NotAvailable"
 17958              - "Unknown"
 17959          sourceFilePath:
 17960            type: "string"
 17961          coverIndex:
 17962            type: "integer"
 17963            format: "int32"
 17964          coverPageText:
 17965            type: "string"
 17966      DeliveryModeResource:
 17967        type: "object"
 17968        properties:
 17969          transportType:
 17970            type: "string"
 17971            enum:
 17972              - "PUBNUB"
 17973              - "APNS"
 17974              - "PUBNUB_TO_APNS"
 17975              - "PUBNUB_TO_APNS_VOIP"
 17976              - "PUBNUB_TO_GCM"
 17977              - "PUBNUB_TO_GCM_VOIP"
 17978              - "WEB_HOOK"
 17979          encryption:
 17980            type: "boolean"
 17981            default: false
 17982          address:
 17983            type: "string"
 17984          subscriberKey:
 17985            type: "string"
 17986          publisherKey:
 17987            type: "string"
 17988          encryptionAlgorithm:
 17989            type: "string"
 17990          encryptionKey:
 17991            type: "string"
 17992          authKey:
 17993            type: "string"
 17994          cipherKey:
 17995            type: "string"
 17996          registrationId:
 17997            type: "string"
 17998          certificateName:
 17999            type: "string"
 18000      ContactsInput:
 18001        type: "object"
 18002        properties:
 18003          records:
 18004            type: "array"
 18005            items:
 18006              $ref: "#/definitions/PersonalContactResource"
 18007      PermissionIdResource:
 18008        type: "object"
 18009        properties:
 18010          uri:
 18011            type: "string"
 18012            format: "uri"
 18013          id:
 18014            type: "string"
 18015      LanguageResource:
 18016        type: "object"
 18017        properties:
 18018          id:
 18019            type: "string"
 18020          name:
 18021            type: "string"
 18022          localeCode:
 18023            type: "string"
 18024      DeviceModelExtResource:
 18025        type: "object"
 18026        properties:
 18027          sku:
 18028            type: "string"
 18029            description: "Device identification number (stock keeping unit) in the format TP-ID [-AT-AC], where TP is device type (HP for RC HardPhone, DV for all other devices including softphone); ID - device model ID; AT -addon type ID; AC - addon count (if any). For example 'HP-56-2-2'"
 18030          type:
 18031            type: "string"
 18032            description: "Device type. The default value is 'HardPhone'"
 18033            enum:
 18034              - "SoftPhone"
 18035              - "HardPhone"
 18036              - "OtherPhone"
 18037          model:
 18038            description: "HardPhone model information"
 18039            $ref: "#/definitions/DeviceModelResource"
 18040      DeviceModelResource:
 18041        type: "object"
 18042        properties:
 18043          id:
 18044            type: "string"
 18045          name:
 18046            type: "string"
 18047          addons:
 18048            type: "array"
 18049            items:
 18050              $ref: "#/definitions/Addon"
 18051      ExtensionGrantResource:
 18052        type: "object"
 18053        properties:
 18054          uri:
 18055            type: "string"
 18056            format: "uri"
 18057          extension:
 18058            $ref: "#/definitions/InlinedExtensionResource"
 18059          callPickup:
 18060            type: "boolean"
 18061            default: false
 18062          callMonitoring:
 18063            type: "boolean"
 18064            default: false
 18065      PermissionCategoryResource:
 18066        type: "object"
 18067        properties:
 18068          uri:
 18069            type: "string"
 18070            format: "uri"
 18071          id:
 18072            type: "string"
 18073          displayName:
 18074            type: "string"
 18075          description:
 18076            type: "string"
 18077      SessionsResource:
 18078        type: "object"
 18079        properties:
 18080          uri:
 18081            type: "string"
 18082            format: "uri"
 18083          records:
 18084            type: "array"
 18085            items:
 18086              $ref: "#/definitions/VersionedResource"
 18087      EntityTag:
 18088        type: "object"
 18089        properties:
 18090          value:
 18091            type: "string"
 18092          weak:
 18093            type: "boolean"
 18094            default: false
 18095      RecordsCollectionResourceSubscriptionResponse:
 18096        type: "object"
 18097        properties:
 18098          uri:
 18099            type: "string"
 18100            format: "uri"
 18101          records:
 18102            type: "array"
 18103            items:
 18104              $ref: "#/definitions/SubscriptionResponse"
 18105      ShippingOptionsResource:
 18106        type: "object"
 18107        properties:
 18108          uri:
 18109            type: "string"
 18110            format: "uri"
 18111          records:
 18112            type: "array"
 18113            items:
 18114              $ref: "#/definitions/ShippingOptionResource"
 18115          paging:
 18116            $ref: "#/definitions/Paging"
 18117          navigation:
 18118            $ref: "#/definitions/Navigation"
 18119      RoleIdResource:
 18120        type: "object"
 18121        properties:
 18122          uri:
 18123            type: "string"
 18124            format: "uri"
 18125          id:
 18126            type: "string"
 18127      BulkProvisionUnassignedExtensionsRequestResource:
 18128        type: "object"
 18129        properties:
 18130          items:
 18131            type: "array"
 18132            items:
 18133              $ref: "#/definitions/BulkProvisionExtensionResource"
 18134      StackTraceElement:
 18135        type: "object"
 18136        properties:
 18137          methodName:
 18138            type: "string"
 18139          fileName:
 18140            type: "string"
 18141          lineNumber:
 18142            type: "integer"
 18143            format: "int32"
 18144          className:
 18145            type: "string"
 18146          nativeMethod:
 18147            type: "boolean"
 18148            default: false
 18149      UserGroupIdResource:
 18150        type: "object"
 18151        properties:
 18152          uri:
 18153            type: "string"
 18154            format: "uri"
 18155          id:
 18156            type: "string"
 18157      AccountServiceInfoResource:
 18158        type: "object"
 18159        properties:
 18160          uri:
 18161            type: "string"
 18162            format: "uri"
 18163          servicePlanName:
 18164            type: "string"
 18165          brand:
 18166            $ref: "#/definitions/Brand"
 18167          servicePlan:
 18168            $ref: "#/definitions/ServicePlan"
 18169          targetServicePlan:
 18170            $ref: "#/definitions/ServicePlan"
 18171          billingPlan:
 18172            $ref: "#/definitions/BillingPlanResource"
 18173          serviceFeatures:
 18174            type: "array"
 18175            items:
 18176              $ref: "#/definitions/ServiceFeatureValue"
 18177          limits:
 18178            $ref: "#/definitions/AccountLimitsResource"
 18179      CallLogRecordResource:
 18180        type: "object"
 18181        properties:
 18182          uri:
 18183            type: "string"
 18184            format: "uri"
 18185          id:
 18186            type: "string"
 18187          sessionId:
 18188            type: "string"
 18189          startTime:
 18190            type: "string"
 18191            format: "date-time"
 18192          duration:
 18193            type: "integer"
 18194            format: "int64"
 18195          type:
 18196            type: "string"
 18197            enum:
 18198              - "Voice"
 18199              - "Fax"
 18200          direction:
 18201            type: "string"
 18202            enum:
 18203              - "Inbound"
 18204              - "Outbound"
 18205          action:
 18206            type: "string"
 18207          result:
 18208            type: "string"
 18209          to:
 18210            $ref: "#/definitions/CallerInfo"
 18211          from:
 18212            $ref: "#/definitions/CallerInfo"
 18213          recording:
 18214            $ref: "#/definitions/CallLogRecordingResource"
 18215      PatternWithGroups:
 18216        type: "object"
 18217        properties:
 18218          regex:
 18219            type: "string"
 18220          groupIndexes:
 18221            type: "array"
 18222            items:
 18223              type: "integer"
 18224              format: "int32"
 18225      SubscriptionRequest:
 18226        type: "object"
 18227        properties:
 18228          eventFilters:
 18229            type: "array"
 18230            items:
 18231              type: "string"
 18232          deliveryMode:
 18233            $ref: "#/definitions/DeliveryModeResource"
 18234          expiresIn:
 18235            type: "integer"
 18236            format: "int64"
 18237      MeetingLinks:
 18238        type: "object"
 18239        properties:
 18240          startUri:
 18241            type: "string"
 18242          joinUri:
 18243            type: "string"
 18244      ParsedNumberResource:
 18245        type: "object"
 18246        properties:
 18247          uri:
 18248            type: "string"
 18249            format: "uri"
 18250          originalString:
 18251            type: "string"
 18252          country:
 18253            $ref: "#/definitions/CountryResource"
 18254          areaCode:
 18255            type: "string"
 18256          subscriberNumber:
 18257            type: "string"
 18258          formattedNational:
 18259            type: "string"
 18260          formattedInternational:
 18261            type: "string"
 18262          dialable:
 18263            type: "string"
 18264          e164:
 18265            type: "string"
 18266          special:
 18267            type: "boolean"
 18268            default: false
 18269          normalized:
 18270            type: "string"
 18271          tollFree:
 18272            type: "boolean"
 18273            default: false
 18274          subAddress:
 18275            type: "string"
 18276          dtmfPostfix:
 18277            type: "string"
 18278      DevicesResource:
 18279        type: "object"
 18280        properties:
 18281          uri:
 18282            type: "string"
 18283            format: "uri"
 18284          records:
 18285            type: "array"
 18286            items:
 18287              $ref: "#/definitions/DeviceResource"
 18288          paging:
 18289            $ref: "#/definitions/Paging"
 18290          navigation:
 18291            $ref: "#/definitions/Navigation"
 18292      RoleResource:
 18293        type: "object"
 18294        properties:
 18295          uri:
 18296            type: "string"
 18297            format: "uri"
 18298          id:
 18299            type: "string"
 18300          displayName:
 18301            type: "string"
 18302            minLength: 0
 18303            maxLength: 128
 18304            pattern: "^((?!(<|>|\\/|\\\")).)*$"
 18305          description:
 18306            type: "string"
 18307            minLength: 0
 18308            maxLength: 2000
 18309            pattern: "^((?!(<|>|\\/|\\\")).)*$"
 18310          custom:
 18311            type: "boolean"
 18312            default: false
 18313          scope:
 18314            type: "string"
 18315          hidden:
 18316            type: "boolean"
 18317            default: false
 18318          lastUpdated:
 18319            type: "string"
 18320            format: "date-time"
 18321          permissions:
 18322            type: "array"
 18323            items:
 18324              $ref: "#/definitions/PermissionIdResource"
 18325      AcceptableMediaType:
 18326        type: "object"
 18327        properties:
 18328          type:
 18329            type: "string"
 18330          subtype:
 18331            type: "string"
 18332          quality:
 18333            type: "integer"
 18334            format: "int32"
 18335          wildcardType:
 18336            type: "boolean"
 18337            default: false
 18338          wildcardSubtype:
 18339            type: "boolean"
 18340            default: false
 18341      PhoneNumberStringsResource:
 18342        type: "object"
 18343        properties:
 18344          uri:
 18345            type: "string"
 18346            format: "uri"
 18347          originalStrings:
 18348            type: "array"
 18349            items:
 18350              type: "string"
 18351      PermissionCategoryIdResource:
 18352        type: "object"
 18353        properties:
 18354          uri:
 18355            type: "string"
 18356            format: "uri"
 18357          id:
 18358            type: "string"
 18359      UpdatePresenceLinesResponse:
 18360        type: "object"
 18361        properties:
 18362          uri:
 18363            type: "string"
 18364            description: "Canonical URI of the monitored lines (extensions) resource"
 18365          records:
 18366            type: "array"
 18367            description: "List of lines (extensions) the presence of which is monitored by the user. The first two lines always indicate the user's extension presence, they cannot be changed"
 18368            items:
 18369              $ref: "#/definitions/LineInfo"
 18370          navigation:
 18371            description: "Information on navigation"
 18372            $ref: "#/definitions/NavigationInfo"
 18373          paging:
 18374            description: "Information on paging"
 18375            $ref: "#/definitions/PagingInfo"
 18376      UpdatePresenceLinesRequest:
 18377        type: "object"
 18378        properties:
 18379          records:
 18380            type: "array"
 18381            items:
 18382              $ref: "#/definitions/PresenceLineInfo"
 18383      PresenceLineInfo:
 18384        type: "object"
 18385        properties:
 18386          id:
 18387            type: "string"
 18388          extension:
 18389            $ref: "#/definitions/PresenceExtensionInfo"
 18390      PresenceExtensionInfo:
 18391        type: "object"
 18392        properties:
 18393          id:
 18394            type: "string"
 18395      PresenceLinesNavigationResource:
 18396        type: "object"
 18397        properties:
 18398          uri:
 18399            type: "string"
 18400            format: "uri"
 18401          records:
 18402            type: "array"
 18403            items:
 18404              $ref: "#/definitions/PresenceLineResource"
 18405          paging:
 18406            $ref: "#/definitions/Paging"
 18407          navigation:
 18408            $ref: "#/definitions/Navigation"
 18409      CallLogRecordingInfoResource:
 18410        type: "object"
 18411        properties:
 18412          uri:
 18413            type: "string"
 18414            format: "uri"
 18415          id:
 18416            type: "string"
 18417          contentUri:
 18418            type: "string"
 18419            format: "uri"
 18420          contentType:
 18421            type: "string"
 18422          duration:
 18423            type: "integer"
 18424            format: "int64"
 18425      Reference:
 18426        type: "object"
 18427        properties:
 18428          type:
 18429            type: "string"
 18430            enum:
 18431              - "PartnerId"
 18432              - "CustomerDirectoryId"
 18433          ref:
 18434            type: "string"
 18435      SipInfoResource:
 18436        type: "object"
 18437        properties:
 18438          uri:
 18439            type: "string"
 18440            format: "uri"
 18441          domain:
 18442            type: "string"
 18443          outboundProxy:
 18444            type: "string"
 18445          userName:
 18446            type: "string"
 18447          password:
 18448            type: "string"
 18449          authorizationId:
 18450            type: "string"
 18451      UserGroupResource:
 18452        type: "object"
 18453        properties:
 18454          uri:
 18455            type: "string"
 18456            format: "uri"
 18457          id:
 18458            type: "string"
 18459            pattern: "^\\d+$"
 18460          displayName:
 18461            type: "string"
 18462            minLength: 0
 18463            maxLength: 128
 18464            pattern: "^((?!(<|>|\\/|\\\")).)*$"
 18465          description:
 18466            type: "string"
 18467            minLength: 0
 18468            maxLength: 2000
 18469            pattern: "^((?!(<|>|\\/|\\\")).)*$"
 18470          managers:
 18471            type: "array"
 18472            items:
 18473              $ref: "#/definitions/UserGroupManagerResource"
 18474          members:
 18475            type: "array"
 18476            items:
 18477              $ref: "#/definitions/ExtensionIdResource"
 18478      NavigableCollectionResourceUserGroupResource:
 18479        type: "object"
 18480        properties:
 18481          uri:
 18482            type: "string"
 18483            format: "uri"
 18484          records:
 18485            type: "array"
 18486            items:
 18487              $ref: "#/definitions/UserGroupResource"
 18488          paging:
 18489            $ref: "#/definitions/Paging"
 18490          navigation:
 18491            $ref: "#/definitions/Navigation"
 18492      PaymentInfoResource:
 18493        type: "object"
 18494        properties:
 18495          uri:
 18496            type: "string"
 18497            format: "uri"
 18498          paymentType:
 18499            type: "string"
 18500            enum:
 18501              - "Card"
 18502              - "Invoice"
 18503          card:
 18504            $ref: "#/definitions/PaymentInfoCardResource"
 18505          invoiceSettings:
 18506            $ref: "#/definitions/InvoiceSettingsResource"
 18507      ServicePlanResource:
 18508        type: "object"
 18509        properties:
 18510          uri:
 18511            type: "string"
 18512            format: "uri"
 18513          id:
 18514            type: "string"
 18515          name:
 18516            type: "string"
 18517          edition:
 18518            type: "string"
 18519            enum:
 18520              - "Unknown"
 18521              - "Standard"
 18522              - "Premium"
 18523              - "Enterprise"
 18524              - "Unlimited"
 18525              - "HighUsage"
 18526          brand:
 18527            $ref: "#/definitions/BrandResource"
 18528          type:
 18529            type: "string"
 18530            enum:
 18531              - "Regular"
 18532              - "UserBased"
 18533              - "Unknown"
 18534          serviceFeatures:
 18535            type: "array"
 18536            items:
 18537              $ref: "#/definitions/ServiceFeatureValue"
 18538          limits:
 18539            $ref: "#/definitions/AccountLimitsResource"
 18540      DepartmentResource:
 18541        type: "object"
 18542        properties:
 18543          uri:
 18544            type: "string"
 18545            format: "uri"
 18546          id:
 18547            type: "string"
 18548          extensionNumber:
 18549            type: "string"
 18550      OrganizationResource:
 18551        type: "object"
 18552        properties:
 18553          id:
 18554            type: "string"
 18555          name:
 18556            type: "string"
 18557      BulkProvisionUnassignedExtensionsResponseResource:
 18558        type: "object"
 18559        properties:
 18560          items:
 18561            type: "array"
 18562            items:
 18563              $ref: "#/definitions/ExtensionAssignmentResult"
 18564      WebUrisResource:
 18565        type: "object"
 18566        properties:
 18567          expressSetupMobile:
 18568            type: "string"
 18569          signUp:
 18570            type: "string"
 18571          support:
 18572            type: "string"
 18573          meetingsAppDownload:
 18574            type: "string"
 18575          mobileWebUsers:
 18576            type: "string"
 18577          mobileWebBilling:
 18578            type: "string"
 18579          mobileWebPhoneSystem:
 18580            type: "string"
 18581          mobileWebUserSettings:
 18582            type: "string"
 18583          mobileWebTellAFriend:
 18584            type: "string"
 18585          mobileWebChangePassword:
 18586            type: "string"
 18587          mobileWebInternationalCalling:
 18588            type: "string"
 18589          mobileWebCallHandling:
 18590            type: "string"
 18591          mobileWebNotifications:
 18592            type: "string"
 18593          mobileWebReporting:
 18594            type: "string"
 18595          mobileWebResetPassword:
 18596            type: "string"
 18597          mobileWebTrialUpgrade:
 18598            type: "string"
 18599          serviceWebHome:
 18600            type: "string"
 18601          serviceWebPhoneSystem:
 18602            type: "string"
 18603          serviceWebUserSettings:
 18604            type: "string"
 18605          serviceWebBilling:
 18606            type: "string"
 18607          serviceWebTellAFriend:
 18608            type: "string"
 18609          serviceWebChangePassword:
 18610            type: "string"
 18611          serviceWebResetPassword:
 18612            type: "string"
 18613          appDownload:
 18614            type: "string"
 18615          appDownloadFile:
 18616            type: "string"
 18617          expiresIn:
 18618            type: "integer"
 18619            format: "int64"
 18620          eula:
 18621            type: "string"
 18622          emergencyDisclaimer:
 18623            type: "string"
 18624      Principal:
 18625        type: "object"
 18626        properties:
 18627          name:
 18628            type: "string"
 18629      Locale:
 18630        type: "object"
 18631        properties:
 18632          language:
 18633            type: "string"
 18634          country:
 18635            type: "string"
 18636          displayCountry:
 18637            type: "string"
 18638          displayLanguage:
 18639            type: "string"
 18640          displayName:
 18641            type: "string"
 18642          displayScript:
 18643            type: "string"
 18644          displayVariant:
 18645            type: "string"
 18646          extensionKeys:
 18647            type: "array"
 18648            items:
 18649              type: "string"
 18650          iso3Country:
 18651            type: "string"
 18652          iso3Language:
 18653            type: "string"
 18654          script:
 18655            type: "string"
 18656          unicodeLocaleAttributes:
 18657            type: "array"
 18658            items:
 18659              type: "string"
 18660          unicodeLocaleKeys:
 18661            type: "array"
 18662            items:
 18663              type: "string"
 18664          variant:
 18665            type: "string"
 18666      ProfileImageResource:
 18667        type: "object"
 18668        properties:
 18669          uri:
 18670            type: "string"
 18671            format: "uri"
 18672          etag:
 18673            type: "string"
 18674          contentType:
 18675            type: "string"
 18676          lastModified:
 18677            type: "string"
 18678            format: "date-time"
 18679          scales:
 18680            type: "array"
 18681            items:
 18682              $ref: "#/definitions/ScaledProfileImageResource"
 18683      PhoneNumbersResource:
 18684        type: "object"
 18685        properties:
 18686          uri:
 18687            type: "string"
 18688            format: "uri"
 18689          records:
 18690            type: "array"
 18691            items:
 18692              $ref: "#/definitions/PhoneNumberResource"
 18693          paging:
 18694            $ref: "#/definitions/Paging"
 18695          navigation:
 18696            $ref: "#/definitions/Navigation"
 18697      DeviceInstance:
 18698        type: "object"
 18699        properties:
 18700          id:
 18701            type: "string"
 18702          serial:
 18703            type: "string"
 18704          trackingNumber:
 18705            type: "string"
 18706          shippingCarrier:
 18707            type: "string"
 18708          rmaNumber:
 18709            type: "string"
 18710      AnsweringForwardingResource:
 18711        type: "object"
 18712        properties:
 18713          notifyMySoftPhones:
 18714            type: "boolean"
 18715            default: false
 18716          notifyAdminSoftPhones:
 18717            type: "boolean"
 18718            default: false
 18719          softPhonesRingCount:
 18720            type: "integer"
 18721            format: "int32"
 18722          ringingMode:
 18723            type: "string"
 18724            enum:
 18725              - "Sequentially"
 18726              - "Simultaneously"
 18727          rules:
 18728            type: "array"
 18729            items:
 18730              $ref: "#/definitions/AnsweringForwardingRuleResource"
 18731      ResourceModelComponent:
 18732        type: "object"
 18733        properties:
 18734          components:
 18735            type: "array"
 18736            items:
 18737              $ref: "#/definitions/ResourceModelComponent"
 18738      CallLogRecords:
 18739        type: "object"
 18740        properties:
 18741          uri:
 18742            type: "string"
 18743            format: "uri"
 18744          records:
 18745            type: "array"
 18746            items:
 18747              $ref: "#/definitions/CallLogRecordResource"
 18748          paging:
 18749            $ref: "#/definitions/Paging"
 18750          navigation:
 18751            $ref: "#/definitions/Navigation"
 18752      ClientInfoSpecialNumbersResource:
 18753        type: "object"
 18754        properties:
 18755          uri:
 18756            type: "string"
 18757            format: "uri"
 18758          records:
 18759            type: "array"
 18760            items:
 18761              $ref: "#/definitions/ClientInfoSpecialNumberResource"
 18762          paging:
 18763            $ref: "#/definitions/Paging"
 18764          navigation:
 18765            $ref: "#/definitions/Navigation"
 18766      MeetingRequestResource:
 18767        type: "object"
 18768        properties:
 18769          topic:
 18770            type: "string"
 18771          meetingType:
 18772            type: "string"
 18773          schedule:
 18774            $ref: "#/definitions/MeetingScheduleResource"
 18775          password:
 18776            type: "string"
 18777          host:
 18778            $ref: "#/definitions/HostInfoRequest"
 18779          allowJoinBeforeHost:
 18780            type: "boolean"
 18781            default: false
 18782          startHostVideo:
 18783            type: "boolean"
 18784            default: false
 18785          startParticipantsVideo:
 18786            type: "boolean"
 18787            default: false
 18788          audioOptions:
 18789            type: "array"
 18790            items:
 18791              type: "string"
 18792      HostInfoRequest:
 18793        type: "object"
 18794        properties:
 18795          id:
 18796            type: "string"
 18797            description: "Internal identifier of an extension which is assigned to be a meeting host. The default value is currently logged-in extension identifier"
 18798      DeviceResource:
 18799        type: "object"
 18800        properties:
 18801          id:
 18802            type: "string"
 18803            description: "Internal identifier of a device"
 18804          uri:
 18805            type: "string"
 18806            format: "uri"
 18807            description: "Canonical URI of a device"
 18808          sku:
 18809            type: "string"
 18810            description: "Device identification number (stock keeping unit) in the format TP-ID [-AT-AC], where TP is device type (HP for RC HardPhone, DV for all other devices including softphone); ID - device model ID; AT -addon type ID; AC - addon count (if any). For example 'HP-56-2-2'"
 18811          type:
 18812            type: "string"
 18813            description: "Device type. The default value is 'HardPhone'"
 18814            enum:
 18815              - "HardPhone"
 18816              - "SoftPhone"
 18817              - "OtherPhone"
 18818          status:
 18819            type: "string"
 18820            description: "Status of a device = ['Online', 'Offline']"
 18821            enum:
 18822              - "Online"
 18823              - "Offline"
 18824          name:
 18825            type: "string"
 18826            description: "Device name. Mandatory if ordering SoftPhone or OtherPhone . Optional for HardPhone . If not specified for HardPhone, then device model name is used as device name"
 18827          serial:
 18828            type: "string"
 18829            description: "Serial number for HardPhone (is returned only when the phone is shipped and provisioned); endpoint_id for softphone and mobile applications"
 18830          computerName:
 18831            type: "string"
 18832            description: "PC name for softphone"
 18833          model:
 18834            description: "HardPhone model information"
 18835            $ref: "#/definitions/DeviceModelResource"
 18836          extension:
 18837            description: "This attribute can be omitted for unassigned devices"
 18838            $ref: "#/definitions/ExtensionResourceIntId"
 18839          phoneLines:
 18840            description: "Phone lines information"
 18841            type: "array"
 18842            items: 
 18843              $ref: "#/definitions/PhoneLineResource"
 18844          emergencyServiceAddress:
 18845            description: " Address for emergency cases. The same emergency address is assigned to all numbers of a single device ,"
 18846            $ref: "#/definitions/EmergencyServiceAddressResource"
 18847          shipping:
 18848            description: "Shipping information, according to which devices (in case of HardPhone ) or e911 stickers (in case of SoftPhone and OtherPhone ) will be delivered to the customer"
 18849            $ref: "#/definitions/ShippingResource"
 18850          boxBillingId:
 18851            type: "integer"
 18852            description: "Box billing identifier of a device. Applicable only for HardPhones. It is an alternative way to identify the device to be ordered. Either model structure, or boxBillingId must be specified for HardPhone"
 18853          linePooling:
 18854            type: "string"
 18855            description: "Pooling type of a deviceHost - device with standalone paid phone line which can be linked to Glip/Softphone instanceGuest - device with a linked phone lineNone - device without a phone line or with specific line (free, BLA, etc.) = ['Host', 'Guest', 'None']"
 18856            enum:
 18857              - "Host"
 18858              - "Guest"
 18859              - "None"
 18860      ReservePhoneNumberResource:
 18861        type: "object"
 18862        properties:
 18863          phoneNumber:
 18864            type: "string"
 18865            description: "Phone number in E.164"
 18866          formattedNumber:
 18867            type: "string"
 18868            description: "Domestic format of a phone number"
 18869          reservedTill:
 18870            description: " Datetime up to which the number is reserved in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. No value means that number is not reserved anymore"
 18871            type: "string"
 18872          reservationId:
 18873            type: "string"
 18874            description: "nternal identifier of phone number reservation; encoded data including reservation type (by brand, by account, by session), particular brand/account/session data, and reservation date and time"
 18875          status:
 18876            type: "string"
 18877            description: "Phone number status = ['Enabled', 'Pending', 'Disabled'],"
 18878            enum:
 18879              - "Enabled"
 18880              - "Pending"
 18881              - "Disabled"
 18882          error:
 18883            type: "string"
 18884            description: "The error code in case of reservation/un-reservation failure = ['NumberIsAlreadyProvisioned', 'NumberReserved', 'NumberNotAvailable']"
 18885            enum:
 18886              - "NumberIsAlreadyProvisioned"
 18887              - "NumberReserved"
 18888              - "NumberNotAvailable"
 18889      AcceptableToken:
 18890        type: "object"
 18891        properties:
 18892          token:
 18893            type: "string"
 18894          quality:
 18895            type: "integer"
 18896            format: "int32"
 18897      ClientResource:
 18898        type: "object"
 18899        properties:
 18900          detected:
 18901            type: "boolean"
 18902            default: false
 18903          userAgent:
 18904            type: "string"
 18905          appId:
 18906            type: "string"
 18907          appName:
 18908            type: "string"
 18909          appKey:
 18910            type: "string"
 18911          appVersion:
 18912            type: "string"
 18913          locale:
 18914            type: "string"
 18915      PoolResponseResource:
 18916        type: "object"
 18917        properties:
 18918          rendererId:
 18919            type: "string"
 18920          messageId:
 18921            type: "string"
 18922          extensionId:
 18923            type: "string"
 18924          extensionNumber:
 18925            type: "string"
 18926          firstName:
 18927            type: "string"
 18928          lastName:
 18929            type: "string"
 18930          street:
 18931            type: "string"
 18932          city:
 18933            type: "string"
 18934          state:
 18935            type: "string"
 18936          zip:
 18937            type: "string"
 18938          country:
 18939            type: "string"
 18940          countryId:
 18941            type: "string"
 18942          companyName:
 18943            type: "string"
 18944          faxNumber:
 18945            type: "string"
 18946          contactPhone:
 18947            type: "string"
 18948          email:
 18949            type: "string"
 18950          languageCode:
 18951            type: "string"
 18952          languageId:
 18953            type: "string"
 18954          footerType:
 18955            type: "number"
 18956          coverIndex:
 18957            type: "number"
 18958          coverPageText:
 18959            type: "string"
 18960          sourceFiles:
 18961            type: "array"
 18962            items:
 18963              $ref: "#/definitions/File"
 18964          messageServers:
 18965            type: "array"
 18966            items:
 18967              type: "string"
 18968          touchInterval:
 18969            type: "integer"
 18970            format: "int64"
 18971      PoolRequestResource:
 18972        type: "object"
 18973        properties:
 18974          rendererId:
 18975            type: "string"
 18976      MonitoringExtensionsResource:
 18977        type: "object"
 18978        properties:
 18979          uri:
 18980            type: "string"
 18981            format: "uri"
 18982          records:
 18983            type: "array"
 18984            items:
 18985              $ref: "#/definitions/MonitoringExtensionResource"
 18986          paging:
 18987            $ref: "#/definitions/Paging"
 18988          navigation:
 18989            $ref: "#/definitions/Navigation"
 18990      MeetingServiceInfoResource:
 18991        type: "object"
 18992        properties:
 18993          uri:
 18994            type: "string"
 18995            format: "uri"
 18996          supportUri:
 18997            type: "string"
 18998          intlDialInNumbersUri:
 18999            type: "string"
 19000          externalUserInfo:
 19001            $ref: "#/definitions/MeetingExternalUserInfoResource"
 19002          dialInNumbers:
 19003            type: "array"
 19004            items:
 19005              $ref: "#/definitions/DialInNumberResource"
 19006      ExtensionUserGroupsResource:
 19007        type: "object"
 19008        properties:
 19009          uri:
 19010            type: "string"
 19011            format: "uri"
 19012          groups:
 19013            type: "array"
 19014            items:
 19015              $ref: "#/definitions/UserGroupIdResource"
 19016      MeetingsResource:
 19017        type: "object"
 19018        properties:
 19019          uri:
 19020            type: "string"
 19021            format: "uri"
 19022          records:
 19023            type: "array"
 19024            items:
 19025              $ref: "#/definitions/MeetingResponseResource"
 19026          paging:
 19027            $ref: "#/definitions/Paging"
 19028          navigation:
 19029            $ref: "#/definitions/Navigation"
 19030      AnsweringForwardingRuleResource:
 19031        type: "object"
 19032        properties:
 19033          index:
 19034            type: "integer"
 19035            format: "int32"
 19036          ringCount:
 19037            type: "integer"
 19038            format: "int32"
 19039          forwardingNumbers:
 19040            type: "array"
 19041            items:
 19042              $ref: "#/definitions/ForwardingNumberResource"
 19043      RingOutFromInfo:
 19044        type: "object"
 19045        properties:
 19046          phoneNumber:
 19047            type: "string"
 19048          forwardingNumberId:
 19049            type: "string"
 19050      RingOutCountry:
 19051        type: "object"
 19052        properties:
 19053          id:
 19054            type: "string"
 19055      ApiVersionResource:
 19056        type: "object"
 19057        properties:
 19058          uri:
 19059            type: "string"
 19060            format: "uri"
 19061          versionString:
 19062            type: "string"
 19063          releaseDate:
 19064            type: "string"
 19065            format: "date-time"
 19066          uriString:
 19067            type: "string"
 19068      VersionedResource:
 19069        type: "object"
 19070        properties:
 19071          uri:
 19072            type: "string"
 19073            format: "uri"
 19074      File:
 19075        type: "object"
 19076        properties:
 19077          sourceFile:
 19078            type: "string"
 19079          originalFileName:
 19080            type: "string"
 19081      AssignedRoleResource:
 19082        type: "object"
 19083        properties:
 19084          uri:
 19085            type: "string"
 19086            format: "uri"
 19087          id:
 19088            type: "string"
 19089          autoAssigned:
 19090            type: "boolean"
 19091            default: false
 19092          displayName:
 19093            type: "string"
 19094      AuthProfileCheckResource:
 19095        type: "object"
 19096        properties:
 19097          uri:
 19098            type: "string"
 19099            format: "uri"
 19100          successful:
 19101            type: "boolean"
 19102            default: false
 19103          details:
 19104            $ref: "#/definitions/ActivePermissionResource"
 19105      CfaSchedule:
 19106        type: "object"
 19107        properties:
 19108          scheduleId:
 19109            type: "string"
 19110          recurrence:
 19111            $ref: "#/definitions/CfaRecurrence"
 19112          viewType:
 19113            type: "string"
 19114            enum:
 19115              - "Detailed"
 19116              - "Simple"
 19117          attachments:
 19118            $ref: "#/definitions/CfaAttachments"
 19119          recipients:
 19120            type: "array"
 19121            items:
 19122              type: "string"
 19123          pages:
 19124            type: "array"
 19125            items:
 19126              type: "string"
 19127      BulkProvisionExtensionResource:
 19128        type: "object"
 19129        properties:
 19130          uri:
 19131            type: "string"
 19132            format: "uri"
 19133          id:
 19134            type: "string"
 19135          partnerId:
 19136            type: "string"
 19137            minLength: 0
 19138            maxLength: 128
 19139            pattern: "^[\\p{Alnum}\\.\\-_]*$"
 19140          extensionNumber:
 19141            type: "string"
 19142          loginName:
 19143            type: "string"
 19144          contact:
 19145            $ref: "#/definitions/ContactInfo"
 19146          references:
 19147            type: "array"
 19148            items:
 19149              $ref: "#/definitions/Reference"
 19150          name:
 19151            type: "string"
 19152          type:
 19153            type: "string"
 19154            enum:
 19155              - "Unknown"
 19156              - "User"
 19157              - "Department"
 19158              - "Announcement"
 19159              - "Voicemail"
 19160              - "DigitalUser"
 19161              - "VirtualUser"
 19162              - "FaxUser"
 19163              - "PagingOnly"
 19164              - "SharedLinesGroup"
 19165              - "IvrMenu"
 19166              - "ApplicationExtension"
 19167              - "ParkLocation"
 19168          status:
 19169            type: "string"
 19170            enum:
 19171              - "Enabled"
 19172              - "Disabled"
 19173              - "Frozen"
 19174              - "NotActivated"
 19175              - "Unassigned"
 19176          statusInfo:
 19177            $ref: "#/definitions/StatusInfo"
 19178          departments:
 19179            type: "array"
 19180            items:
 19181              $ref: "#/definitions/DepartmentResource"
 19182          serviceFeatures:
 19183            type: "array"
 19184            items:
 19185              $ref: "#/definitions/ServiceFeatureValue"
 19186          regionalSettings:
 19187            $ref: "#/definitions/RegionalSettingsResource"
 19188          setupWizardState:
 19189            type: "string"
 19190            enum:
 19191              - "NotStarted"
 19192              - "Incomplete"
 19193              - "Completed"
 19194              - "Unknown"
 19195          permissions:
 19196            $ref: "#/definitions/ExtensionPermissionsResource"
 19197          password:
 19198            type: "string"
 19199          ivrPin:
 19200            type: "string"
 19201          profileImage:
 19202            $ref: "#/definitions/ProfileImageResource"
 19203      SmsResource:
 19204        type: "object"
 19205        properties:
 19206          country:
 19207            $ref: "#/definitions/CountryResource"
 19208          to:
 19209            type: "array"
 19210            items:
 19211              $ref: "#/definitions/CallerInfo"
 19212          from:
 19213            $ref: "#/definitions/CallerInfo"
 19214          text:
 19215            type: "string"
 19216      PaymentInfoCardHolderResource:
 19217        type: "object"
 19218        properties:
 19219          firstName:
 19220            type: "string"
 19221          lastName:
 19222            type: "string"
 19223          address:
 19224            $ref: "#/definitions/PaymentInfoAddressResource"
 19225      AdbPresenceInfoResource:
 19226        type: "object"
 19227        properties:
 19228          accountId:
 19229            type: "string"
 19230          extensionId:
 19231            type: "string"
 19232          extensionType:
 19233            type: "string"
 19234            enum:
 19235              - "Unknown"
 19236              - "User"
 19237              - "Department"
 19238              - "Announcement"
 19239              - "Voicemail"
 19240              - "DigitalUser"
 19241              - "VirtualUser"
 19242              - "FaxUser"
 19243              - "PagingOnly"
 19244              - "SharedLinesGroup"
 19245              - "ParkLocation"
 19246              - "IvrMenu"
 19247              - "ApplicationExtension"
 19248          extensionStatus:
 19249            type: "string"
 19250            enum:
 19251              - "Enabled"
 19252              - "Disabled"
 19253              - "Frozen"
 19254              - "NotActivated"
 19255          dndStatus:
 19256            type: "string"
 19257            enum:
 19258              - "TakeAllCalls"
 19259              - "DoNotAcceptDepartmentCalls"
 19260              - "TakeDepartmentCallsOnly"
 19261              - "DoNotAcceptAnyCalls"
 19262          userStatus:
 19263            type: "string"
 19264            enum:
 19265              - "Available"
 19266              - "Busy"
 19267              - "Offline"
 19268          message:
 19269            type: "string"
 19270          agentStatus:
 19271            type: "string"
 19272            enum:
 19273              - "Offline"
 19274              - "Online"
 19275              - "Unknown"
 19276          extensionNumber:
 19277            type: "string"
 19278          allowSeeMyPresence:
 19279            type: "boolean"
 19280            default: false
 19281          ringOnMonitoredCall:
 19282            type: "boolean"
 19283            default: false
 19284          pickUpCallsOnHold:
 19285            type: "boolean"
 19286            default: false
 19287          presenceFeatureAvailable:
 19288            type: "boolean"
 19289            default: false
 19290          dndFeatureAvailable:
 19291            type: "boolean"
 19292            default: false
 19293      CfaView:
 19294        type: "object"
 19295        properties:
 19296          name:
 19297            type: "string"
 19298          schedules:
 19299            type: "array"
 19300            items:
 19301              $ref: "#/definitions/CfaSchedule"
 19302      ExtensionWithRolesCollectionResource:
 19303        type: "object"
 19304        properties:
 19305          uri:
 19306            type: "string"
 19307            format: "uri"
 19308          records:
 19309            type: "array"
 19310            items:
 19311              $ref: "#/definitions/ExtensionWithRolesResource"
 19312      ProvisioningResource:
 19313        type: "object"
 19314        properties:
 19315          webUris:
 19316            $ref: "#/definitions/WebUrisResource"
 19317          hints:
 19318            $ref: "#/definitions/HintsResource"
 19319      PromotionCodeResource:
 19320        type: "object"
 19321        properties:
 19322          accountId:
 19323            type: "string"
 19324          promotionCode:
 19325            type: "string"
 19326      ReassignPhoneNumberResource:
 19327        type: "object"
 19328        properties:
 19329          uri:
 19330            type: "string"
 19331            format: "uri"
 19332          id:
 19333            type: "string"
 19334          usageType:
 19335            type: "string"
 19336            enum:
 19337              - "CompanyNumber"
 19338              - "MainCompanyNumber"
 19339              - "AdditionalCompanyNumber"
 19340              - "DirectNumber"
 19341              - "CompanyFaxNumber"
 19342              - "ForwardedNumber"
 19343          extension:
 19344            $ref: "#/definitions/ExtensionReferenceResource"
 19345      IntervalResource:
 19346        type: "object"
 19347        properties:
 19348          from:
 19349            type: "string"
 19350          to:
 19351            type: "string"
 19352      RegistrationResponse:
 19353        type: "object"
 19354        properties:
 19355          uri:
 19356            type: "string"
 19357            format: "uri"
 19358          device:
 19359            $ref: "#/definitions/DeviceResource"
 19360          sipInfo:
 19361            type: "array"
 19362            items:
 19363              $ref: "#/definitions/SipInfo"
 19364          sipFlags:
 19365            $ref: "#/definitions/SipFlags"
 19366      BusinessHoursResource:
 19367        type: "object"
 19368        properties:
 19369          uri:
 19370            type: "string"
 19371            format: "uri"
 19372          schedule:
 19373            $ref: "#/definitions/ScheduleResource"
 19374      ActiveCallInfo:
 19375        type: "object"
 19376        properties:
 19377          id:
 19378            type: "string"
 19379            description: "Internal identifier of a call"
 19380          direction:
 19381            type: "string"
 19382            description: "Call direction"
 19383            enum:
 19384              - "Inbound"
 19385              - "Outbound"
 19386          from:
 19387            type: "string"
 19388            description: "Phone number or extension number of a caller"
 19389          to:
 19390            type: "string"
 19391            description: "Phone number or extension number of a callee"
 19392          telephonyStatus:
 19393            type: "string"
 19394            description: "Telephony call status"
 19395            enum:
 19396              - "NoCall"
 19397              - "CallConnected"
 19398              - "Ringing"
 19399              - "OnHold"
 19400              - "ParkedCall"
 19401          sipData:
 19402            $ref: "#/definitions/DetailedCallInfo"
 19403          sessionId:
 19404            type: "string"
 19405            description: "Internal identifier of a call session"
 19406          terminationType:
 19407            type: "string"
 19408            description: "Type of call termination. Supported for calls in 'NoCall' status. If the returned termination type is 'intermediate' it means the call is not actually ended, the connection is established on one of the devices"
 19409            enum:
 19410              - "final"
 19411              - "intermediate"
 19412      ActiveCallInfoWithoutSIP:
 19413        type: "object"
 19414        properties:
 19415          id:
 19416            type: "string"
 19417            description: "Internal identifier of a call"
 19418          direction:
 19419            type: "string"
 19420            description: "Call direction"
 19421            enum:
 19422              - "Inbound"
 19423              - "Outbound"
 19424          from:
 19425            type: "string"
 19426            description: "Phone number or extension number of a caller"
 19427          to:
 19428            type: "string"
 19429            description: "Phone number or extension number of a callee"
 19430          telephonyStatus:
 19431            type: "string"
 19432            description: "Telephony call status"
 19433            enum:
 19434              - "NoCall"
 19435              - "CallConnected"
 19436              - "Ringing"
 19437              - "OnHold"
 19438              - "ParkedCall"
 19439          sessionId:
 19440            type: "string"
 19441            description: "Internal identifier of a call session"
 19442          terminationType:
 19443            type: "string"
 19444            description: "Type of call termination. Supported for calls in 'NoCall' status. If the returned termination type is 'intermediate' it means the call is not actually ended, the connection is established on one of the devices"
 19445            enum:
 19446              - "final"
 19447              - "intermediate"
 19448      DeviceToRegister:
 19449        type: "object"
 19450        properties:
 19451          id:
 19452            type: "string"
 19453          computerName:
 19454            type: "string"
 19455          appExternalId:
 19456            type: "string"
 19457      LocationResource:
 19458        type: "object"
 19459        properties:
 19460          uri:
 19461            type: "string"
 19462            format: "uri"
 19463          city:
 19464            type: "string"
 19465          areaCode:
 19466            type: "string"
 19467          npa:
 19468            type: "string"
 19469          nxx:
 19470            type: "string"
 19471          state:
 19472            $ref: "#/definitions/VersionedResource"
 19473      FavoriteContactResource:
 19474        type: "object"
 19475        properties:
 19476          uri:
 19477            type: "string"
 19478            format: "uri"
 19479          id:
 19480            type: "string"
 19481          extensionId:
 19482            type: "string"
 19483          contactId:
 19484            type: "string"
 19485      AccountResource:
 19486        type: "object"
 19487        required:
 19488          - "operator"
 19489        properties:
 19490          uri:
 19491            type: "string"
 19492            format: "uri"
 19493          id:
 19494            type: "string"
 19495          serviceInfo:
 19496            $ref: "#/definitions/AccountServiceInfoResource"
 19497          partnerId:
 19498            type: "string"
 19499          operator:
 19500            $ref: "#/definitions/ExtensionResource"
 19501          mainNumber:
 19502            type: "string"
 19503          reservationId:
 19504            type: "string"
 19505          sessionId:
 19506            type: "string"
 19507          status:
 19508            type: "string"
 19509            enum:
 19510              - "Initial"
 19511              - "Unconfirmed"
 19512              - "Confirmed"
 19513              - "Disabled"
 19514          statusInfo:
 19515            $ref: "#/definitions/StatusInfo"
 19516          signupInfo:
 19517            $ref: "#/definitions/SignupInfoResource"
 19518          setupWizardState:
 19519            type: "string"
 19520            enum:
 19521              - "NotStarted"
 19522              - "Incomplete"
 19523              - "Completed"
 19524              - "Unknown"
 19525          testerFlags:
 19526            type: "array"
 19527            items:
 19528              type: "string"
 19529          promotionCode:
 19530            type: "string"
 19531      SecretQuestionInfoResource:
 19532        type: "object"
 19533        properties:
 19534          uri:
 19535            type: "string"
 19536            format: "uri"
 19537          id:
 19538            type: "string"
 19539          questionType:
 19540            type: "integer"
 19541            format: "int32"
 19542          languageId:
 19543            type: "integer"
 19544            format: "int32"
 19545          questionText:
 19546            type: "string"
 19547          showInSignUp:
 19548            type: "boolean"
 19549            default: false
 19550      StatusType:
 19551        type: "object"
 19552        properties:
 19553          family:
 19554            type: "string"
 19555            enum:
 19556              - "INFORMATIONAL"
 19557              - "SUCCESSFUL"
 19558              - "REDIRECTION"
 19559              - "CLIENT_ERROR"
 19560              - "SERVER_ERROR"
 19561              - "OTHER"
 19562          statusCode:
 19563            type: "integer"
 19564            format: "int32"
 19565          reasonPhrase:
 19566            type: "string"
 19567      AddressBookSync:
 19568        type: "object"
 19569        properties:
 19570          uri:
 19571            type: "string"
 19572            format: "uri"
 19573          records:
 19574            type: "array"
 19575            items:
 19576              $ref: "#/definitions/PersonalContactResource"
 19577          syncInfo:
 19578            $ref: "#/definitions/SyncInfo"
 19579          nextPageId:
 19580            type: "integer"
 19581            format: "int64"
 19582          nextPageUri:
 19583            type: "string"
 19584            format: "uri"
 19585      SecurityContext:
 19586        type: "object"
 19587        properties:
 19588          userPrincipal:
 19589            $ref: "#/definitions/Principal"
 19590          secure:
 19591            type: "boolean"
 19592            default: false
 19593          authenticationScheme:
 19594            type: "string"
 19595      SyncCallLogRecords:
 19596        type: "object"
 19597        properties:
 19598          uri:
 19599            type: "string"
 19600            format: "uri"
 19601          records:
 19602            type: "array"
 19603            items:
 19604              $ref: "#/definitions/CallLogRecordResource"
 19605          syncInfo:
 19606            $ref: "#/definitions/SyncInfo"
 19607      EmergencyServiceAddressResource:
 19608        type: "object"
 19609        properties:
 19610          street:
 19611            type: "string"
 19612          street2:
 19613            type: "string"
 19614          city:
 19615            type: "string"
 19616          state:
 19617            type: "string"
 19618          country:
 19619            type: "string"
 19620          zip:
 19621            type: "string"
 19622          customerName:
 19623            type: "string"
 19624      ExtensionUpdateRequest:
 19625        type: "object"
 19626        properties:
 19627          status:
 19628            type: "string"
 19629            enum:
 19630              - "Disabled"
 19631              - "Enabled"
 19632              - "NotActivated"
 19633          statusInfo:
 19634            $ref: "#/definitions/ExtensionStatusInfo"
 19635          reason:
 19636            type: "string"
 19637            description: "Type of suspension"
 19638          comment:
 19639            type: "string"
 19640            description: "Free Form user comment"
 19641          extensionNumber:
 19642            type: "string"
 19643            description: "Extension number available"
 19644          contact:
 19645            $ref: "#/definitions/ContactInfoUpdateRequest"
 19646          regionalSettings:
 19647            $ref: "#/definitions/ExtensionRegionalSettingRequest"
 19648          setupWizardState:
 19649            type: "string"
 19650            enum:
 19651              - "NotStarted"
 19652              - "Incomplete"
 19653              - "Completed"
 19654          partnerId:
 19655            type: "string"
 19656            description: " Extension partner identifier"
 19657          ivrPin:
 19658            type: "string"
 19659            description: "IVR PIN"
 19660          password:
 19661            type: "string"
 19662            description: "Password for extension"
 19663          callQueueInfo:
 19664            $ref: "#/definitions/CallQueueInfoRequest"
 19665            description: "For Department extension type only. Call queue settings"
 19666          transition:
 19667            type: "string"
 19668            description: "For NotActivated extensions only. Welcome email setting"
 19669      ListCompanyAnsweringRuleInfo:
 19670        type: "object"
 19671        properties:
 19672          id:
 19673            type: "string"
 19674            description: "Internal identifier of an answering rule"
 19675          uri:
 19676            type: "string"
 19677            description: "Canonical URI of an answering rule"
 19678          enabled:
 19679            type: "boolean"
 19680            description: "Specifies if the rule is active or inactive. The default value is 'True'"
 19681            default: true
 19682          type:
 19683            type: "string"
 19684            description: "Type of an answering rule, the default value is 'Custom' = ['BusinessHours', 'AfterHours', 'Custom']"
 19685            enum:
 19686              - "BusinessHours"
 19687              - "AfterHours"
 19688              - "Custom"
 19689          name:
 19690            type: "string"
 19691            description: "Name of an answering rule specified by user. Max number of symbols is 30. The default value is 'My Rule N' where 'N' is the first free number"
 19692      CompanyAnsweringRuleUpdate:
 19693        type: "object"
 19694        properties:
 19695          enabled:
 19696            type: "boolean"
 19697            description: "Specifies if the rule is active or inactive. The default value is 'True'"
 19698            default: true
 19699          name:
 19700            type: "string"
 19701            description: "Name of an answering rule specified by user. Max number of symbols is 30. The default value is 'My Rule N' where 'N' is the first free number"
 19702          callers:
 19703            type: "array"
 19704            description: "Answering rule will be applied when calls are received from the specified caller(s)"
 19705            items:
 19706              $ref: "#/definitions/CompanyAnsweringRuleCallersInfoRequest"
 19707          calledNumbers:
 19708            type: "array"
 19709            description: "Answering rule will be applied when calling the specified number(s)"
 19710            items:
 19711              $ref: "#/definitions/CompanyAnsweringRuleCalledNumberInfo"
 19712          schedule:
 19713            description: "Schedule when an answering rule should be applied"
 19714            $ref: "#/definitions/CompanyAnsweringRuleScheduleInfoRequest"
 19715          callHandlingAction:
 19716            type: "string"
 19717            description: "Specifies how incoming calls are forwarded. The default value is 'Operator' 'Operator' - play company greeting and forward to operator extension 'Disconnect' - play company greeting and disconnect 'Bypass' - bypass greeting to go to selected extension = ['Operator', 'Disconnect', 'Bypass']"
 19718            enum:
 19719              - "Operator"
 19720              - "Disconnect"
 19721              - "Bypass"
 19722          extension:
 19723            description: "Extension to which the call is forwarded in 'Bypass' mode"
 19724            $ref: "#/definitions/CompanyAnsweringRuleCallersInfoRequest"
 19725          greetings:
 19726            type: "array"
 19727            description: "Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List"
 19728            items:
 19729              $ref: "#/definitions/GreetingInfo"
 19730      UserBusinessHoursUpdateRequest:
 19731        type: "object"
 19732        properties:
 19733          schedule:
 19734            description: "Schedule when an answering rule is applied"
 19735            $ref: "#/definitions/WeeklyScheduleInfo"
 19736      UserBusinessHoursScheduleInfo:
 19737        type: "object"
 19738        properties:
 19739          weeklyRanges:
 19740            description: "Weekly schedule"
 19741            $ref: "#/definitions/WeeklyScheduleInfo"
 19742      UserBusinessHoursUpdate:
 19743        type: "object"
 19744        properties:
 19745          uri:
 19746            type: "string"
 19747            description: "Canonical URI of a business-hours resource"
 19748          schedule:
 19749            description: "Schedule when an answering rule is applied"
 19750            $ref: "#/definitions/UserBusinessHoursScheduleInfo"
 19751      CustomGreetingRequest:
 19752        type: "object"
 19753        properties:
 19754          type:
 19755            type: "string"
 19756            description: "Type of a greeting, specifying the case when the greeting is played. See Greeting Types = ['Introductory', 'Announcement', 'ConnectingMessage', 'ConnectingAudio', 'Voicemail', 'Unavailable', 'HoldMusic']"
 19757            enum:
 19758              - "Introductory"
 19759              - "Announcement"
 19760              - "ConnectingMessage"
 19761              - "ConnectingAudio"
 19762              - "Voicemail"
 19763              - "Unavailable"
 19764              - "HoldMusic"
 19765          answeringRule:
 19766            description: "nformation on an answering rule that the greeting is applied to"
 19767            $ref: "#/definitions/CustomGreetingAnsweringRuleInfoRequest"
 19768      CustomGreetingAnsweringRuleInfoRequest:
 19769        type: "object"
 19770        properties:
 19771          id:
 19772            type: "string"
 19773            description: "Internal identifier of an answering rule"
 19774      ExtensionUserCredentials:
 19775        type: "object"
 19776        properties:
 19777          secretQuestion:
 19778            description: "Secret question of an extension user"
 19779            $ref: "#/definitions/SecretQuestionInfo"
 19780      ValidateExtensionUserCredentials:
 19781        type: "object"
 19782        properties:
 19783          password:
 19784            type: "string"
 19785            description: "User password of an extension"
 19786          ivrPin:
 19787            type: "string"
 19788            description: "User pin of an extension"
 19789          secretQuestion:
 19790            description: "Secret question of an extension user"
 19791            $ref: "#/definitions/SecretQuestionInfoValidationRequest"
 19792      SecretQuestionInfoValidationRequest:
 19793        type: "object"
 19794        properties:
 19795          id:
 19796            type: "string"
 19797            description: "Internal identifier of a secret question"
 19798          answer:
 19799            type: "string"
 19800            description: "Answer to a secret question"
 19801      VerifyExtensionUserCredentials:
 19802        type: "object"
 19803        properties:
 19804          password:
 19805            type: "string"
 19806            description: "User password of an extension"
 19807          ivrPin:
 19808            type: "string"
 19809            description: "User pin of an extension"
 19810          secretQuestion:
 19811            description: "Secret question of an extension user"
 19812            $ref: "#/definitions/SecretQuestionInfoVerificationRequest"
 19813      SecretQuestionInfoVerificationRequest:
 19814        type: "object"
 19815        properties:
 19816          id:
 19817            type: "string"
 19818            description: "Internal identifier of a secret question"
 19819          answer:
 19820            type: "string"
 19821            description: "Answer to a secret question"
 19822      LicenseList:
 19823        type: "object"
 19824        properties:
 19825          records:
 19826            type: "array"
 19827            description: "List of licenses "
 19828            items:
 19829              $ref: "#/definitions/LicenseInfo"
 19830          paging:
 19831            description: "Information on paging"
 19832            $ref: "#/definitions/PagingInfo"
 19833          navigation:
 19834            description: "Information on navigation"
 19835            $ref: "#/definitions/NavigationInfo"
 19836      LicenseInfo:
 19837        type: "object"
 19838        properties:
 19839          uri:
 19840            type: "string"
 19841            description: "Canonical URI of a license"
 19842          id:
 19843            type: "string"
 19844            description: "Internal identifier of a license"
 19845          type:
 19846            description: "License type data"
 19847            $ref: "#/definitions/LicenseFeatureInfo"
 19848          creationTime:
 19849            type: "string"
 19850            description: "Datetime when license was purchased in ISO 8601 format including timezone, for example 2017-03-10T18:07:52.534Z"
 19851          extension:
 19852            description: "Information on extension to which a license can be assigned"
 19853            $ref: "#/definitions/LicenseExtensionInfo"
 19854      LicenseFeatureInfo:
 19855        type: "object"
 19856        properties:
 19857          id:
 19858            type: "string"
 19859            description: "Internal identifier of an feature"
 19860          name:
 19861            type: "string"
 19862            description: "Full name of a feature"
 19863          limit:
 19864            type: "integer"
 19865            description: "Maximum count of licenses of specific type per account"
 19866      LicenseExtensionInfo:
 19867        type: "object"
 19868        properties:
 19869          id:
 19870            type: "string"
 19871            description: "Internal identifier of an extension"
 19872          uri:
 19873            type: "string"
 19874            description: "Canonical URI of an extension"
 19875          extensionNumber:
 19876            type: "string"
 19877            description: "Number of an extension"
 19878          name:
 19879            type: "string"
 19880            description: "User name of an extension"
 19881      OrderLicensesRequest:
 19882        type: "object"
 19883        properties:
 19884          addedLicenses:
 19885            type: "array"
 19886            description: "List of licenses to be purchased"
 19887            items:
 19888              $ref: "#/definitions/LicenseInfoRequest"
 19889      LicenseInfoRequest:
 19890        type: "object"
 19891        properties:
 19892          type:
 19893            description: "Type of a license"
 19894            $ref: "#/definitions/LicenseTypeInfoRequest"
 19895          quantity:
 19896            type: "integer"
 19897            description: "Quantity of licenses to be purchased"
 19898      LicenseTypeInfoRequest:
 19899        type: "object"
 19900        properties:
 19901          sku:
 19902            type: "string"
 19903            description: "Name of a license type = ['RMS', 'RCN', 'WBR-100', 'WBR-500', 'WBR-1000', 'WBR-3000', 'LRM-50', 'LRM-100', 'LRM-200']"
 19904            enum:
 19905              - "RMS"
 19906              - "RCN"
 19907              - "WBR-100"
 19908              - "WBR-500"
 19909              - "WBR-1000"
 19910              - "WBR-3000"
 19911              - "LRM-50"
 19912              - "LRM-100"
 19913              - "LRM-200"
 19914      ServiceInfoRequest:
 19915        type: "object"
 19916        properties:
 19917          limits:
 19918            description: "Limits which are effective for an account"
 19919            $ref: "#/definitions/AccountLimits"
 19920      AccountServiceInfo:
 19921        type: "object"
 19922        properties:
 19923          uri:
 19924            type: "string"
 19925            description: "Canonical URI of the account Service Info resource"
 19926          servicePlanName:
 19927            type: "string"
 19928            description: "Account Service Plan name"
 19929          brand:
 19930            description: "Information on account brand"
 19931            $ref: "#/definitions/BrandInfo"
 19932          servicePlan:
 19933            description: "Information on account service plan"
 19934            $ref: "#/definitions/ServicePlanInfo"
 19935          billingPlan:
 19936            description: "Information on account billing plan"
 19937            $ref: "#/definitions/BillingPlanInfo"
 19938          serviceFeatures:
 19939            type: "array"
 19940            description: "Service features information, see Service Feature List"
 19941            items:
 19942              $ref: "#/definitions/ServiceFeatureInfo"
 19943          limits:
 19944            description: "Limits which are effective for an account"
 19945            $ref: "#/definitions/AccountLimits"
 19946      LicenseTypes:
 19947        type: "object"
 19948        properties:
 19949          uri:
 19950            type: "string"
 19951            description: "Canonical URI of a license types resource"
 19952          records:
 19953            type: "array"
 19954            description: "List of supported licenses "
 19955            items:
 19956              $ref: "#/definitions/LicenseInfo"
 19957          paging:
 19958            description: "Information on paging"
 19959            $ref: "#/definitions/PagingInfo"
 19960          navigation:
 19961            description: "Information on navigation"
 19962            $ref: "#/definitions/NavigationInfo"
 19963      LicenseTypeInfo:
 19964        type: "object"
 19965        properties:
 19966          id:
 19967            type: "string"
 19968            description: "Internal identifier of a type"
 19969          uri:
 19970            type: "string"
 19971            description: "Canonical URI of a license type resource"
 19972          sku:
 19973            type: "string"
 19974            description: "Short name of a license type"
 19975          name:
 19976            type: "string"
 19977            description: "Full name of a license type"
 19978          assignable:
 19979            type: "string"
 19980            description: "State of a license. Webinars and Large Meetings are assignable"
 19981          feature:
 19982            description: "License feature info"
 19983            $ref: "#/definitions/LicenseFeatureInfo"
 19984      DefaultUserRoleRequest:
 19985        type: "object"
 19986        properties:
 19987          id:
 19988            type: "string"
 19989            description: "Internal identifier of a user role to be set as default, see User Role List"
 19990      AccountDeviceUpdate:
 19991        type: "object"
 19992        properties:
 19993          emergencyServiceAddress:
 19994            description: "Address for emergency cases. The same emergency address is assigned to all numbers of a single device"
 19995            $ref: "#/definitions/EmergencyAddressInfoRequest"
 19996      EmergencyAddressInfoRequest:
 19997        type: "object"
 19998        properties:
 19999          customerName:
 20000            type: "string"
 20001            description: "Name of a customer"
 20002          street:
 20003            type: "string"
 20004            description: "Street address, line 1 - street address, P.O. box, company name, c/o"
 20005          street2:
 20006            type: "string"
 20007            description: "Street address, line 2 - apartment, suite, unit, building, floor, etc"
 20008          city:
 20009            type: "string"
 20010            description: "City name"
 20011          state:
 20012            type: "string"
 20013            description: "State/province name"
 20014          zip:
 20015            type: "string"
 20016            description: "Zip code"
 20017          country:
 20018            type: "string"
 20019            description: "Country name"
 20020      ExtensionCreationRequest:
 20021        type: "object"
 20022        properties:
 20023          contact:
 20024            description: "Contact Information"
 20025            $ref: "#/definitions/ContactInfoUpdateRequest"
 20026          extensionNumber:
 20027            type: "string"
 20028            description: "Number of extension"
 20029          password:
 20030            type: "string"
 20031            description: "Password for extension. If not specified, the password is auto-generated"
 20032          references:
 20033            type: "array"
 20034            description: "List of non-RC internal identifiers assigned to an extension"
 20035            items:
 20036              $ref: "#/definitions/ReferenceInfo"
 20037          regionalSettings:
 20038            description: "Extension region data (timezone, home country, language)"
 20039            $ref: "#/definitions/RegionalSettings"
 20040          setupWizardState:
 20041            type: "string"
 20042            description: "Specifies extension configuration wizard state (web service setup). The default value is 'NotStarted' = ['NotStarted', 'Incomplete', 'Completed']"
 20043            enum:
 20044              - "NotStarted"
 20045              - "Incomplete"
 20046              - "Completed"
 20047          status:
 20048            type: "string"
 20049            description: "Extension current state = ['Enabled', 'Disabled', 'NotActivated', 'Unassigned']"
 20050            enum:
 20051              - "Enabled"
 20052              - "Disabled"
 20053              - "NotActivated"
 20054              - "Unassigned"
 20055          statusInfo:
 20056            description: "Status information (reason, comment). For 'Disabled' status only"
 20057            $ref: "#/definitions/ExtensionStatusInfo"
 20058          type:
 20059            type: "string"
 20060            description: "Extension type = ['User', 'VirtualUser', 'DigitalUser', 'Department']"
 20061            enum:
 20062              - "User"
 20063              - "VirtualUser"
 20064              - "DigitalUser"
 20065              - "Department"
 20066      ContactInfoUpdateRequest:
 20067        type: "object"
 20068        properties:
 20069          firstName:
 20070            type: "string"
 20071            description: "For User extension type only. Extension user first name,"
 20072          lastName:
 20073            type: "string"
 20074            description: "For User extension type only. Extension user last name,"
 20075          company:
 20076            type: "string"
 20077            description: "Extension user company name"
 20078          email:
 20079            type: "string"
 20080            description: "Email of extension user"
 20081          businessPhone:
 20082            type: "string"
 20083            description: "Extension user contact phone number in E.164 format"
 20084          businessAddress:
 20085            $ref: "#/definitions/ContactAddressInfo"
 20086          emailAsLoginName:
 20087            type: "boolean"
 20088            description: " If 'True' then contact email is enabled as login name for this user. Please note that email should be unique in this case. The default value is 'False'"
 20089          pronouncedName:
 20090            $ref: "#/definitions/PronouncedNameInfo"
 20091          department:
 20092            type: "string"
 20093            description: "Extension user department, if any"
 20094      ExtensionRegionalSettingRequest:
 20095        type: "object"
 20096        properties:
 20097          homeCountry:
 20098            $ref: "#/definitions/ExtensionCountryInfoRequest"
 20099          timezone:
 20100            $ref: "#/definitions/ExtensionTimezoneInfoRequest"
 20101          language:
 20102            $ref: "#/definitions/ExtensionLanguageInfoRequest"
 20103          greetingLanguage:
 20104            $ref: "#/definitions/ExtensionGreetingLanguageInfoRequest"
 20105          formattingLocale:
 20106            $ref: "#/definitions/ExtensionFormattingLocaleInfoRequest"
 20107          timeFormat:
 20108            type: "string"
 20109            description: "Time format setting. The default value is '12h' = ['12h', '24h']"
 20110      CallQueueInfoRequest:
 20111        type: "object"
 20112        properties:
 20113          slaGoal:
 20114            type: "integer"
 20115            description: "Target percentage of calls that must be answered by agents within the service level time threshold"
 20116          slaThresholdSeconds:
 20117            type: "integer"
 20118          includeAbandonedCalls:
 20119            type: "boolean"
 20120          abandonedThresholdSeconds:
 20121            type: "integer"
 20122      TransitionInfo:
 20123        type: "object"
 20124        properties:
 20125          sendWelcomeEmail:
 20126            type: "boolean"
 20127            description: "Supported for account confirmation. Specifies whether welcome email is sent. The default value is 'True'"
 20128            default: true
 20129          sendConfirmationEmail:
 20130            type: "boolean"
 20131            description: "Supported for account activation. Specifies whether confirmation email is sent. The default value is 'True'"
 20132            default: true
 20133          shipDevices:
 20134            type: "boolean"
 20135            description: "Specifies whether devices are shipped after successful account confirmation. The default value is 'True'"
 20136            default: true
 20137          activationEmailHash:
 20138            type: "string"
 20139            description: "Supported for account confirmation. Activation email hash code"
 20140      PronouncedNameInfo:
 20141        type: "object"
 20142        properties:
 20143          type:
 20144            type: "string"
 20145            description: "Voice name typeDefault - default extension name; first name and last name specified in user profileTextToSpeech - custom text; user name spelled the way it sounds and specified by userRecorded - custom audio; user name recorded in user's own voice (supported only for extension retrieval) = ['Default', 'TextToSpeech', 'Recorded']"
 20146            enum:
 20147              - "Default"
 20148              - "TextToSpeech"
 20149              - "Recorded"
 20150          text:
 20151            type: "string"
 20152            description: "Custom text"
 20153      ExtensionCountryInfoRequest:
 20154        type: "object"
 20155        properties:
 20156          id:
 20157            type: "string"
 20158            description: "internal Identifier for country"
 20159      ExtensionTimezoneInfoRequest:
 20160        type: "object"
 20161        properties:
 20162          id:
 20163            type: "string"
 20164            description: "internal Identifier for timezone"
 20165      ExtensionLanguageInfoRequest:
 20166        type: "object"
 20167        properties:
 20168          id:
 20169            type: "string"
 20170            description: "internal Identifier of a language"
 20171      ExtensionGreetingLanguageInfoRequest:
 20172        type: "object"
 20173        properties:
 20174          id:
 20175            type: "string"
 20176            description: "internal Identifier of a greeting language"
 20177      ExtensionFormattingLocaleInfoRequest:
 20178        type: "object"
 20179        properties:
 20180          id:
 20181            type: "string"
 20182            description: "Internal Identifier of a formatting language"
 20183      NumberPoolPhoneNumberRequest:
 20184        type: "object"
 20185        properties:
 20186          phoneNumber:
 20187            type: "string"
 20188            description: "Phone number in E.164 format"
 20189          reservedTill:
 20190            type: "string"
 20191            format: "date-time"
 20192            description: "Datetime up to which the number is reserved in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. If it is omitted or explicitly set to 'null', the number will be un-reserved if it was reserved previously by the same session. Also the values 'Min' and 'Max' are supported. 'Min' is 30 seconds; and 'Max' is 30 days (for reservation by brand) and 20 minutes (for reservation by account/session)"
 20193          reservationId:
 20194            type: "string"
 20195            description: "Internal identifier of a phone number reservation; encoded data including reservation type (by brand, by account, by session), particular brand/account/session data, and reservation date and time"
 20196      ProvisionPhoneNumberRequest:
 20197        type: "object"
 20198        properties:
 20199          extensionId:
 20200            description: "Information on extension which the phone number is added to, only for provisioning extension-level numbers"
 20201            $ref: "#/definitions/ExtensionInfoProvisionPhoneNumbers"
 20202          phoneNumber:
 20203            type: "string"
 20204            description: "Phone number to purchase returned in E.164 (11-digits) format"
 20205          reservationId:
 20206            type: "string"
 20207            description: "Internal identifier of phone number reservation; encoded data including reservation type (by brand, by account, by session), particular brand/account/session data, and reservation date and time"
 20208          label:
 20209            type: "string"
 20210            description: "Custom user name of a phone number, if any. Supported for numbers assigned to Auto-Receptionist, with usage type 'CompanyNumber"
 20211          usageType:
 20212            type: "string"
 20213            enum:
 20214              - "CompanyNumber"
 20215              - "MainCompanyNumber"
 20216              - "AdditionalCompanyNumber"
 20217              - "DirectNumber"
 20218              - "CompanyFaxNumber"
 20219              - "ForwardedNumber"
 20220              - "ForwardedCompanyNumber"
 20221            description: "Usage type of a phone number. The default value is 'DirectNumber'"
 20222          type:
 20223            type: "string"
 20224            enum:
 20225              - "VoiceFax"
 20226              - "VoiceOnly"
 20227              - "FaxOnly"
 20228            description: "Type of a phone number"
 20229          vanityPattern:
 20230            type: "string"
 20231            description: " Vanity pattern that was used to find this number. It should be passed as if it was returned from the Number Lookup call"
 20232      ExtensionUserCredentailsRequest:
 20233        type: "object"
 20234        properties:
 20235          password:
 20236            type: "string"
 20237            description: "User password of an extension"
 20238          ivrPin:
 20239            type: "string"
 20240            description: "User pin of an extension"
 20241          secretQuestion:
 20242            $ref: "#/definitions/ExtensionSecretQuestionInfo"
 20243      ExtensionSecretQuestionInfo:
 20244        type: "object"
 20245        properties:
 20246          id:
 20247            type: "string"
 20248            description: "Internal identifier of a secret question"
 20249          uri:
 20250            type: "string"
 20251            description: "Link to a secret question resource"
 20252          answer:
 20253            type: "string"
 20254            description: "Answer to a secret question"
 20255      NotificationSettingsUpdateRequest:
 20256        type: "object"
 20257        properties:
 20258          emailAddresses:
 20259            type: "array"
 20260            items:
 20261              type: "string"
 20262            description: "List of notification recipient email addresses"
 20263          smsEmailAddresses:
 20264            type: "array"
 20265            items:
 20266              type: "string"
 20267            description: "List of notification recipient email addresses"
 20268          advancedMode:
 20269            type: "boolean"
 20270            description: "Specifies notifications settings mode. If 'True' then advanced mode is on, it allows using different emails and/or phone numbers for each notification type. If 'False' then basic mode is on. Advanced mode settings are returned in both modes, if specified once, but if basic mode is switched on, they are not applied"
 20271          voicemails:
 20272            $ref: "#/definitions/VoicemailsInfo"
 20273          inboundFaxes:
 20274            $ref: "#/definitions/InboundFaxesInfo"
 20275          outboundFaxes:
 20276            $ref: "#/definitions/OutboundFaxesInfo"
 20277          inboundTexts:
 20278            $ref: "#/definitions/InboundTextsInfo"
 20279          missedCalls:
 20280            $ref: "#/definitions/MissedCallsInfo"
 20281      VoicemailsInfo:
 20282        type: "object"
 20283        properties:
 20284          notifyByEmail:
 20285            type: "boolean"
 20286            description: "Email notification flag"
 20287          notifyBySms:
 20288            type: "boolean"
 20289            description: "SMS notification flag"
 20290          advancedEmailAddresses:
 20291            type: "array"
 20292            description: "List of recipient email addresses for voicemail notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only"
 20293            items:
 20294              type: "string"
 20295          advancedSmsEmailAddresses:
 20296            type: "array"
 20297            description: "List of recipient phone numbers for voicemail notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only"
 20298            items:
 20299              type: "string"
 20300          includeAttachment:
 20301            type: "boolean"
 20302            description: "Indicates whether voicemail should be attached to email"
 20303          markAsRead:
 20304            type: "boolean"
 20305            description: "Indicates whether email should be automatically marked as read"
 20306      InboundFaxesInfo:
 20307        type: "object"
 20308        properties:
 20309          notifyByEmail:
 20310            type: "boolean"
 20311            description: "Email notification flag"
 20312          notifyBySms:
 20313            type: "boolean"
 20314            description: "SMS notification flag"
 20315          advancedEmailAddresses:
 20316            type: "array"
 20317            description: "List of recipient email addresses for inbound fax notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only"
 20318            items:
 20319              type: "string"
 20320          advancedSmsEmailAddresses:
 20321            type: "array"
 20322            description: "List of recipient phone numbers for inbound fax notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only"
 20323            items:
 20324              type: "string"
 20325          includeAttachment:
 20326            type: "boolean"
 20327            description: "Indicates whether fax should be attached to email"
 20328          markAsRead:
 20329            type: "boolean"
 20330            description: "Indicates whether email should be automatically marked as read"
 20331      OutboundFaxesInfo:
 20332        type: "object"
 20333        properties:
 20334          notifyByEmail:
 20335            type: "boolean"
 20336            description: "Email notification flag"
 20337          notifyBySms:
 20338            type: "boolean"
 20339            description: "SMS notification flag"
 20340          advancedEmailAddresses:
 20341            type: "array"
 20342            description: "List of recipient email addresses for outbound fax notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only"
 20343            items:
 20344              type: "string"
 20345          advancedSmsEmailAddresses:
 20346            type: "array"
 20347            description: "List of recipient phone numbers for outbound fax notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only"
 20348            items:
 20349              type: "string"
 20350      InboundTextsInfo:
 20351        type: "object"
 20352        properties:
 20353          notifyByEmail:
 20354            type: "boolean"
 20355            description: "Email notification flag"
 20356          notifyBySms:
 20357            type: "boolean"
 20358            description: "SMS notification flag"
 20359          advancedEmailAddresses:
 20360            type: "array"
 20361            description: "List of recipient email addresses for inbound text message notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only"
 20362            items:
 20363              type: "string"
 20364          advancedSmsEmailAddresses:
 20365            type: "array"
 20366            description: "List of recipient phone numbers for inbound text message notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only"
 20367            items:
 20368              type: "string"
 20369      MissedCallsInfo:
 20370        type: "object"
 20371        properties:
 20372          notifyByEmail:
 20373            type: "boolean"
 20374            description: "Email notification flag"
 20375          notifyBySms:
 20376            type: "boolean"
 20377            description: "SMS notification flag"
 20378          advancedEmailAddresses:
 20379            type: "array"
 20380            description: "List of recipient email addresses for missed call notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only"
 20381            items:
 20382              type: "string"
 20383          advancedSmsEmailAddresses:
 20384            type: "array"
 20385            description: "List of recipient phone numbers for missed call notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only"
 20386            items:
 20387              type: "string"
 20388      ExtensionCallerIdInfo:
 20389        type: "object"
 20390        properties:
 20391          uri:
 20392            type: "string"
 20393            description: "Canonical URL of a caller ID resource"
 20394          byDevice:
 20395            type: "array"
 20396            items:
 20397              $ref: "#/definitions/CallerIdByDevice"
 20398              description: "Caller ID settings by device"
 20399          byFeature:
 20400            type: "array"
 20401            items:
 20402              $ref: "#/definitions/CallerIdByFeature"
 20403              description: "Caller ID settings by feature"
 20404      CallerIdByDevice:
 20405        type: "object"
 20406        properties:
 20407          device:
 20408            $ref: "#/definitions/CallerIdDeviceInfo"
 20409          callerId:
 20410            $ref: "#/definitions/CallerIdByDeviceInfo"
 20411      CallerIdByFeature:
 20412        type: "object"
 20413        properties:
 20414          feature:
 20415            type: "string"
 20416            enum:
 20417              - "RingOut"
 20418              - "RingMe"
 20419              - "CallFlip"
 20420              - "FaxNumber"
 20421              - "AdditionalSoftphone"
 20422              - "Alternate"
 20423              - "CommonPhone"
 20424          callerId:
 20425            $ref: "#/definitions/CallerIdByFeatureInfo"
 20426      CallerIdDeviceInfo:
 20427        type: "object"
 20428        properties:
 20429          id:
 20430            type: "string"
 20431            description: "Internal identifier of a device"
 20432          uri:
 20433            type: "string"
 20434            description: "Link to a device resource"
 20435          phoneNumber:
 20436            type: "string"
 20437            description: "Name of a device"
 20438      CallerIdByDeviceInfo:
 20439        type: "object"
 20440        properties:
 20441          type:
 20442            type: "string"
 20443            description: "If 'PhoneNumber' value is specified, then a certain phone number is shown as a caller ID when using this telephony feature. If 'Blocked' value is specified, then a caller ID is hidden. The value 'CurrentLocation' can be specified for 'RingOut' feature only. The default is 'PhoneNumber' = ['PhoneNumber', 'Blocked', 'CurrentLocation']"
 20444          phoneInfo:
 20445            $ref: "#/definitions/CallerIdPhoneInfo"
 20446      CallerIdByFeatureInfo:
 20447        type: "object"
 20448        properties:
 20449          type:
 20450            type: "string"
 20451            description: "If 'PhoneNumber' value is specified, then a certain phone number is shown as a caller ID when using this telephony feature. If 'Blocked' value is specified, then a caller ID is hidden. The value 'CurrentLocation' can be specified for 'RingOut' feature only. The default is 'PhoneNumber' = ['PhoneNumber', 'Blocked', 'CurrentLocation']"
 20452          phoneInfo:
 20453            $ref: "#/definitions/CallerIdPhoneInfo"
 20454      CallerIdPhoneInfo:
 20455        type: "object"
 20456        properties:
 20457          id:
 20458            type: "string"
 20459            description: "Internal identifier of a phone number"
 20460          uri:
 20461            type: "string"
 20462            description: "Link to a phone number resource"
 20463          phoneNumber:
 20464            type: "string"
 20465            description: "Phone number in E.164 (with '+' sign) format"
 20466      CompanyAnsweringRuleRequest:
 20467        type: "object"
 20468        properties:
 20469          name:
 20470            type: "string"
 20471            description: "Name of an answering rule specified by user. Max number of symbols is 30. The default value is 'My Rule N' where 'N' is the first free number"
 20472          enabled:
 20473            type: "boolean"
 20474            description: "Specifies if the rule is active or inactive. The default value is 'True'"
 20475            default: true
 20476          type:
 20477            type: "string"
 20478            description: "Type of an answering rule, the default value is 'Custom' = ['BusinessHours', 'AfterHours', 'Custom']"
 20479            enum:
 20480              - "BusinessHours"
 20481              - "AfterHours"
 20482              - "Custom"
 20483          callers:
 20484            type: "array"
 20485            description: "Answering rule will be applied when calls are received from the specified caller(s)"
 20486            items:
 20487              $ref: "#/definitions/CompanyAnsweringRuleCallersInfoRequest"
 20488          calledNumbers:
 20489            type: "array"
 20490            description: "Answering rule will be applied when calling the specified number(s)"
 20491            items:
 20492              $ref: "#/definitions/CompanyAnsweringRuleCalledNumberInfo"
 20493          schedule:
 20494            description: "Schedule when an answering rule should be applied"
 20495            $ref: "#/definitions/CompanyAnsweringRuleScheduleInfoRequest"
 20496          callHandlingAction:
 20497            type: "string"
 20498            description: "Specifies how incoming calls are forwarded. The default value is 'Operator' 'Operator' - play company greeting and forward to operator extension 'Disconnect' - play company greeting and disconnect 'Bypass' - bypass greeting to go to selected extension = ['Operator', 'Disconnect', 'Bypass']"
 20499            enum:
 20500              - "Operator"
 20501              - "Disconnect"
 20502              - "Bypass"
 20503          extension:
 20504            description: "Extension to which the call is forwarded in 'Bypass' mode"
 20505            $ref: "#/definitions/CompanyAnsweringRuleCallersInfoRequest"
 20506          greetings:
 20507            type: "array"
 20508            description: "Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List"
 20509            items:
 20510              $ref: "#/definitions/GreetingInfo"
 20511      CompanyAnsweringRuleCallersInfoRequest:
 20512        type: "object"
 20513        properties:
 20514          callerId:
 20515            type: "string"
 20516            description: "Phone number of a caller"
 20517          name:
 20518            type: "string"
 20519            description: "Displayed name for a caller ID"
 20520      CompanyAnsweringRuleCalledNumberInfoRequest:
 20521        type: "object"
 20522        properties:
 20523          id:
 20524            type: "string"
 20525            description: "Internal identifier of an account phone number"
 20526      CompanyAnsweringRuleScheduleInfoRequest:
 20527        type: "object"
 20528        properties:
 20529          weeklyRanges:
 20530            description: "Weekly schedule. If specified, ranges cannot be specified"
 20531            $ref: "#/definitions/CompanyAnsweringRuleWeeklyScheduleInfoRequest"
 20532          ranges:
 20533            description: "Specific data ranges. If specified, weeklyRanges cannot be specified"
 20534            $ref: "#/definitions/RangesInfo"
 20535          ref:
 20536            type: "string"
 20537            description: "Reference to Business Hours or After Hours schedule = ['BusinessHours', 'AfterHours']"
 20538            enum:
 20539              - "BusinessHours"
 20540              - "AfterHours"
 20541      CompanyAnsweringRuleExtensionInfoRequest:
 20542        type: "object"
 20543        properties:
 20544          id:
 20545            type: "string"
 20546            description: "Time in format hh:mm"
 20547      GreetingInfo:
 20548        type: "object"
 20549        properties:
 20550          type:
 20551            type: "string"
 20552            description: "Type of a greeting, specifying the case when the greeting is played. See Greeting Types = ['Introductory', 'Announcement', 'ConnectingMessage', 'ConnectingAudio', 'Voicemail', 'Unavailable', 'InterruptPrompt', 'HoldMusic']"
 20553            enum:
 20554              - "Introductory"
 20555              - "Announcement"
 20556              - "ConnectingMessage"
 20557              - "ConnectingAudio"
 20558              - "Voicemail"
 20559              - "Unavailable"
 20560              - "InterruptPrompt"
 20561              - "HoldMusic"
 20562              - "Custom"
 20563              - "Company"
 20564              - "BlockedCallersSpecific"
 20565              - "BlockedCallersAll"
 20566              - "BlockedNoCallerId"
 20567              - "BlockedPayPhones"
 20568              - "StartRecording"
 20569              - "StopRecording"
 20570              - "AutomaticRecording"
 20571          usageType:
 20572            type: "string"
 20573            description: "Usage type of a greeting, specifying if the greeting is applied to user extension or department extension = ['UserExtensionAnsweringRule', 'ExtensionAnsweringRule DepartmentExtensionAnsweringRule']"
 20574            enum:
 20575              - "UserExtensionAnsweringRule"
 20576              - "ExtensionAnsweringRule"
 20577              - "DepartmentExtensionAnsweringRule"
 20578          preset:
 20579            $ref: "#/definitions/PresetInfo"
 20580      CompanyAnsweringRuleWeeklyScheduleInfoRequest:
 20581        type: "object"
 20582        properties:
 20583          monday:
 20584            type: "array"
 20585            description: "Time interval for a particular day"
 20586            items:
 20587              $ref: "#/definitions/CompanyAnsweringRuleTimeIntervalRequest"
 20588          tuesday:
 20589            type: "array"
 20590            description: "Time interval for a particular day"
 20591            items:
 20592              $ref: "#/definitions/CompanyAnsweringRuleTimeIntervalRequest"
 20593          wednesday:
 20594            type: "array"
 20595            description: "Time interval for a particular day"
 20596            items:
 20597              $ref: "#/definitions/CompanyAnsweringRuleTimeIntervalRequest"
 20598          thursday:
 20599            type: "array"
 20600            description: "Time interval for a particular day"
 20601            items:
 20602              $ref: "#/definitions/CompanyAnsweringRuleTimeIntervalRequest"
 20603          friday:
 20604            type: "array"
 20605            description: "Time interval for a particular day"
 20606            items:
 20607              $ref: "#/definitions/CompanyAnsweringRuleTimeIntervalRequest"
 20608          saturday:
 20609            type: "array"
 20610            description: "Time interval for a particular day"
 20611            items:
 20612              $ref: "#/definitions/CompanyAnsweringRuleTimeIntervalRequest"
 20613          sunday:
 20614            type: "array"
 20615            description: "Time interval for a particular day"
 20616            items:
 20617              $ref: "#/definitions/CompanyAnsweringRuleTimeIntervalRequest"
 20618      CompanyAnsweringRuleRangesInfoRequest:
 20619        type: "object"
 20620        properties:
 20621          from:
 20622            type: "string"
 20623            description: "Date and time in format YYYY-MM-DD hh:mm"
 20624          to:
 20625            type: "string"
 20626            description: "Date and time in format YYYY-MM-DD hh:mm"
 20627      PresetInfo:
 20628        type: "object"
 20629        properties:
 20630          uri:
 20631            type: "string"
 20632            description: "Link to a greeting resource"
 20633          id:
 20634            type: "string"
 20635            description: "Internal identifier of greeting"
 20636          name:
 20637            type: "string"
 20638            description: "Name of a greeting"
 20639      CompanyAnsweringRuleTimeIntervalRequest:
 20640        type: "object"
 20641        properties:
 20642          from:
 20643            type: "string"
 20644            description: "Time in format hh:mm"
 20645          to:
 20646            type: "string"
 20647            description: "Time in format hh:mm"
 20648      CompanyAnsweringRuleList:
 20649        type: "object"
 20650        properties:
 20651          uri:
 20652            type: "string"
 20653            description: "Link to an answering rule resource"
 20654          records:
 20655            type: "array"
 20656            description: "List of company answering rules"
 20657            items:
 20658              $ref: "#/definitions/ListCompanyAnsweringRuleInfo"
 20659          paging:
 20660            description: "Information on paging"
 20661            $ref: "#/definitions/PagingInfo"
 20662          navigation:
 20663            description: "Information on navigation"
 20664            $ref: "#/definitions/NavigationInfo"
 20665      CompanyAnsweringRuleInfo:
 20666        type: "object"
 20667        properties:
 20668          id:
 20669            type: "string"
 20670            description: "Internal identifier of an answering rule"
 20671          uri:
 20672            type: "string"
 20673            description: "Canonical URI of an answering rule"
 20674          enabled:
 20675            type: "boolean"
 20676            description: "Specifies if the rule is active or inactive. The default value is 'True'"
 20677            default: true
 20678          type:
 20679            type: "string"
 20680            description: "Type of an answering rule, the default value is 'Custom' = ['BusinessHours', 'AfterHours', 'Custom']"
 20681            enum:
 20682              - "BusinessHours"
 20683              - "AfterHours"
 20684              - "Custom"
 20685          name:
 20686            type: "string"
 20687            description: "Name of an answering rule specified by user. Max number of symbols is 30. The default value is 'My Rule N' where 'N' is the first free number"
 20688          callers:
 20689            type: "array"
 20690            description: "Answering rule will be applied when calls are received from the specified caller(s)"
 20691            items:
 20692              $ref: "#/definitions/CompanyAnsweringRuleCallersInfoRequest"
 20693          calledNumbers:
 20694            type: "array"
 20695            description: "Answering rule will be applied when calling the specified number(s)"
 20696            items:
 20697              $ref: "#/definitions/CompanyAnsweringRuleCalledNumberInfoRequest"
 20698          schedule:
 20699            description: "Schedule when an answering rule should be applied ,"
 20700            $ref: "#/definitions/CompanyAnsweringRuleScheduleInfo"
 20701          callHandlingAction:
 20702            type: "string"
 20703            description: "Specifies how incoming calls are forwarded. The default value is 'Operator' 'Operator' - play company greeting and forward to operator extension 'Disconnect' - play company greeting and disconnect 'Bypass' - bypass greeting to go to selected extension = ['Operator', 'Disconnect', 'Bypass']"
 20704            enum:
 20705              - "Operator"
 20706              - "Disconnect"
 20707              - "Bypass"
 20708          extension:
 20709            description: "Extension to which the call is forwarded in 'Bypass' mode"
 20710            $ref: "#/definitions/CompanyAnsweringRuleCallersInfoRequest"
 20711          greetings:
 20712            type: "array"
 20713            description: "Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List"
 20714            items:
 20715              $ref: "#/definitions/GreetingInfo"
 20716      CompanyAnsweringRuleCalledNumberInfo:
 20717        type: "object"
 20718        properties:
 20719          id:
 20720            type: "string"
 20721            description: "Internal identifier of an account phone number"
 20722      CompanyAnsweringRuleScheduleInfo:
 20723        type: "object"
 20724        properties:
 20725          weeklyRanges:
 20726            description: "Weekly schedule. If specified, ranges cannot be specified"
 20727            $ref: "#/definitions/CompanyAnsweringRuleWeeklyScheduleInfoRequest"
 20728          ranges:
 20729            description: "Specific data ranges. If specified, weeklyRanges cannot be specified"
 20730            $ref: "#/definitions/RangesInfo"
 20731          ref:
 20732            type: "string"
 20733            description: "Reference to Business Hours or After Hours schedule = ['BusinessHours', 'AfterHours']"
 20734            enum:
 20735              - "BusinessHours"
 20736              - "AfterHours"
 20737      UpdateAccountRequest:
 20738        type: "object"
 20739        properties:
 20740          status:
 20741            type: "string"
 20742            description: "Target account status. For account activation - 'Unconfirmed'. For account confirmation - 'Confirmed'. For changing account status - 'Confirmed' or 'Disabled' = ['Unconfirmed', 'Confirmed', 'Disabled'],"
 20743            enum:
 20744              - "Unconfirmed"
 20745              - "Confirmed"
 20746              - "Disabled"
 20747          statusInfo:
 20748            description: "Status information (reason, comment, lifetime). Returned for 'Disabled' status only"
 20749            $ref: "#/definitions/AccountStatusInfo"
 20750          transitionInfo:
 20751            description: "Email notifications setting"
 20752            $ref: "#/definitions/TransitionInfo"
 20753          partnerId:
 20754            type: "string"
 20755            description: "Additional account identifier, developed and applied on the client side"
 20756          serviceInfo:
 20757            description: "Account service information, including brand, service plan and billing plan"
 20758            $ref: "#/definitions/AccountServiceInfo"
 20759          regionalSettings:
 20760            description: "Account level region data (web service Auto-Receptionist settings)"
 20761            $ref: "#/definitions/RegionalSettings"
 20762          operatorId:
 20763            type: "string"
 20764            description: "Identifier of extension to be set as operator for account"
 20765          signupInfo:
 20766            description: "Account sign up data"
 20767            $ref: "#/definitions/SignupInfoResource"
 20768      SiteInfo:
 20769        type: "object"
 20770        properties:
 20771          id:
 20772            type: "string"
 20773            description: "Internal Identifier of a site"
 20774          name:
 20775            type: "string"
 20776            description: "custom name of a site"
 20777      ContactDirectoryEvent:
 20778        type: "object"
 20779        properties:
 20780          id:
 20781            type: "string"
 20782            description: "Internal identifier of an extension"
 20783          eventType:
 20784            type: "string"
 20785            description: "Type of change"
 20786          type:
 20787            type: "string"
 20788            description: "Extension Type"
 20789          status:
 20790            type: "string"
 20791            description: "Status of an extension"
 20792            enum:
 20793              - "Disabled"
 20794              - "Enabled"
 20795              - "NotActivated"
 20796          firstName:
 20797            type: "string"
 20798            description: "First name of an extension user"
 20799          lastName:
 20800            type: "string"
 20801            description: "Last name of an extension user"
 20802          department:
 20803            type: "string"
 20804            description: "Department Name"
 20805          email:
 20806            type: "string"
 20807            description: "Email of an extension user"
 20808          extensionNumber:
 20809            type: "string"
 20810            description: "Extension number"
 20811          account:
 20812            description: "Account data of an extension"
 20813            $ref: "#/definitions/CompanyDirectoryAccountInfo"
 20814          phoneNumbers:
 20815            description: "Extension phone number information"
 20816            $ref: "#/definitions/CompanyDirectoryPhoneNumberInfo"
 20817          site:
 20818            description: "Site Data"
 20819            $ref: "#/definitions/SiteInfo"
 20820          profileImage:
 20821            description: "Extension profile image information. Not returned if profile images are absent for an extension"
 20822            $ref: "#/definitions/CompanyDirectoryProfileImageInfo"
 20823      ExtensionListEvent:
 20824        type: "object"
 20825        properties:
 20826          extensionId:
 20827            type: "string"
 20828            description: "Internal identifier of an extension"
 20829          eventType:
 20830            type: "string"
 20831            description: "Type of extension info change"
 20832            enum:
 20833              - "Create"
 20834              - "Update"
 20835              - "Delete"
 20836      ExtensionInfoEvent:
 20837        type: "object"
 20838        properties:
 20839          extensionId:
 20840            type: "string"
 20841            description: "Internal identifier of an extension"
 20842          eventType:
 20843            type: "string"
 20844            description: "Type of extension info change"
 20845            enum:
 20846              - "Update"
 20847              - "Delete"
 20848          hints:
 20849            type: "array"
 20850            description: "Returned for 'Update' event type only. The possible values are: /nAccountInfo - change of account parameters/nExtensionInfo - change of contact info, service features, departments, status/nPhoneNumber - change of phone numbers/nRole - change of permissions/nProfileImage - change of profile image"
 20851            items:
 20852              type: "string"
 20853      ExtensionGrantListEvent:
 20854        type: "object"
 20855        properties:
 20856          extensionId:
 20857            type: "string"
 20858            description: "Internal identifier of an extension"
 20859      ExtensionFavoritesEvent:
 20860        type: "object"
 20861        properties:
 20862          extensionId:
 20863            type: "string"
 20864            description: "Internal identifier of an extension"
 20865      MessageEvent:
 20866        type: "object"
 20867        properties:
 20868          extensionId:
 20869            type: "string"
 20870            description: "Internal identifier of an extension"
 20871          lastUpdated:
 20872            type: "string"
 20873            format: "date-time"
 20874            description: "Datetime when the message was last modified in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 20875          changes:
 20876            type: "array"
 20877            description: "Message Changes"
 20878            items:
 20879              $ref: "#/definitions/MessageChanges"
 20880      MessageChanges:
 20881        type: "object"
 20882        properties:
 20883          type:
 20884            type: "string"
 20885            description: "Message type"
 20886            enum:
 20887              - "Voicemail"
 20888              - "SMS"
 20889              - "Fax"
 20890              - "Pager"
 20891          newCount:
 20892            type: "integer"
 20893            description: "The number of new messages. Can be omitted if the value is zero"
 20894          updatedCount:
 20895            type: "integer"
 20896            description: "The number of updated messages. Can be omitted if the value is zero"
 20897      NotificationInfo:
 20898        type: "object"
 20899        properties:
 20900          alerts:
 20901            description: "Alert information"
 20902            $ref: "#/definitions/AlertInfo"
 20903          badge:
 20904            type: "string"
 20905            description: "Number of incoming messages"
 20906          sound:
 20907            type: "string"
 20908            description: "Message sound"
 20909          content-available:
 20910            type: "string"
 20911            description: "Content availability"
 20912          category:
 20913            type: "string"
 20914            description: "Category of a message"
 20915      AlertInfo:
 20916        type: "object"
 20917        properties:
 20918          title:
 20919            type: "string"
 20920            description: "Title of a message"
 20921          body:
 20922            type: "string"
 20923            description: "Message Description"
 20924      InboundMessageEvent:
 20925        type: "object"
 20926        properties:
 20927          aps:
 20928            description: "Information on a notification"
 20929            $ref: "#/definitions/NotificationInfo"
 20930          messageId:
 20931            type: "string"
 20932            description: "Internal identifier of an message"
 20933          conversationId:
 20934            type: "string"
 20935            description: "Internal identifier of an conversation"
 20936          from:
 20937            type: "string"
 20938            description: "Sender phone number"
 20939          to:
 20940            type: "string"
 20941            description: "Receiver phone number"
 20942      NotificationRecipientInfo:
 20943        type: "object"
 20944        properties:
 20945          phoneNumber:
 20946            type: "string"
 20947            description: "Phone number in E.164 (with '+' sign) format"
 20948          extensionNumber:
 20949            type: "string"
 20950            description: "Extension number"
 20951          target:
 20952            type: "boolean"
 20953            description: "'True' specifies that message is sent exactly to this recipient. Returned in to field for group MMS. Useful if one extension has several phone numbers"
 20954          location:
 20955            type: "string"
 20956            description: "Contains party location (city, state) if one can be determined from phoneNumber. This property is filled only when phoneNumber is not empty and server can calculate location information from it (for example, this information is unavailable for US toll-free numbers)"
 20957          name:
 20958            type: "string"
 20959            description: "Symbolic name associated with a caller/callee. If the phone does not belong to the known extension, only the location is returned, the name is not determined then"
 20960      SenderInfo:
 20961        type: "object"
 20962        properties:
 20963          phoneNumber:
 20964            type: "string"
 20965            description: "Phone number in E.164 (with '+' sign) format"
 20966          extensionNumber:
 20967            type: "string"
 20968            description: "Extension number"
 20969          location:
 20970            type: "string"
 20971            description: "Contains party location (city, state) if one can be determined from phoneNumber. This property is filled only when phoneNumber is not empty and server can calculate location information from it (for example, this information is unavailable for US toll-free numbers)"
 20972          name:
 20973            type: "string"
 20974            description: "Symbolic name associated with a caller/callee. If the phone does not belong to the known extension, only the location is returned, the name is not determined then"
 20975      InstantMessageEvent:
 20976        type: "object"
 20977        properties:
 20978          id:
 20979            type: "string"
 20980            description: "Internal identifier of an message"
 20981          to:
 20982            type: "array"
 20983            description: "Message receiver(s) information"
 20984            items:
 20985              $ref: "#/definitions/NotificationRecipientInfo"
 20986          from:
 20987            description: "Extension Type"
 20988            $ref: "#/definitions/SenderInfo"
 20989          type:
 20990            type: "string"
 20991            description: "Type of a message. The default value is 'SMS'"
 20992          creationTime:
 20993            type: "string"
 20994            format: "date-time"
 20995            description: "Message creation datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 20996          lastModifiedTime:
 20997            type: "string"
 20998            format: "date-time"
 20999            description: "Datetime when the message was modified in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 21000          readStatus:
 21001            type: "string"
 21002            description: "Status of a message. The default value is 'Unread'"
 21003          priority:
 21004            type: "string"
 21005            description: "The default value is 'Normal'"
 21006          attachments:
 21007            description: "Message attachment data"
 21008            type: "array"
 21009            items:
 21010              $ref: "#/definitions/MessageAttachmentInfo"
 21011          direction:
 21012            type: "string"
 21013            description: "Message direction. The default value is 'Inbound'"
 21014          availability:
 21015            type: "string"
 21016            description: "Message availability status. The default value is 'Alive'"
 21017          subject:
 21018            type: "string"
 21019            description: "Message subject. It replicates message text which is also returned as an attachment"
 21020          messageStatus:
 21021            type: "string"
 21022            description: "Status of a message. The default value is 'Received'"
 21023          conversationId:
 21024            type: "string"
 21025            description: "Identifier of the conversation the message belongs to"
 21026      AccountPresenceEvent:
 21027        type: "object"
 21028        properties:
 21029          extensionId:
 21030            type: "string"
 21031            description: "Internal identifier of an extension. Optional parameter"
 21032            default: "~"
 21033          telephonyStatus:
 21034            type: "string"
 21035            description: "Telephony presence status. Returned if telephony status is changed."
 21036            enum:
 21037            - "NoCall"
 21038            - "CallConnected"
 21039            - "Ringing"
 21040            - "OnHold"
 21041            - "ParkedCall"
 21042          sequence:
 21043            type: "integer"
 21044            description: "Order number of a notification to state the chronology"
 21045          presenceStatus:
 21046            type: "string"
 21047            description: "Aggregated presence status, calculated from a number of sources"
 21048            enum:
 21049            - "Offline"
 21050            - "Busy"
 21051            - "Available"
 21052          userStatus:
 21053            type: "string"
 21054            description: "User-defined presence status (as previously published by the user)"
 21055            enum:
 21056            - "Offline"
 21057            - "Busy"
 21058            - "Available"
 21059          dndStatus:
 21060            type: "string"
 21061            description: "Extended DnD (Do not Disturb) status"
 21062            enum:
 21063            - "TakeAllCalls"
 21064            - "DoNotAcceptAnyCalls"
 21065            - "DoNotAcceptDepartmentCalls"
 21066            - "TakeDepartmentCallsOnly"
 21067          allowSeeMyPresence:
 21068            type: "boolean"
 21069            description: "If 'True' enables other extensions to see the extension presence status"
 21070          ringOnMonitoredCall:
 21071            type: "boolean"
 21072            description: "If 'True' enables to ring extension phone, if any user monitored by this extension is ringing"
 21073          pickUpCallsOnHold:
 21074            type: "boolean"
 21075            description: "If 'True' enables the extension user to pick up a monitored line on hold"
 21076      ExtensionPresenceEvent:
 21077        type: "object"
 21078        properties:
 21079          extensionId:
 21080            type: "string"
 21081            description: "Internal identifier of an extension. Optional parameter"
 21082            default: "~"
 21083          telephonyStatus:
 21084            type: "string"
 21085            description: "Telephony presence status. Returned if telephony status is changed."
 21086            enum:
 21087            - "NoCall"
 21088            - "CallConnected"
 21089            - "Ringing"
 21090            - "OnHold"
 21091            - "ParkedCall"
 21092          sequence:
 21093            type: "integer"
 21094            description: "Order number of a notification to state the chronology"
 21095          presenceStatus:
 21096            type: "string"
 21097            description: "Aggregated presence status, calculated from a number of sources"
 21098            enum:
 21099            - "Offline"
 21100            - "Busy"
 21101            - "Available"
 21102          userStatus:
 21103            type: "string"
 21104            description: "User-defined presence status (as previously published by the user)"
 21105            enum:
 21106            - "Offline"
 21107            - "Busy"
 21108            - "Available"
 21109          dndStatus:
 21110            type: "string"
 21111            description: "Extended DnD (Do not Disturb) status"
 21112            enum:
 21113            - "TakeAllCalls"
 21114            - "DoNotAcceptAnyCalls"
 21115            - "DoNotAcceptDepartmentCalls"
 21116            - "TakeDepartmentCallsOnly"
 21117          allowSeeMyPresence:
 21118            type: "boolean"
 21119            description: "If 'True' enables other extensions to see the extension presence status"
 21120          ringOnMonitoredCall:
 21121            type: "boolean"
 21122            description: "If 'True' enables to ring extension phone, if any user monitored by this extension is ringing"
 21123          pickUpCallsOnHold:
 21124            type: "boolean"
 21125            description: "If 'True' enables the extension user to pick up a monitored line on hold"
 21126      DetailedExtensionPresenceEvent:
 21127        type: "object"
 21128        properties:
 21129          extensionId:
 21130            type: "string"
 21131            description: "Internal identifier of an extension. Optional parameter"
 21132            default: "~"
 21133          telephonyStatus:
 21134            type: "string"
 21135            description: "Telephony presence status. Returned if telephony status is changed."
 21136            enum:
 21137            - "NoCall"
 21138            - "CallConnected"
 21139            - "Ringing"
 21140            - "OnHold"
 21141            - "ParkedCall"
 21142          activeCalls:
 21143            type: "array"
 21144            description: "Collection of Active Call Info"
 21145            items:
 21146              $ref: "#/definitions/ActiveCallInfoWithoutSIP"
 21147          sequence:
 21148            type: "integer"
 21149            description: "Order number of a notification to state the chronology"
 21150          presenceStatus:
 21151            type: "string"
 21152            description: "Aggregated presence status, calculated from a number of sources"
 21153            enum:
 21154            - "Offline"
 21155            - "Busy"
 21156            - "Available"
 21157          userStatus:
 21158            type: "string"
 21159            description: "User-defined presence status (as previously published by the user)"
 21160            enum:
 21161            - "Offline"
 21162            - "Busy"
 21163            - "Available"
 21164          dndStatus:
 21165            type: "string"
 21166            description: "Extended DnD (Do not Disturb) status"
 21167            enum:
 21168            - "TakeAllCalls"
 21169            - "DoNotAcceptAnyCalls"
 21170            - "DoNotAcceptDepartmentCalls"
 21171            - "TakeDepartmentCallsOnly"
 21172          allowSeeMyPresence:
 21173            type: "boolean"
 21174            description: "If 'True' enables other extensions to see the extension presence status"
 21175          ringOnMonitoredCall:
 21176            type: "boolean"
 21177            description: "If 'True' enables to ring extension phone, if any user monitored by this extension is ringing"
 21178          pickUpCallsOnHold:
 21179            type: "boolean"
 21180            description: "If 'True' enables the extension user to pick up a monitored line on hold"
 21181      DetailedExtensionPresenceWithSIPEvent:
 21182        type: "object"
 21183        properties:
 21184          extensionId:
 21185            type: "string"
 21186            description: "Internal identifier of an extension. Optional parameter"
 21187            default: "~"
 21188          telephonyStatus:
 21189            type: "string"
 21190            description: "Telephony presence status. Returned if telephony status is changed."
 21191            enum:
 21192            - "NoCall"
 21193            - "CallConnected"
 21194            - "Ringing"
 21195            - "OnHold"
 21196            - "ParkedCall"
 21197          activeCalls:
 21198            type: "array"
 21199            description: "Collection of Active Call Info"
 21200            items:
 21201              $ref: "#/definitions/ActiveCallInfo"
 21202          sequence:
 21203            type: "integer"
 21204            description: "Order number of a notification to state the chronology"
 21205          presenceStatus:
 21206            type: "string"
 21207            description: "Aggregated presence status, calculated from a number of sources"
 21208            enum:
 21209            - "Offline"
 21210            - "Busy"
 21211            - "Available"
 21212          userStatus:
 21213            type: "string"
 21214            description: "User-defined presence status (as previously published by the user)"
 21215            enum:
 21216            - "Offline"
 21217            - "Busy"
 21218            - "Available"
 21219          dndStatus:
 21220            type: "string"
 21221            description: "Extended DnD (Do not Disturb) status"
 21222            enum:
 21223            - "TakeAllCalls"
 21224            - "DoNotAcceptAnyCalls"
 21225            - "DoNotAcceptDepartmentCalls"
 21226            - "TakeDepartmentCallsOnly"
 21227          allowSeeMyPresence:
 21228            type: "boolean"
 21229            description: "If 'True' enables other extensions to see the extension presence status"
 21230          ringOnMonitoredCall:
 21231            type: "boolean"
 21232            description: "If 'True' enables to ring extension phone, if any user monitored by this extension is ringing"
 21233          pickUpCallsOnHold:
 21234            type: "boolean"
 21235            description: "If 'True' enables the extension user to pick up a monitored line on hold"
 21236      ExtensionFavoritesPresenceEvent:
 21237        type: "object"
 21238        properties:
 21239          extensionId:
 21240            type: "string"
 21241            description: "Internal identifier of an extension. Optional parameter"
 21242            default: "~"
 21243          telephonyStatus:
 21244            type: "string"
 21245            description: "Telephony presence status. Returned if telephony status is changed."
 21246            enum:
 21247            - "NoCall"
 21248            - "CallConnected"
 21249            - "Ringing"
 21250            - "OnHold"
 21251            - "ParkedCall"
 21252          sequence:
 21253            type: "integer"
 21254            description: "Order number of a notification to state the chronology"
 21255          presenceStatus:
 21256            type: "string"
 21257            description: "Aggregated presence status, calculated from a number of sources"
 21258            enum:
 21259            - "Offline"
 21260            - "Busy"
 21261            - "Available"
 21262          userStatus:
 21263            type: "string"
 21264            description: "User-defined presence status (as previously published by the user)"
 21265            enum:
 21266            - "Offline"
 21267            - "Busy"
 21268            - "Available"
 21269          dndStatus:
 21270            type: "string"
 21271            description: "Extended DnD (Do not Disturb) status"
 21272            enum:
 21273            - "TakeAllCalls"
 21274            - "DoNotAcceptAnyCalls"
 21275            - "DoNotAcceptDepartmentCalls"
 21276            - "TakeDepartmentCallsOnly"
 21277          allowSeeMyPresence:
 21278            type: "boolean"
 21279            description: "If 'True' enables other extensions to see the extension presence status"
 21280          ringOnMonitoredCall:
 21281            type: "boolean"
 21282            description: "If 'True' enables to ring extension phone, if any user monitored by this extension is ringing"
 21283          pickUpCallsOnHold:
 21284            type: "boolean"
 21285            description: "If 'True' enables the extension user to pick up a monitored line on hold"
 21286      ExtensionPresenceLineEvent:
 21287        type: "object"
 21288        properties:
 21289          extension:
 21290            description: "Extension information"
 21291            $ref: "#/definitions/ExtensionNotificationInfo"
 21292          sequence:
 21293            type: "integer"
 21294            description: "Order number of a notification to state the chronology"
 21295      ExtensionNotificationInfo:
 21296        type: "object"
 21297        properties:
 21298          id:
 21299            type: "string"
 21300            description: "Internal identifier of the extension"
 21301      APSInfo:
 21302        type: "object"
 21303        properties:
 21304          content-available:
 21305            type: "integer"
 21306            description: "If the value is '1' then notification is turned on even if the application is in background"
 21307            default: 1
 21308      APNSInfo:
 21309        type: "object"
 21310        properties:
 21311          aps:
 21312            description: "Notification priority data"
 21313            $ref: "#/definitions/APSInfo"
 21314      IncomingCallEvent:
 21315        type: "object"
 21316        properties:
 21317          aps:
 21318            description: "Apple Push Notification Service Info"
 21319            $ref: "#/definitions/APSInfo"
 21320          event:
 21321            type: "string"
 21322            description: "Event filter URI"
 21323          uuid:
 21324            type: "string"
 21325            description: "Universally unique identifier of a notification"
 21326          subscriptionId:
 21327            type: "string"
 21328            description: "Internal identifier of a subscription"
 21329          timestamp:
 21330            type: "string"
 21331            description: "The datetime of a call action in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 21332            format: date-time
 21333          extensionId:
 21334            type: "string"
 21335            description: "Internal identifier of an extension"
 21336            default: "~"
 21337          action:
 21338            type: "string"
 21339            description: "Calling action, for example 'StartRing'"
 21340          sessionId:
 21341            type: "string"
 21342            description: "Identifier of a call session"
 21343          serverId:
 21344            type: "string"
 21345            description: "Identifier of a server"
 21346          from:
 21347            type: "string"
 21348            description: "Phone number of a caller"
 21349          fromName:
 21350            type: "string"
 21351            description: "Caller name"
 21352          to:
 21353            type: "string"
 21354            description: "Phone number of a callee"
 21355          toName:
 21356            type: "string"
 21357            description: "Callee name"
 21358          sid:
 21359            type: "string"
 21360            description: "Unique identifier of a session"
 21361          toUrl:
 21362            type: "string"
 21363            description: "SIP proxy registration name"
 21364          srvLvl:
 21365            type: "string"
 21366            description: "User data"
 21367          srvLvlExt:
 21368            type: "string"
 21369            description: "User data"
 21370          recUrl:
 21371            type: "string"
 21372            description: "File containing recorded caller name"
 21373          pn_ttl:
 21374            type: "integer"
 21375            description: "Notification lifetime value in seconds, the default value is 30 seconds"
 21376      MissedCallEvent:
 21377        type: "object"
 21378        properties:
 21379          uuid:
 21380            type: "string"
 21381            description: "Universally unique identifier of a notification"
 21382          pn_apns:
 21383            description: "APNS service info"
 21384            $ref: "#/definitions/APNSInfo"
 21385          event:
 21386            type: "string"
 21387            description: "Event filter URI"
 21388          subscriptionId:
 21389            type: "string"
 21390            description: "Internal identifier of a subscription"
 21391          timestamp:
 21392            type: "string"
 21393            description: "The datetime of a call action in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 21394            format: date-time
 21395          extensionId:
 21396            type: "string"
 21397            description: "Internal identifier of an extension"
 21398            default: "~"
 21399          action:
 21400            type: "string"
 21401            description: "Calling action, for example 'StartRing'"
 21402          sessionId:
 21403            type: "string"
 21404            description: "Identifier of a call session"
 21405          serverId:
 21406            type: "string"
 21407            description: "Identifier of a server"
 21408          from:
 21409            type: "string"
 21410            description: "Phone number of a caller"
 21411          fromName:
 21412            type: "string"
 21413            description: "Caller name"
 21414          to:
 21415            type: "string"
 21416            description: "Phone number of a callee"
 21417          toName:
 21418            type: "string"
 21419            description: "Callee name"
 21420          sid:
 21421            type: "string"
 21422            description: "Unique identifier of a session"
 21423          toUrl:
 21424            type: "string"
 21425            description: "SIP proxy registration name"
 21426          srvLvl:
 21427            type: "string"
 21428            description: "User data"
 21429          srvLvlExt:
 21430            type: "string"
 21431            description: "User data"
 21432          recUrl:
 21433            type: "string"
 21434            description: "File containing recorded caller name"
 21435          pn_ttl:
 21436            type: "integer"
 21437            description: "Notification lifetime value in seconds, the default value is 30 seconds"
 21438      GCMInfo:
 21439        type: "object"
 21440        properties:
 21441          priority:
 21442            type: "string"
 21443            description: "Notification priority, if the value is 'high' then notification is turned on even if the application is in background"
 21444            enum:
 21445              - "high"
 21446              - "normal"
 21447          time_to_live:
 21448            type: "integer"
 21449            description: "Notification lifetime value in seconds, the default value is 30 seconds"
 21450          data:
 21451            description: "GCM data"
 21452            $ref: "#/definitions/GCMData"
 21453      GCMData:
 21454        type: "object"
 21455        properties:
 21456          event:
 21457            type: "string"
 21458            description: "Event filter URI"
 21459          subscriptionId:
 21460            type: "string"
 21461            description: "Internal identifier of a subscription"
 21462          timestamp:
 21463            type: "string"
 21464            description: "The datetime of a call action in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 21465            format: date-time
 21466          extensionId:
 21467            type: "string"
 21468            description: "Internal identifier of an extension"
 21469            default: "~"
 21470          action:
 21471            type: "string"
 21472            description: "Calling action, for example 'StartRing'"
 21473          sessionId:
 21474            type: "string"
 21475            description: "Identifier of a call session"
 21476          serverId:
 21477            type: "string"
 21478            description: "Identifier of a server"
 21479          _from:
 21480            type: "string"
 21481            description: "Phone number of a caller"
 21482          fromName:
 21483            type: "string"
 21484            description: "Caller name"
 21485          to:
 21486            type: "string"
 21487            description: "Phone number of a callee"
 21488          toName:
 21489            type: "string"
 21490            description: "Callee name"
 21491          sid:
 21492            type: "string"
 21493            description: "Unique identifier of a session"
 21494          toUrl:
 21495            type: "string"
 21496            description: "SIP proxy registration name"
 21497          srvLvl:
 21498            type: "string"
 21499            description: "User data"
 21500          srvLvlExt:
 21501            type: "string"
 21502            description: "User data"
 21503      RCVideoNotificationsEvent:
 21504        type: "object"
 21505        properties:
 21506          id:
 21507            type: "string"
 21508            description: "Identifier of a meeting"
 21509          name:
 21510            type: "string"
 21511            description: "Meeting Name"
 21512          start:
 21513            type: "string"
 21514            description: "Datetime of meeting start in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 21515          duration:
 21516            type: "integer"
 21517            description: "Meeting duration"
 21518          participants:
 21519            description: "Meeting participants information"
 21520            $ref: "#/definitions/RCVParticipantsInfo"
 21521          recorded:
 21522            type: "boolean"
 21523            description: "Specifies whether a meeting is recorded or not"
 21524          recording:
 21525            description: "Meeting recording information, if recorded value is 'True'"
 21526            $ref: "#/definitions/RCVRecordingInfo"
 21527      RCVParticipantsInfo:
 21528        type: "object"
 21529        properties:
 21530          account:
 21531            type: "string"
 21532            description: "Participant account"
 21533          extension:
 21534            type: "string"
 21535            description: "Participant extension"
 21536          name:
 21537            type: "string"
 21538            description: "Participant name"
 21539          img:
 21540            type: "string"
 21541            description: "Participant profile image"
 21542      RCVRecordingInfo:
 21543        type: "object"
 21544        properties:
 21545          size:
 21546            type: "integer"
 21547            description: "Meeting record size in bytes"
 21548          duration:
 21549            type: "integer"
 21550            description: "Meeting duration in seconds"
 21551          url:
 21552            type: "string"
 21553            description: "Link to a meeting record"
 21554      GlipGroupsEvent:
 21555        type: "object"
 21556        properties:
 21557          id:
 21558            type: "string"
 21559            description: "Internal identifier of a group"
 21560          type:
 21561            type: "string"
 21562            description: "Type of a group. 'PrivateChat' is a group of 2 members. 'Group' is a chat of 2 and more participants, the membership cannot be changed after group creation. 'Team' is a chat of 1 and more participants, the membership can be modified in future. 'PersonalChat' is a private chat thread of a user"
 21563            enum:
 21564              - "PrivateChat"
 21565              - "Group"
 21566              - "Team"
 21567              - "PersonalChat"
 21568          isPublic:
 21569            type: "boolean"
 21570            description: "For 'Team' group type only. Team access level"
 21571          name:
 21572            type: "string"
 21573            description: "For 'Team' group type only. Team name"
 21574          description:
 21575            type: "string"
 21576            description: "For 'Team' group type only. Team description"
 21577          members:
 21578            type: "array"
 21579            description: "Identifier(s) of group members"
 21580            items:
 21581              type: "string"
 21582          creationTime:
 21583            type: "string"
 21584            format: "date-time"
 21585            description: "Group creation datetime in ISO 8601 format"
 21586          lastModifiedTime:
 21587            type: "string"
 21588            format: "date-time"
 21589            description: "Group last change datetime in ISO 8601 format"
 21590          eventType:
 21591            type: "string"
 21592            description: "Type of a group event. Only the person who joined/was added to a group will receive 'GroupJoined' notification. Only the person who left/was removed from a group will receive 'GroupLeft' notification"
 21593            enum:
 21594              - "GroupRenamed"
 21595              - "GroupJoined"
 21596              - "GroupLeft"
 21597              - "GroupChanged"
 21598      GlipPostEvent:
 21599        type: "object"
 21600        properties:
 21601          id:
 21602            type: "string"
 21603            description: "Internal identifier of a post"
 21604          eventType:
 21605            type: "string"
 21606            description: "Type of a post event"
 21607            enum:
 21608              - "PostAdded"
 21609              - "PostChanged"
 21610              - "PostRemoved"
 21611          groupId:
 21612            type: "string"
 21613            description: "Internal identifier of a group a post belongs to"
 21614          type:
 21615            type: "string"
 21616            description: "Type of a post. 'TextMessage' - an incoming text message; 'PersonJoined' - a message notifying that person has joined a conversation; 'PersonsAdded' - a message notifying that a person(s) were added to a conversation"
 21617            enum:
 21618              - "TextMessage"
 21619              - "PersonJoined"
 21620              - "PersonsAdded"
 21621              - "Card"
 21622          text:
 21623            type: "string"
 21624            description: "For 'TextMessage' post type only. Message text"
 21625          creatorId:
 21626            type: "string"
 21627            description: "Internal identifier of a user - author of a post"
 21628          addedPersonIds:
 21629            type: "array"
 21630            description: "For PersonsAdded post type only. Identifiers of persons added to a group"
 21631            items:
 21632              type: "string"
 21633          removedPersonIds:
 21634            type: "array"
 21635            description: "For PersonsRemoved post type only. Identifiers of persons removed from a group"
 21636            items:
 21637              type: "string"
 21638          mentions:
 21639            type: "array"
 21640            description: "List of at mentions in post text with names."
 21641            items:
 21642              $ref: "#/definitions/GlipMentionsInfo"
 21643          creationTime:
 21644            type: "string"
 21645            format: "date-time"
 21646            description: "Post creation datetime in ISO 8601 format"
 21647          lastModifiedTime:
 21648            type: "string"
 21649            format: "date-time"
 21650            description: "Post last change datetime in ISO 8601 format"
 21651      GlipUnreadMessageCountEvent:
 21652        type: "object"
 21653        properties:
 21654          uuid:
 21655            type: "string"
 21656            description: "Universally unique identifier of a notification"
 21657          pn_apns:
 21658            description: "Apple notification data"
 21659            $ref : "#/definitions/GlipAPNSInfo"
 21660          pn_gcm:
 21661            description: "GCM data"
 21662            $ref : "#/definitions/GCMInfo"
 21663      GlipAPNSInfo:
 21664        type: "object"
 21665        properties:
 21666          aps:
 21667            description: "Apple Push Notification Service Info"
 21668            $ref: "#/definitions/APSInfo"
 21669          timestamp:
 21670            type: "string"
 21671            format: "date-time"
 21672            description: "Datetime of a call action in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z"
 21673          uuid:
 21674            type: "string"
 21675            description: "Universally unique identifier of a notification"
 21676          event:
 21677            type: "string"
 21678            description: "Event filter URI"
 21679          subscriptionId:
 21680            type: "string"
 21681            description: "Internal identifier of a subscription"
 21682          body:
 21683            description: "Unread messages data"
 21684            $ref: "#/definitions/GlipUnreadMessageCountInfo"
 21685      GlipUnreadMessageCountInfo:
 21686        type: "object"
 21687        properties:
 21688          unread:
 21689            type: "integer"
 21690            description: "Count of glip unread messages"