openapi: 3.0.2 x-explorer-enabled: false x-samples-languages: - curl - node - java - javascript - python - go info: title: Admin - Voice description: "The Voice provider APIs are used to manage information about voice specific elements and different voice related\ \ entities e.g. Phone numbers.\n\nVoice Services will support multiple ways to provision voice providers\n 1. Programmatic\ \ Interface (Rest APIs)\n 2. User Interface\n" contact: name: Avaya API Team url: https://developers.avayacloud.com/onecloud-ccaas email: apiteam@avaya.com license: name: Avaya Software Development Kit (SDK) Software License Terms url: http://support.avaya.com/css/P8/documents/101038288 version: 1.0.2 security: - {} - BearerAuth: [] AppKey: [] servers: - url: '{protocol}://{server}{basePath}' description: Open API variables: protocol: enum: - https default: https server: default: HOST-REGION.api.avayacloud.com basePath: default: /api/admin/voice/v1 tags: - name: Available Phone Numbers description: 'The available phone numbers that can be added to the contact center. ' - name: Avaya Aura Device Services description: 'Administration of Avaya Aura Device Service Elements. These API are expected to be called by an account administrator. AADS is the abbreviated form for Avaya Aura Device Service and is commonly used in the summary of the Apis. OIDC stands for OpenID Connect Discovery. ' - name: Avaya Cloud Office management description: 'APIs to manage Avaya Cloud Office element in voice service ' - name: Avaya Cloud Office SIP Trunks description: 'APIs to manage Avaya Cloud Office SIP Trunk element in voice service ' - name: Communication Manager description: 'Administration of Communication Manager configuration. These API are expected to be called by an account administrator. CM is the abbreviated form for Communication Manager and is commonly used in the summary of the Apis. ' - name: Comm Manager Job Details description: 'This API is used to get details of list of jobs or a single job for a specific Communication Manager. These API are expected to be called by an account administrator. ' - name: Country description: 'The countries in which available phone numbers are available. ' - name: Extension description: 'Management of non e164 Extension that are assigned to Account. These API are expected to be called by an account administrator. ' - name: Hybrid Extension description: 'Management of hybrid extensions assigned to users. These API are expected to be called by an account administrator. ' - name: Hybrid Skill description: 'Administration of Hybrid Skills. These APIs are expected to be called by an account administrator. ' - name: Gateway Connection Manager description: 'Get Details of Gateway Connection Manager. These API are expected to be called by an account administrator. ' - name: Hybrid Cloud Gateway description: 'Administration of Avaya Hybrid Cloud Gateway. These API are expected to be called by an account administrator. HCG is the abbreviated form for Hybrid Cloud Gateway and is commonly used in the summary of the APIs. ' - name: Hybrid Cloud Manager description: Administration of Hybrid Cloud Manager.This API is expected to be called by an account administrator. - name: Location Profile description: 'This API is for managing location profiles. These API are expected to be called by an account administrator. ' - name: Agent Location description: 'Agent location Routing APIs for System Administrator. It will enable agents connecting from different countries to be able to go through specific trunks or connection. ' - name: Microsoft Teams management description: 'APIs to manage Microsoft Teams element in voice service. ' - name: Microsoft Teams SIP Trunks description: 'APIs to manage Microsoft Teams SIP Trunk element in voice service. ' - name: Outbound Number Routing Rules description: 'APIs to manage Outbound Call Number Routing Rules in voice service by an account administrator. ' - name: Phone Number description: 'Management of phone numbers that are the entry point for contact center voice engagements. Phone number can be assigned and released. ' - name: Reason Codes description: Reason codes are a set of codes that agents can select from agent desktop clients to further describe their current activity or state. Reason Codes consist of a unique codeName, codeNumber and codeType combination. This API is used to create, update, retrieve and delete NOT_READY, LOGOUT reason codes and CALL_WORK_CODES codes. - name: SIP Trunks description: 'This API is used to get list of all SIP trunk elements and update caller id for an account administrator. ' - name: Sync Aura Entities description: 'Set of API to initiate synchronization of data from Aura to AXP admin. These API are expected to be called by an account administrator. ' - name: System Manager description: 'Administration of System Manager. These API are expected to be called by an account administrator. ' - name: Voice Numbers And Extensions description: 'APIs to export the Voice Numbers and Agent Extensions and its associated fields in a CSV file for account administrator. ' - name: Voice Plan description: 'Represents Voice Plan of configured Communication Managers for Account Administrator. These API are expected to be called by an account administrator. ' paths: /accounts/{accountId}/avaya-aura-device-services: post: tags: - Avaya Aura Device Services summary: Creates an AADS Element description: '**This API requires the Account Administrator role.** Creates an Avaya Aura Device Service Element for specified account ' operationId: createAvayaAuraDeviceService parameters: - $ref: '#/components/parameters/accountId' requestBody: content: application/json: schema: $ref: '#/components/schemas/AvayaAuraDeviceService' examples: default: $ref: '#/components/examples/AvayaAuraDeviceServiceReq' required: true responses: '202': description: Created content: application/json: schema: $ref: '#/components/schemas/AvayaAuraDeviceServiceResponse' examples: default: $ref: '#/components/examples/AvayaAuraDeviceServiceRes' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '500': $ref: '#/components/responses/InternalServerError' get: tags: - Avaya Aura Device Services summary: Gets a list of all AADS description: '**This API requires the Account Administrator role.** Returns the list of all available Avaya Aura Device Service Elements by account Id ' operationId: getAllAvayaAuraDeviceService parameters: - $ref: '#/components/parameters/accountId' - name: filter in: query required: false description: "Specifies details of a row filter.\n\n The possible fields that can be filtered on are:\n * name\n\n\ The allowed format:\n - Begins with the column name to be filtered, followed by a colon, then:\n - Either an\ \ exact string to match, or\n - A string expression including the * wildcard character\n - :{PREFIX}* will\ \ be used to find out word start with.\n - :*{POSTFIX} will be used to find out word end with\n - : will\ \ be used to match exact word\n - Begin with column name to be filtered, followed by a = operator. (this will be\ \ used to match exact string)\n" schema: type: string maxLength: 255 examples: exact: description: Example of filtering based on an exact string. value: name=AADS123 prefix: description: Example of filtering based on a prefix string. value: name:AADS1* postfix: description: Example of filtering based on a postfix string. value: name:*AADS - name: orderBy in: query required: false description: 'Field name on which ordering needs to be performed. The default order is ascending. The possible fields that can be ordered on are: * name Field Names are case-senstive (should be written as it is in description). To specify descending order, a suffix " desc" should be added. For example, "name" for ascending or "name desc" for descending". ' schema: type: string default: name maxLength: 255 examples: ascending: value: name descending: value: name desc responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/AvayaAuraDeviceServices' examples: default: $ref: '#/components/examples/AvayaAuraDeviceServicesRes' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError' /accounts/{accountId}/avaya-aura-device-services/{avayaAuraDeviceServiceId}: put: tags: - Avaya Aura Device Services summary: Updates an AADS Element description: '**This API requires the Account Administrator role.** Updates an existing Avaya Aura Device Service Element with unique id of the element by account id ' operationId: updateAvayaAuraDeviceService parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/avayaAuraDeviceServiceId' requestBody: content: application/json: schema: $ref: '#/components/schemas/AvayaAuraDeviceService' examples: default: $ref: '#/components/examples/AvayaAuraDeviceServiceReq' required: true responses: '202': description: OK content: application/json: schema: $ref: '#/components/schemas/AvayaAuraDeviceServiceResponse' examples: default: $ref: '#/components/examples/AvayaAuraDeviceServiceRes' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/Conflict' '500': $ref: '#/components/responses/InternalServerError' get: tags: - Avaya Aura Device Services summary: Gets the details of a AADS description: '**This API requires the Account Administrator role.** Returns the details of an Avaya Aura Device Service Element, based on unique id of the element and account id ' operationId: getAvayaAuraDeviceService parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/avayaAuraDeviceServiceId' responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/AvayaAuraDeviceService' examples: default: $ref: '#/components/examples/AvayaAuraDeviceServiceObj' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError' delete: tags: - Avaya Aura Device Services summary: Deletes an AADS Element description: '**This API requires the Account Administrator role.** Deletes an existing Avaya Aura Device Service Element identified by unique id of the element ' operationId: deleteAvayaAuraDeviceService parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/avayaAuraDeviceServiceId' responses: '202': description: Accepted '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '405': $ref: '#/components/responses/MethodNotAllowed' '500': $ref: '#/components/responses/InternalServerError' /accounts/{accountId}/avaya-aura-device-services:discoveryUrl: get: tags: - Avaya Aura Device Services summary: Gets the OIDC Url description: '**This API requires the Account Administrator role.** Returns the OpenID Connect Discovery Url, based on account id ' operationId: getOpenIDConnectDiscovery parameters: - $ref: '#/components/parameters/accountId' responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/OpenIDConnectDiscovery' examples: default: $ref: '#/components/examples/OpenIDConnectDiscoveryRes' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError' /accounts/{accountId}/aco-elements: post: tags: - Avaya Cloud Office management summary: Create Avaya Cloud Office description: "**This API requires the Account Administrator role.**\n\nAdd a new Avaya Cloud Office element with required\ \ ACO Server data.\n\nOnly one instance of Avaya Cloud Office element can be created for an account.\n\nThe following\ \ field must be unique otherwise a `HTTP 409 Conflict` will be returned:\n * `name`\n\n Will trigger asynchronous\ \ updates, the status of which should be monitored via `GET /aco-elements/{elementId}`.\n" operationId: createAco parameters: - $ref: '#/components/parameters/accountId' requestBody: description: Avaya Cloud Office content: application/json: schema: $ref: '#/components/schemas/ACOElement' examples: ACO: $ref: '#/components/examples/ACORequest' required: true responses: '202': description: Accepted content: application/json: schema: $ref: '#/components/schemas/ACOElement' examples: ACO: $ref: '#/components/examples/ACOResponse' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/ErrorACOExists' '500': $ref: '#/components/responses/InternalServerError' /accounts/{accountId}/aco-elements/{elementId}: put: tags: - Avaya Cloud Office management summary: Update Avaya Cloud Office description: "**This API requires the Account Administrator role.**\n\n Update an existing Avaya Cloud Office element\ \ by unique element Id and ACO server details.\n\n\n Will trigger asynchronous updates, the status of which should\ \ be monitored via `GET /aco-elements/{elementId}`.\n" operationId: updateAco parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/elementId' requestBody: content: application/json: schema: $ref: '#/components/schemas/ACOElement' examples: ACO: $ref: '#/components/examples/ACORequest' required: true responses: '202': description: Accepted content: application/json: schema: $ref: '#/components/schemas/ACOElement' examples: ACO: $ref: '#/components/examples/ACOResponse' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/ErrorACOExists' '500': $ref: '#/components/responses/InternalServerError' get: tags: - Avaya Cloud Office management summary: Get Avaya Cloud Office description: "**This API requires the Account Administrator role.**\n\n Get an existing Avaya Cloud Office element\ \ by unique element Id\n" operationId: getAco parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/elementId' responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/ACOElement' examples: ACO: $ref: '#/components/examples/ACOResponse' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError' delete: tags: - Avaya Cloud Office management summary: Delete Avaya Cloud Office description: "**This API requires the Account Administrator role.**\n\n Delete an existing Avaya Cloud Office instance\ \ by unique element Id\n" operationId: deleteAco parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/elementId' responses: '204': description: No Content '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError' /accounts/{accountId}/msteams-elements: post: tags: - Microsoft Teams management summary: Create MS Teams description: "**This API requires the Account Administrator role.**\n\nAdd a new MS Teams element for an Account with\ \ required data.\n\nOnly one instance of Microsoft Teams element can be created for an account.\n\nThe following field\ \ must be unique otherwise a `HTTP 409 Conflict` will be returned:\n * `name`\n\n Will trigger asynchronous updates,\ \ the status of which should be monitored via `GET /msteams-elements/{elementId}`.\n" operationId: createMSTeams parameters: - $ref: '#/components/parameters/accountId' requestBody: description: Microsoft Teams content: application/json: schema: $ref: '#/components/schemas/MSTeamsElement' examples: MSTeams: $ref: '#/components/examples/MSTeamsRequest' required: true responses: '202': description: Accepted content: application/json: schema: $ref: '#/components/schemas/MSTeamsElement' examples: MSTeams: $ref: '#/components/examples/MSTeamsResponse' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/ErrorMSTeamsExists' '500': $ref: '#/components/responses/InternalServerError' /accounts/{accountId}/msteams-elements/{elementId}: put: tags: - Microsoft Teams management summary: Update MS Teams description: "**This API requires the Account Administrator role.**\n\nUpdate existing MS Teams element for an Account\ \ with required data.\n\n\n Will trigger asynchronous updates, the status of which should be monitored via `GET /msteams-elements/{elementId}`.\n" operationId: updateMSTeams parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/elementId' requestBody: description: Refer MSTeamsElement model content: application/json: schema: $ref: '#/components/schemas/MSTeamsElement' examples: MSTeams: $ref: '#/components/examples/MSTeamsRequest' required: true responses: '202': description: Accepted content: application/json: schema: $ref: '#/components/schemas/MSTeamsElement' examples: MSTeams: $ref: '#/components/examples/MSTeamsResponse' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/ErrorMSTeamsExists' '500': $ref: '#/components/responses/InternalServerError' get: tags: - Microsoft Teams management summary: Get MS Teams description: '**This API requires the Account Administrator role.** Get an existing MS Teams server instance by element Id. ' operationId: getMSTeams parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/elementId' responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/MSTeamsElement' examples: MSTeams: $ref: '#/components/examples/MSTeamsResponse' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError' delete: tags: - Microsoft Teams management summary: Delete MS Teams description: '**This API requires the Account Administrator role.** Delete an existing MS Teams server instance by element Id. ' operationId: deleteMSTeams parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/elementId' responses: '204': description: No Content '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError' /accounts/{accountId}/outbound-routing-rules: post: tags: - Outbound Number Routing Rules summary: Add Routing Rules description: "**This API requires the Account Administrator role.**\n\nThe following field must be unique otherwise\ \ a `HTTP 409 Conflict` will be returned:\n * `priority`\n\nCreates Outbound Call Number Routing Rules for mixed\ \ type of MPC trunks.\n" operationId: createOutboundRoutingRule parameters: - $ref: '#/components/parameters/accountId' requestBody: content: application/json: schema: $ref: '#/components/schemas/OutboundRoutingRule' examples: OutboundRoutingRules: $ref: '#/components/examples/OutboundRoutingRules' required: true responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/OutboundRoutingRule' examples: OutboundRoutingRuleResponse: $ref: '#/components/examples/OutboundRoutingRuleResponse' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/ErrorOutboundDuplicatePriorityExists' '500': $ref: '#/components/responses/InternalServerError' put: tags: - Outbound Number Routing Rules summary: Update Bulk Routing Rules description: "**This API requires the Account Administrator role.**\n\nThe following field must be unique otherwise\ \ a `HTTP 409 Conflict` will be returned:\n * `priority`\n\nUpdates Outbound Call Number Routing Rules for mixed\ \ type of MPC trunks.\n" operationId: bulkUpdateOutboundRoutingRule parameters: - $ref: '#/components/parameters/accountId' requestBody: content: application/json: schema: type: array maxItems: 100 items: $ref: '#/components/schemas/BulkUpdateOutboundRoutingRule' example: - id: c8c2909d-75e9-484a-94c0-b7e8d29771fe type: NUMBER_PREFIX priority: 4 prefix: '+1' minLength: 1 maxLength: 50 sipTrunkId: c8c2909d-75e9-484a-94c0-b7e8d29771fe callerId: c8c2909d-75e9-484a-94c0-b7e8d29771fe isoCountry: IN-MH locationIds: - c8c2909d-75e9-484a-94c0-b7e8d29771fe - id: c8c2909d-75e9-484a-94c0-b7e8d29771ff type: NUMBER_PREFIX priority: 2 prefix: '+1' minLength: 1 maxLength: 50 sipTrunkId: c8c2909d-75e9-484a-94c0-b7e8d29771ff callerId: c8c2909d-75e9-484a-94c0-b7e8d29771ff isoCountry: IN-MH locationIds: - c8c2909d-75e9-484a-94c0-b7e8d29771fe required: true responses: '200': description: OK content: application/json: schema: type: array maxItems: 100 items: $ref: '#/components/schemas/BulkUpdateOutboundRoutingRule' example: - id: c8c2909d-75e9-484a-94c0-b7e8d29771fe type: NUMBER_PREFIX priority: 4 prefix: '+1' minLength: 1 maxLength: 50 sipTrunkId: c8c2909d-75e9-484a-94c0-b7e8d29771fe callerId: c8c2909d-75e9-484a-94c0-b7e8d29771fe isoCountry: IN-MH locationIds: - c8c2909d-75e9-484a-94c0-b7e8d29771fe - id: c8c2909d-75e9-484a-94c0-b7e8d29771ff type: NUMBER_PREFIX priority: 2 prefix: '+1' minLength: 1 maxLength: 50 sipTrunkId: c8c2909d-75e9-484a-94c0-b7e8d29771ff callerId: c8c2909d-75e9-484a-94c0-b7e8d29771ff isoCountry: IN-MH locationIds: - c8c2909d-75e9-484a-94c0-b7e8d29771fe '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/ErrorOutboundDuplicatePriorityExists' '500': $ref: '#/components/responses/InternalServerError' get: tags: - Outbound Number Routing Rules summary: List Outbound Routing Rules description: '**This API requires the Account Administrator role.** Get list of outbound routing rules for different SIP trunks. ' operationId: listOutboundRoutingRule parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/pageNumber' - name: pageSize in: query description: The max number of records to retrieve per page. Default value is 5, Any value like 5,10,15,20,25,30 is allowed. If value comes more than 100 then max 100 records will be returned. required: false schema: type: integer format: int32 example: 5 default: 5 minimum: 1 maximum: 100 - name: filter in: query required: false description: "The possible fields you can filter on are type,priority,prefix,minLength,maxLength,callerId,trunkId,isoCountryCode.\ \ \nThe allowed format:\n- Begins with the field name to be filtered, followed by a colon and:\n - Either an exact\ \ string to match, or\n - A string expression including the * wildcard character\n\nExamples include 'callerId:+35311234567',\ \ 'isoCountryCode:IN'\n" schema: type: string example: isoCountryCode:IN maxLength: 255 - name: orderBy in: query required: false description: 'The possible fields you can filter on are type,priority,prefix,minLength,maxLength,callerId,trunkId,isoCountryCode. Specifies how response data should be sorted. Field Names are case-senstive (should be written as it is in description). To specify descending order, a suffix " desc" should be added. For example, "priority asc" for ascending or "priority desc" for descending". The default sorting order is priority ascending. ' schema: type: string default: priority maxLength: 255 examples: orderByPriorityInDescendingOrder: value: priority desc summary: sort data based on priority in descending order orderByPriorityInAscendingOrder: value: priority summary: sort data based on priority in ascending order responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/OutboundRoutingRulePage' examples: OutboundRoutingRulePageResponse: $ref: '#/components/examples/OutboundRoutingRulePageResponse' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError' /accounts/{accountId}/outbound-routing-rules/{routingRuleId}: get: tags: - Outbound Number Routing Rules summary: Get Routing Rule description: '**This API requires the Account Administrator role.** Get existing single outbound routing rule. ' operationId: getOutboundRoutingRule parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/routingRuleId' responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/OutboundRoutingRule' examples: default: $ref: '#/components/examples/OutboundRoutingRuleResponse' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError' put: tags: - Outbound Number Routing Rules summary: Update Routing Rule description: '**This API requires the Account Administrator role.** Update the existing outbound routing rule. ' operationId: updateOutboundRoutingRule parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/routingRuleId' requestBody: description: '**This API requires the Account Administrator role.** Update existing outbound routing rule for mixed type of MPC trunks. ' content: application/json: schema: $ref: '#/components/schemas/UpdateOutboundRoutingRule' examples: OutboundRoutingRules: $ref: '#/components/examples/UpdateOutboundRoutingRule' required: true responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/OutboundRoutingRule' examples: default: $ref: '#/components/examples/OutboundRoutingRuleResponse' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/ErrorOutboundDuplicatePriorityExists' '500': $ref: '#/components/responses/InternalServerError' delete: tags: - Outbound Number Routing Rules summary: Delete Routing Rule description: '**This API requires the Account Administrator role.** Delete the existing outbound routing rule. ' operationId: deleteOutboundRoutingRule parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/routingRuleId' responses: '204': description: No Content '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError' /accounts/{accountId}/msteams-sip-trunk-elements/{elementId}: get: tags: - Microsoft Teams SIP Trunks summary: Get MS Teams SIP Trunk description: '**This API requires the Account Administrator role.** Get an existing Microsoft Teams SIP Trunk instance by element Id. ' operationId: getMSTeamsSIPTrunk parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/elementId' responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/MSTeamsSIPTrunkResponse' examples: MSTeamsSIPTrunk: $ref: '#/components/examples/MSTeamsSIPTrunkResponse' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError' /accounts/{accountId}/aco-sip-trunk-elements/{elementId}: get: tags: - Avaya Cloud Office SIP Trunks summary: Get ACO SIP Trunk description: '**This API requires the Account Administrator role.** Get an existing Avaya Cloud Office(ACO) SIP Trunk instance by element Id. ' operationId: getACOSIPTrunk parameters: - $ref: '#/components/parameters/accountId' - $ref: '#/components/parameters/elementId' responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/ACOSIPTrunkResponse' examples: ACOSIPTrunk: $ref: '#/components/examples/ACOSIPTrunkResponse' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError' /accounts/{accountId}/available-phone-numbers: get: tags: - Available Phone Numbers summary: List Available Numbers description: '**This API requires the Account Administrator role.** List available phone numbers ' operationId: listAvailablePhoneNumbers parameters: - $ref: '#/components/parameters/accountId' - name: countryCode in: query description: 'Two letter ISO country code present here "https://www.iban.com/country-codes". Not all code supported which are listed here. ' required: true schema: type: string minLength: 2 maxLength: 2 pattern: ^[A-Z]{2}$ example: US - $ref: '#/components/parameters/type' - name: areaCode in: query description: Filters list of available numbers based on area code. required: false schema: type: string example: '330' minLength: 1 maxLength: 5 - name: phoneNumber in: query description: Specifies the desired characters contained within the available numbers to list. required: false schema: type: string minLength: 1 maxLength: 15 example: '+16479308804' - $ref: '#/components/parameters/pageNumber' - $ref: '#/components/parameters/pageSize' responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/AvailablePhoneNumberPage' examples: PhoneNumbers: $ref: '#/components/examples/AvailablePhoneNumberPage' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError' /accounts/{accountId}/phone-numbers: post: tags: - Phone Number summary: Add Number description: "**This API requires the Account Administrator role.**\n\n Assign phone number which is available.\n The\ \ following field must be unique otherwise a `HTTP 409 Conflcit` will be returned:\n* `phoneNumber`\n\n\nWill trigger\ \ asynchronous updates, the status of which should be monitored via `/phone-numbers/{phoneNumberId}`.\n" operationId: addPhoneNumber parameters: - $ref: '#/components/parameters/accountId' requestBody: content: application/json: schema: $ref: '#/components/schemas/PhoneNumber' examples: PhoneNumber: $ref: '#/components/examples/PhoneNumberRequest' required: true responses: '202': description: Accepted content: application/json: schema: $ref: '#/components/schemas/PhoneNumber' examples: PhoneNumber INPROGRESS Status Response: $ref: '#/components/examples/PhoneNumberInProgressResponse' '400': $ref: '#/components/responses/ErrorConstraintViolation' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' '404': $ref: '#/components/responses/NotFound' '409': $ref: '#/components/responses/ErrorPhoneNumberExists' '500': $ref: '#/components/responses/InternalServerError' get: tags: - Phone Number summary: List Numbers description: '**This API requires the Account Administrator role.** List phone numbers with accountId ' operationId: searchPhoneNumbers parameters: - name: accountId description: The unique 6 character internal id that represents the customer account required: true in: path schema: type: string minLength: 1 maxLength: 6 example: ABCDEF - $ref: '#/components/parameters/pageNumber' - $ref: '#/components/parameters/pageSize' - name: filter in: query required: false description: "The possible fields you can filter on are phoneNumber, displayName, countryCode, type and status. The\ \ allowed format:\n- Begins with the field name to be filtered, followed by a colon and:\n - Either an exact string\ \ to match, or\n - A string expression including the * wildcard character\n\nExamples include 'phoneNumber:+35311234567',\ \ 'countryCode:IN'\n" schema: type: string example: countryCode:IN maxLength: 255 pattern: (([a-zA-Z]+[:=!]+[\*]*[^,*]*[\*]*[,]{0,1}){1}){1,}[^,]$ - name: orderBy in: query required: false description: 'Field name on which ordering needs to be performed. The possible fields that can be ordered by are phoneNumber, displayName, countryCode, type. Field names are case-sensitive (should be written as it is in description). The default sorting order is ''phoneNumber ascending''. To specify descending order, a suffix '' desc'' should be appended. For example, "name" for ascending or "name desc" for descending". ' schema: type: string example: phoneNumber maxLength: 255 pattern: ([a-zA-Z]+[,]*|([a-zA-Z]+(( asc)|( desc))[,]*){1,})+(?Problem Detail as a way to carry machine-readable details of errors in a HTTP response to avoid the need to define new error response formats for HTTP APIs RFC 7807 ' properties: type: type: string format: uri description: 'An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type (e.g., using HTML). ' default: about:blank example: https://developers.avayacloud.com/onecloud-ccaas/docs/error-handling#constraint-violation title: type: string description: 'A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized). ' example: Service Unavailable nullable: true status: type: integer format: int32 description: 'The HTTP status code generated by the origin server for this occurrence of the problem. ' minimum: 100 maximum: 600 exclusiveMaximum: true example: 503 nullable: true detail: type: string description: 'A human readable explanation specific to this occurrence of the problem. ' example: Connection to database timed out nullable: true instance: type: string format: uri description: 'An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. ' nullable: true violations: type: array description: 'A list of violations that occurred as a result of invalid data provided as part of a request. ' nullable: true items: type: object properties: field: type: string description: 'The name of the field in the request that caused the violation. This can be the name of a path parameter, query parameter, or a field within the request body. ' example: accountId message: type: string description: 'A human readable explanation specific to this occurrence of the violation. ' example: must match "^[a-zA-Z]{6}$" code: type: integer format: int32 description: 'The violation code generated by the server for this occurrence of the violation. Use this code when implementing any error handling logic instead of the message, as the message can change. ' example: 20006 example: - field: emailAddress message: must not be null code: 20002 - field: accountId message: must match "^[a-zA-Z]{6}$" code: 20006 PhoneNumberPage: description: Paginated Phone Numbers type: object properties: pagination: $ref: '#/components/schemas/Pagination' phoneNumbers: type: array items: $ref: '#/components/schemas/PhoneNumber' links: allOf: - $ref: '#/components/schemas/Links' example: prev: /api/admin/voice/v1/accounts/ABCDEF/phone-numbers?pageNumber=1&pageSize=10 next: /api/admin/voice/v1/accounts/ABCDEF/phone-numbers?pageNumber=3&pageSize=10 PhoneNumber: type: object description: PhoneNumber of an Account. properties: phoneNumberId: type: string example: c8c2909d-75e9-484a-94c0-b7e8d29771fe description: The unique 36 character internal id that represents the phone number. readOnly: true phoneNumber: type: string pattern: ^\+[1-9]\d{3,13}$ description: The phone number in the E.164 format example: '+16479308804' minLength: 5 maxLength: 15 displayName: type: string maxLength: 255 description: Domestic format version of the phone number or any suitable name that will identify the number easily. example: private Number countryCode: type: string description: ISO Country code for number. minLength: 2 maxLength: 2 pattern: ^[A-Z]{2}$ example: US type: type: string description: Phone number type. Possible values are LOCAL, TOLLFREE and UNKNOWN (when status is INPROGRESS). example: LOCAL readOnly: true accountId: type: string description: accountId for which Number is assigned. example: ABCDEF readOnly: true isCallingPartyNumber: type: boolean description: Indicates whether the number is caller Id. example: true status: type: string description: Indicates that number is active or inactive example: INACTIVE enum: - ACTIVE - INACTIVE - INPROGRESS - DISABLED - FAILED readOnly: true statusMessage: type: string description: status message for INACTIVE Number. example: Verification needed. Please send the necessary documents to siptrunksupport@avaya.com to activate it. readOnly: true preferredMediaLocation: type: string description: Preferred media location set by tenant instead of default coming from CPaaS. example: US-LA minLength: 1 maxLength: 7 PhoneNumberListRequest: title: PhoneNumberListRequest type: array description: List of Phone number Ids maxItems: 1000 items: type: string description: The unique 36 character internal id that represents the phone number. format: uuid example: c8c2909d-75e9-484a-94c0-b7e8d29771fe PhoneNumberListResponse: title: PhoneNumberListResponse type: array description: List of Phone Number Objects maxItems: 1000 items: $ref: '#/components/schemas/PhoneNumber' PhoneNumberValidateRequest: title: PhoneNumberValidateRequest type: array description: List of Phone number Ids maxItems: 1000 items: type: string description: The unique 36 character internal id that represents the phone number. format: uuid example: c8c2909d-75e9-484a-94c0-b7e8d29771fe ValidatePhoneNumber: title: ValidatePhoneNumber type: object description: Phone Number Id with message properties: id: type: string description: Phone Number Id example: c8c2909d-75e9-484a-94c0-b7e8d29771fe message: type: string example: Doesn't exist in database description: short description about phone number if it is invalid PhoneNumberValidateResponse: title: PhoneNumberValidateResponse type: object description: Validate Phone Number Response properties: valid: type: array items: $ref: '#/components/schemas/ValidatePhoneNumber' invalid: type: array items: $ref: '#/components/schemas/ValidatePhoneNumber' PhoneNumbersDetailsRequest: title: PhoneNumbersDetailsRequest type: array description: List of Phone numbers maxItems: 1000 items: type: string description: Actual phone number. example: '+168739874' OutboundRoutingRulePage: title: OutboundRoutingRulePage type: object description: Outbound Routing Rule filtered response properties: pagination: $ref: '#/components/schemas/Pagination' outboundRoutingRules: type: array maxItems: 50 items: $ref: '#/components/schemas/OutboundRoutingRule' links: allOf: - $ref: '#/components/schemas/Links' example: prev: /api/admin/voice/v1/accounts/ABCDEF/outbound-routing-rules?pageNumber=1&pageSize=10 next: /api/admin/voice/v1/accounts/ABCDEF/outbound-routing-rules?pageNumber=3&pageSize=10 BulkUpdateOutboundRoutingRule: type: object description: Outbound Routing Rule Model. required: - id - type - priority - prefix - minLength - maxLength properties: id: type: string example: c8c2909d-75e9-484a-94c0-b7e8d29771fe description: The unique 36 character internal id that represents the Outbound Routing Rule. readOnly: true type: type: string description: The Number type can be Phone Number. enum: - NUMBER_PREFIX priority: type: integer description: The priority for Outbound Routing Rule example: 1 prefix: type: string description: The prefix for Outbound Routing Rule example: '+1' minLength: 1 maxLength: 50 minLength: type: integer description: The minimum String Length for Outbound Routing Rule example: '7' minimum: 1 maximum: 50 maxLength: type: integer description: The maximum String Length for Outbound Routing Rule example: '50' minimum: 1 maximum: 50 sipTrunkId: type: string maxLength: 50 example: c8c2909d-75e9-484a-94c0-b7e8d29771fe description: The unique uuid that represents the different type of SIP Trunk like MS Teams, ACO etc. callerId: type: string maxLength: 50 example: c8c2909d-75e9-484a-94c0-b7e8d29771fe description: The unique id of DNIS Details fetched from CPaas Server isoCountry: type: string example: IN-MH description: 'ISO 3166-2 location code for country and region. For various country and region codes, check : https://www.iso.org/obp/ui/#search' minLength: 1 maxLength: 7 locationIds: type: array maxItems: 20 items: type: string description: List of Agent Locations Id example: - c8c2909d-75e9-484a-94c0-b7e8d29771fe - c8c2909d-75e9-484a-94c0-b7e8d29771fe UpdateOutboundRoutingRule: type: object description: Outbound Routing Rule Model. required: - type - priority - prefix - minLength - maxLength properties: id: type: string example: c8c2909d-75e9-484a-94c0-b7e8d29771fe description: The unique 36 character internal id that represents the Outbound Routing Rule. readOnly: true type: type: string description: The Number type can be Phone Number. enum: - NUMBER_PREFIX priority: type: integer description: The priority for Outbound Routing Rule example: 1 prefix: type: string description: The prefix for Outbound Routing Rule example: '+1' minLength: 1 maxLength: 50 minLength: type: integer description: The minimum String Length for Outbound Routing Rule example: '7' minimum: 1 maximum: 50 maxLength: type: integer description: The maximum String Length for Outbound Routing Rule example: '50' minimum: 1 maximum: 50 sipTrunkId: type: string maxLength: 50 example: c8c2909d-75e9-484a-94c0-b7e8d29771fe description: The unique uuid that represents the different type of SIP Trunk like MS Teams, ACO etc. callerId: type: string maxLength: 50 example: c8c2909d-75e9-484a-94c0-b7e8d29771fe description: The unique id of DNIS Details fetched from CPaas Server isoCountry: type: string example: IN-MH description: 'ISO 3166-2 location code for country and region. For various country and region codes, check : https://www.iso.org/obp/ui/#search' minLength: 1 maxLength: 7 locationIds: type: array maxItems: 20 items: type: string description: List of Agent Location Id example: - c8c2909d-75e9-484a-94c0-b7e8d29771fe - c8c2909d-75e9-484a-94c0-b7e8d29771fe OutboundRoutingRule: type: object description: Outbound Routing Rule Model. required: - type - prefix - minLength - maxLength properties: id: type: string example: c8c2909d-75e9-484a-94c0-b7e8d29771fe description: The unique 36 character internal id that represents the Outbound Routing Rule. readOnly: true type: type: string description: The Number type can be Phone Number. enum: - NUMBER_PREFIX priority: type: integer description: The priority for Outbound Routing Rule example: 1 prefix: type: string description: The prefix for Outbound Routing Rule example: '+1' minLength: 1 maxLength: 50 minLength: type: integer description: The minimum String Length for Outbound Routing Rule example: '7' minimum: 1 maximum: 50 maxLength: type: integer description: The maximum String Length for Outbound Routing Rule example: '50' minimum: 1 maximum: 50 sipTrunkId: type: string maxLength: 50 example: c8c2909d-75e9-484a-94c0-b7e8d29771fe description: The unique uuid that represents the different type of SIP Trunk like MS Teams, ACO etc. callerId: type: string maxLength: 50 example: c8c2909d-75e9-484a-94c0-b7e8d29771fe description: The Unique id of DNIS Details fetched from CPaas Server isoCountry: type: string example: IN-MH description: 'ISO 3166-2 location code for country and region. For various country and region codes, check : https://www.iso.org/obp/ui/#search' minLength: 1 maxLength: 7 locationIds: type: array maxItems: 20 items: type: string description: List of Agent Location Id example: - c8c2909d-75e9-484a-94c0-b7e8d29771fe - c8c2909d-75e9-484a-94c0-b7e8d29771fe AvailablePhoneNumberPage: description: Paginated Available Phone Numbers type: object properties: pagination: $ref: '#/components/schemas/Pagination' phoneNumbers: type: array items: $ref: '#/components/schemas/AvailablePhoneNumber' links: allOf: - $ref: '#/components/schemas/Links' example: prev: /api/admin/voice/v1/accounts/ABCDEF/available-phone-numbers?pageNumber=1&pageSize=10 next: /api/admin/voice/v1/accounts/ABCDEF/available-phone-numbers?pageNumber=3&pageSize=10 AvailablePhoneNumber: type: object description: Available PhoneNumber to assign. properties: phoneNumber: type: string description: The phone number in the E.164 format example: '+16479308804' readOnly: true countryCode: type: string description: ISO Country code for number. example: US readOnly: true type: type: string description: Phone number type. readOnly: true enum: - LOCAL - TOLLFREE documentationRequired: type: boolean description: If true it indicates that additional documentation is required for phone number. readOnly: true example: true Pagination: type: object properties: pageNumber: type: integer description: The current page number. pageSize: type: integer description: The max number of records that can be retrieved on this page. total: type: integer description: The total number of records. Links: type: object properties: prev: type: string description: URL of the previous page. Blank if currently on the first page. next: type: string description: URL of the next page. Blank if currently on the last page. UpdatePhoneNumber: type: object description: PhoneNumber Update request. properties: displayName: type: string description: Domestic format version of the phone number or any suitable name that will identify the number easily. maxLength: 255 example: private Number isCallingPartyNumber: type: boolean description: Indicates whether the number is caller Id. example: true preferredMediaLocation: type: string description: Preferred media location set by tenant instead of default coming from CPaaS. example: US-LA minLength: 1 maxLength: 7 Countries: description: List of country codes. type: array items: type: string description: Country codes in ISO 3166, Alpha-2 international standard. example: IE example: - IE - UK AuraSyncRequest: type: object description: Aura Synchronization request. required: - entities properties: entities: type: array maxItems: 10 items: $ref: '#/components/schemas/AuraEntity' name: type: string example: FullSync_SYNC_Mon Feb 27 10:13:22 GMT 2023 maxLength: 255 description: The name of the job. If not provided, job name is set using pattern 'FullSync_{JOBTYPE}_{GMT_DateTime}' AuraEntity: type: string enum: - AGENT - EXTENSION - VDN - REASONCODE_AUX - REASONCODE_LOGOUT - SYSTEM_PARAMETER_FEATURES description: Name of entity that need to be synchronized from Communication Manager. example: AGENT AuraSyncResponse: description: Aura Synchronization response to notify that sync request accepted. type: object properties: jobId: description: An unique id mapped to each Aura Synchronization job. type: string example: 55b1dc7f-38c3-48cf-9146-8cbed5622735 minLength: 36 maxLength: 36 pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ url: description: Details of Aura Synchronization job type: string example: /api/admin/voice/v1/accounts/HGEOAV/communication-managers/90b1dc7f-38c3-98cf-8672-8cbed5698690/jobs/55b1dc7f-38c3-48cf-9146-8cbed5622735 maxLength: 2048 title: AuraSyncResponse Extension: type: object required: - displayName - number description: Extension number of an Account properties: id: type: string example: c8c2909d-75e9-484a-94c0-b7e8d29771fe description: The unique 36 character internal id that represents the extension id readOnly: true format: uuid number: type: string example: '914565637786' description: The extension number in non e164 format unique per tenant. minLength: 4 maxLength: 16 pattern: ^[0-9]{4,16}$ displayName: type: string maxLength: 255 description: suitable name that will identify the number easily unique per tenant. example: Jon Extension ExtensionNumberPage: description: Paginated Extension Numbers type: object properties: pagination: $ref: '#/components/schemas/Pagination' extensions: type: array items: $ref: '#/components/schemas/Extension' links: allOf: - $ref: '#/components/schemas/Links' example: prev: /api/admin/voice/v1/accounts/ABCDEF/extensions?pageNumber=1&pageSize=10 next: /api/admin/voice/v1/accounts/ABCDEF/extensions?pageNumber=3&pageSize=10 ExtensionPage: type: object description: Extension filtered response properties: pagination: $ref: '#/components/schemas/Pagination' resources: type: array items: $ref: '#/components/schemas/ExtensionResponse' links: allOf: - $ref: '#/components/schemas/Links' example: prev: /api/admin/voice/v1/accounts/ASDJGE/communication-managers/a4c2c9b5-0e47-491d-b139-dc48cccdea72/extensions?pageNumber=1&pageSize=10 next: /api/admin/voice/v1/accounts/ASDJGE/communication-managers/a4c2c9b5-0e47-491d-b139-dc48cccdea72/extensions?pageNumber=2&pageSize=10 ExtensionResponse: type: object properties: id: type: string format: uuid description: Unique Extension uuid. example: 1f15835f-1365-4913-acf3-0ffd0767ad6e readOnly: true number: type: integer format: int64 description: Extension number example: 50003456 minimum: 1 maximum: 10000000000000000 name: type: string description: Extension name example: Jon Extension maxLength: 27 loginId: type: array items: type: string description: Extension to user id association. example: user@avaya.com Job: type: object description: Details of a single job properties: id: type: string format: uuid readOnly: true example: fa703a3a-3dfb-4606-ae79-fd0fe0be3e64 description: The unique id of the job. name: type: string example: FullSync_SYNC_Mon Feb 27 10:13:22 GMT 2023 description: The name of the job. If not provided, job name is set using pattern 'FullSync_{JOBTYPE}_{GMT_DateTime}' type: type: string description: The type of job. enum: - SYNC - INCREMENTAL_SYNC example: SYNC statusCode: type: string description: Status code of the job enum: - QUEUED - IN_PROGRESS - COMPLETED - TIMEOUT_FAILED - FAILED - NEEDS_ACTION example: IN_PROGRESS statusMessage: type: string description: Success or Failure message of job example: Synchronization completed createdAt: type: string readOnly: true format: date-time description: Specifies the date-time in UTC format when the job was created example: 2020-04-21T17:40:28z updatedAt: type: string readOnly: true format: date-time description: Specifies the date-time in UTC format when the job was last updated example: 2020-04-21T17:40:28z JobDetails: type: object description: Details of a single job properties: jobEntityDetails: type: array items: $ref: '#/components/schemas/JobEntityDetails' JobEntityDetails: type: object description: Details of the entities pertaining to a job properties: entityType: type: string enum: - AGENT - EXTENSION - VDN - REASONCODE_AUX - REASONCODE_LOGOUT - SYSTEM_PARAMETER_FEATURES description: Name of job entity example: AGENT entityStatus: type: string enum: - COMPLETED - FAILED - IN_PROGRESS - CREATED - UPDATED - DELETED - CREATE_IN_PROGRESS - UPDATE_IN_PROGRESS - DELETE_IN_PROGRESS - NEEDS_ACTION description: Status of job entity example: COMPLETED entitySyncDetails: type: array items: $ref: '#/components/schemas/SyncEntityDetails' SyncEntityDetails: type: object properties: entityCount: type: integer format: int64 description: The total number of objects of an entity received in job response example: 20 statusCode: type: string description: Status of the job entity enum: - IN_PROGRESS - FAILED - COMPLETED - CREATED - UPDATED - DELETED - CREATE_IN_PROGRESS - UPDATE_IN_PROGRESS - NEEDS_ACTION example: COMPLETED statusMessage: type: string description: Success or Failure message of the job entity example: Synchronization completed SyncEntityDetailsPage: type: object description: List of sync entity details data properties: pagination: $ref: '#/components/schemas/Pagination' syncEntityDetails: type: array items: $ref: '#/components/schemas/SyncEntityData' links: allOf: - $ref: '#/components/schemas/Links' example: prev: /api/admin/voice/v1/accounts/ASDJGE/communication-managers/a4c2c9b5-0e47-491d-b139-dc48cccdea72/jobs?entityType=AGENT&pageNumber=1&pageSize=10 next: /api/admin/voice/v1/accounts/ASDJGE/communication-managers/a4c2c9b5-0e47-491d-b139-dc48cccdea72/jobs?entityType=AGENTpageNumber=3&pageSize=10 SyncEntityData: type: object description: Details of sync entity data properties: id: type: string readOnly: true entityType: type: string enum: - AGENT - EXTENSION - REASONCODE - SYSTEM_PARAMETER_FEATURES readOnly: true description: Type of the entity example: AGENT entityData: $ref: '#/components/schemas/EntityData' createdAt: type: string readOnly: true format: date-time description: Specifies the date-time in UTC format when the job was created example: 2020-04-21T17:40:28z updateAt: type: string readOnly: true format: date-time description: Specifies the date-time in UTC format when the job was created example: 2020-04-21T17:42:28z statusCode: type: string description: Status of sync entity enum: - COMPLETED - FAILED - IN_PROGRESS - CREATED - UPDATED - DELETED - CREATE_IN_PROGRESS - UPDATE_IN_PROGRESS - NEEDS_ACTION example: COMPLETED statusMessage: type: string description: Message status of sync entity example: Successfully synced EntityData: type: object description: details for entity data properties: agent: $ref: '#/components/schemas/AgentSyncData' extension: $ref: '#/components/schemas/ExtensionSyncData' reasonCode: $ref: '#/components/schemas/ReasonCodeSyncData' systemParameterFeatures: $ref: '#/components/schemas/SystemParameterFeaturesSyncData' AgentSyncData: type: object properties: name: type: string description: Name of agent example: agent001 number: type: string description: Number assigned to agent example: '101' loginId: type: string description: Login Id of the associated user example: user@avaya.com ExtensionSyncData: type: object properties: name: type: string description: Name of extention example: extention002 number: type: string description: Number assigned to extention example: '102' ReasonCodeSyncData: type: object properties: name: type: string description: Name of reason code example: rc001 number: type: string description: Number of the reason code example: '1' SystemParameterFeaturesSyncData: type: object properties: name: type: string description: Name of system parameter feature example: auxWorkResonCodeType value: type: string description: value of System parameter feature example: forced JobPage: type: object description: List of jobs for the Communication Manager properties: pagination: $ref: '#/components/schemas/Pagination' jobs: type: array items: $ref: '#/components/schemas/Job' links: allOf: - $ref: '#/components/schemas/Links' example: prev: /api/admin/voice/v1/accounts/ASDJGE/communication-managers/a4c2c9b5-0e47-491d-b139-dc48cccdea72/jobs?pageNumber=1&pageSize=10 next: /api/admin/voice/v1/accounts/ASDJGE/communication-managers/a4c2c9b5-0e47-491d-b139-dc48cccdea72/jobs?pageNumber=3&pageSize=10 LocationProfile: description: Location Profile type: object properties: id: type: string description: The unique id of Location Profile readOnly: true format: uuid example: 41c6ef0d-5470-406e-ace2-6dc442b99318 name: type: string example: Profile1 minLength: 3 maxLength: 255 pattern: ^[a-zA-Z0-9\p{L}\-\_\.\ ]+$ description: type: string example: Description of the Location Profile maxLength: 255 pattern: (^$|^[a-zA-Z0-9\p{L}\(\)\-\_\.\ \n]+$) locationCode: type: string example: IN-MH description: 'ISO 3166-2 location code for country and region. For various country and region codes, check : https://www.iso.org/obp/ui/#search' minLength: 1 maxLength: 7 isMediaLatchingEnabled: type: boolean description: It is an indicator to enable or disable media latching feature through NGM example: true default: true sipServerAddressList: type: array items: type: string maxLength: 255 pattern: ^[a-zA-Z0-9\p{L}\-\_\/\:\.\ ]+$ minItems: 0 maxItems: 50 description: List of Fully-Qualified Domain-Name (FQDN) of all the SIP Server Address. example: - sm1906.avaya.com - sm-stage224.avaya.com - sm_prod2201.avaya.com status: type: string description: Status of the object under operation readOnly: true enum: - IN_PROGRESS - FAILED - SUCCESS - PENDING_DELETE example: IN_PROGRESS required: - name - locationCode LocationProfiles: type: object description: List of Location Profile properties: pagination: $ref: '#/components/schemas/Pagination' profiles: type: array items: $ref: '#/components/schemas/LocationProfile' links: allOf: - $ref: '#/components/schemas/Links' example: prev: /api/admin/v1/accounts/ASDJGE/location-profiles?pageNumber=1&pageSize=3 next: /api/admin/v1/accounts/ASDJGE/location-profiles?pageNumber=3&pageSize=3 AgentLocation: description: Agent Location type: object properties: id: type: string description: The unique Id of Agent Location readOnly: true example: c8c2909d-75e9-484a-94c0-b7e8d29771fe minLength: 36 maxLength: 36 pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ name: type: string description: Agent Location Name example: uk-1-location-id minLength: 3 maxLength: 255 pattern: ^[a-zA-Z0-9\p{L}\-\_\.\ ]+$ description: type: string example: Description of the Agent Location maxLength: 255 pattern: (^$|^[a-zA-Z0-9\p{L}\(\)\-\_\.\ \n]+$) isDialingRestrictionEnabled: type: boolean description: It is an indicator to enable or disable Dialing Restriction example: true default: false users: type: array readOnly: true items: $ref: '#/components/schemas/AgentLocationUser' outboundRoutingRules: type: array readOnly: true items: $ref: '#/components/schemas/AgentLocationOutboundRoutingRule' required: - name - isDialingRestrictionEnabled ListAgentLocation: description: Agent Location type: object properties: id: type: string description: The unique Id of Agent Location readOnly: true example: c8c2909d-75e9-484a-94c0-b7e8d29771fe minLength: 36 maxLength: 36 pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ name: type: string description: Agent Location Name example: uk-1-location-id minLength: 3 maxLength: 255 pattern: ^[a-zA-Z0-9\p{L}\-\_\.\ ]+$ description: type: string example: Description of the Agent Location maxLength: 255 pattern: (^$|^[a-zA-Z0-9\p{L}\(\)\-\_\.\ \n]+$) isDialingRestrictionEnabled: type: boolean description: It is an indicator to enable or disable Dialing Restriction example: true default: false required: - name - isDialingRestrictionEnabled AgentLocationUser: type: object description: List of Users associated with Agent Location properties: userId: type: string description: The unique Id of User example: c8c2909d-75e9-484a-94c0-b7e8d29771fe minLength: 36 maxLength: 36 pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ loginId: type: string description: User Login Id example: user@avaya.com AgentLocationOutboundRoutingRule: type: object description: List of Users associated with Agent Location properties: id: type: string description: The unique Id of Outbound Routing Rule example: c8c2909d-75e9-484a-94c0-b7e8d29771fe minLength: 36 maxLength: 36 pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ name: type: string description: Outbound Routing Rule Name example: uk-1-location-id minLength: 3 maxLength: 255 pattern: ^[a-zA-Z0-9\p{L}\-\_\.\ ]+$ AgentLocations: type: object description: List of Agent Locations properties: pagination: $ref: '#/components/schemas/Pagination' locations: type: array items: $ref: '#/components/schemas/AgentLocation' links: allOf: - $ref: '#/components/schemas/Links' example: prev: /api/admin/v1/accounts/ASDJGE/agent-locations?pageNumber=1&pageSize=3 next: /api/admin/v1/accounts/ASDJGE/agent-locations?pageNumber=3&pageSize=3 ListAgentLocations: type: object description: List of Agent Locations properties: pagination: $ref: '#/components/schemas/Pagination' locations: type: array items: $ref: '#/components/schemas/ListAgentLocation' links: allOf: - $ref: '#/components/schemas/Links' example: prev: /api/admin/v1/accounts/ASDJGE/agent-locations?pageNumber=1&pageSize=3 next: /api/admin/v1/accounts/ASDJGE/agent-locations?pageNumber=3&pageSize=3 CreateHybridSkill: title: CreateHybridSkill type: object description: Hybrid Skill for specific account and communication manager server. properties: number: type: string example: '8000' description: The skill unique per communication manager. minLength: 1 maxLength: 4 pattern: ^[0-9]*$ name: type: string example: French minLength: 1 maxLength: 27 pattern: ^[a-zA-Z0-9\p{L}\-\_\.\ ]+$ extension: type: string example: '914565637786' description: The extension number of skill unique per communication manager. minLength: 1 maxLength: 16 pattern: ^[1-9][0-9]*$ agentAssistProfileId: type: string format: uuid description: Agent Assist Profile ID reterived from Agent Assist service. example: 36c707a7-7a29-4cd7-82c0-60a61346ed29 required: - number - name - extension HybridSkill: title: HybridSkill type: object description: Hybrid Skill for specific account and communication manager server. properties: id: type: string description: The unique id of Skill readOnly: true format: uuid example: 7700d655-5807-4738-a868-712740a18199 number: type: string example: '8000' description: The skill unique per communication manager. minLength: 1 maxLength: 4 pattern: ^[0-9]*$ name: type: string example: French minLength: 1 maxLength: 27 pattern: ^[a-zA-Z0-9\p{L}\-\_\.\ ]+$ extension: type: string example: '914565637786' description: The extension number of skill unique per communication manager. minLength: 1 maxLength: 16 pattern: ^[1-9][0-9]*$ agentAssistProfileId: type: string format: uuid description: Agent Assist Profile ID reterived from Agent Assist service. example: 36c707a7-7a29-4cd7-82c0-60a61346ed29 required: - number - name - extension HybridSkillPage: title: HybridSkillPage type: object description: Hybrid Skill filtered response properties: pagination: $ref: '#/components/schemas/Pagination' skills: type: array items: $ref: '#/components/schemas/HybridSkillResponseWithoutAgentAssistProfileId' links: allOf: - $ref: '#/components/schemas/Links' example: prev: /api/admin/voice/v1/accounts/{accountId}/communication-managers/{communicationManagerId}/skills?pageNumber=1&pageSize=10 next: /api/admin/voice/v1/accounts/{accountId}/communication-managers/{communicationManagerId}/skills?pageNumber=3&pageSize=10 HybridSkillResponse: title: HybridSkillResponse type: object description: Represents the model used to get details of a single Skill. properties: id: type: string description: The unique id of Skill readOnly: true format: uuid example: 7700d655-5807-4738-a868-712740a18199 name: type: string example: French minLength: 1 maxLength: 27 pattern: ^[a-zA-Z0-9\p{L}\-\_\.\ ]+$ number: type: string example: '8000' minLength: 1 maxLength: 4 pattern: ^[0-9]*$ extension: type: string description: The extension number of skill unique per communication manager. example: '914565637786' minLength: 1 maxLength: 16 pattern: ^[1-9][0-9]*$ agentAssistProfileId: type: string format: uuid description: Agent Assist Profile ID reterived from Agent Assist service. example: 36c707a7-7a29-4cd7-82c0-60a61346ed29 errorMessage: type: string example: Failed to delete skill description: The error message in case of failure from agent assist API. HybridSkillResponseWithoutAgentAssistProfileId: title: HybridSkillResponseWithoutAgentAssistProfileId type: object description: Represents the model used to get details of a single Skill. properties: id: type: string description: The unique id of Skill readOnly: true format: uuid example: 7700d655-5807-4738-a868-712740a18199 name: type: string example: French minLength: 1 maxLength: 27 pattern: ^[a-zA-Z0-9\p{L}\-\_\.\ ]+$ number: type: string example: '8000' minLength: 1 maxLength: 4 pattern: ^[0-9]*$ extension: type: string description: The extension number of skill unique per communication manager. example: '914565637786' minLength: 1 maxLength: 16 pattern: ^[1-9][0-9]*$ parameters: accountId: name: accountId description: The unique 6 character internal id that represents the customer account. required: true in: path schema: type: string minLength: 6 maxLength: 6 pattern: ^[a-zA-Z]{6}$ example: ABCDEF avayaAuraDeviceServiceId: name: avayaAuraDeviceServiceId description: The unique id of the element in: path required: true schema: type: string example: 2ec20580-d204-43f3-ae0b-34795439137f maxLength: 36 minLength: 36 communicationManagerId: name: communicationManagerId description: The unique id of the Communication Manager in: path required: true schema: type: string format: uuid example: 2ec20580-d204-43f3-ae0b-34795439137f voicePlanId: name: voicePlanId in: path description: Id of existing voice plan required: true schema: type: string format: uuid example: b428d94e-d521-424f-92dc-c87cb28b6f6b hybridCloudGatewayId: name: hybridCloudGatewayId description: The unique id of the Hybrid Cloud Gateway server in: path required: true schema: type: string format: uuid example: c8c2909d-75e9-484a-94c0-b7e8d29771fe systemManagerId: name: systemManagerId description: The unique id of the System Manager server in: path required: true schema: type: string format: uuid example: c8c2909d-75e9-484a-94c0-b7e8d29771fe systemId: name: systemId description: The unique system id of the Hybrid Cloud Gateway in: path required: true schema: type: string format: uuid example: c8c2909d-75e9-484a-94c0-b7e8d29771fe reasonCodeId: name: reasonCodeId in: path description: The unique 36 character internal id for the reason code required: true schema: type: string format: uuid example: 123e4567-e89b-12d3-a456-426614174000 elementId: name: elementId in: path description: The unique 36 character internal id (uuid) that represents the Element. required: true schema: type: string example: c8c2909d-75e9-484a-94c0-b7e8d29771fe minLength: 36 maxLength: 36 pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ sipTrunkId: name: sipTrunkId in: path description: The unique 36 character internal id (uuid) that represents the Element. required: true schema: type: string example: c8c2909d-75e9-484a-94c0-b7e8d29771fe minLength: 36 maxLength: 36 pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ routingRuleId: name: routingRuleId in: path description: The unique 36 character internal id (uuid) that represents the Element. required: true schema: type: string example: c8c2909d-75e9-484a-94c0-b7e8d29771fe minLength: 36 maxLength: 36 pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ type: name: type description: The type of phone number. Acceptable values are LOCAL or TOLLFREE. required: true in: query schema: type: string enum: - LOCAL - TOLLFREE example: LOCAL pageNumber: name: pageNumber in: query description: The page number of the records to retrieve. Default value is 1. required: false schema: type: integer format: int32 example: 1 default: 1 minimum: 1 pageSize: name: pageSize in: query description: The max number of records to retrieve per page. Default value is 5, Any value like 5,10,15,20,25,30 is allowed. If value comes more than 1000 then max 1000 records will be returned. required: false schema: type: integer format: int32 example: 5 default: 5 minimum: 1 maximum: 50 phoneNumberId: name: phoneNumberId description: The unique 36 character internal id that represents the phone number. required: true in: path schema: type: string minLength: 36 maxLength: 36 pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ example: c8c2909d-75e9-484a-94c0-b7e8d29771fe extensionId: name: extensionId in: path description: The unique 36 character internal id for the extension required: true schema: type: string format: uuid example: 123e4567-e89b-12d3-a456-426614174000 jobId: name: jobId in: path description: The unique 36 character internal id of the Job required: true schema: type: string format: uuid example: a4c2c9b5-0e47-491d-b139-dc48cccdea72 locationProfileId: name: locationProfileId description: The unique id of the location Profile in: path required: true schema: type: string format: uuid example: c8c2909d-75e9-484a-94c0-b7e8d29771fe locationId: name: locationId description: The unique Id of the Agent Location in: path required: true schema: type: string minLength: 36 maxLength: 36 pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ example: c8c2909d-75e9-484a-94c0-b7e8d29771fe skillId: name: skillId in: path description: Id of existing skill required: true schema: type: string format: uuid example: 1f15835f-1365-4913-acf3-0ffd0767ad6e forceDelete: name: forceDelete description: To delete forcefully, set this parameter to true required: false in: query schema: type: boolean example: true orderBy: name: orderBy in: query required: false description: "Field name on which ordering needs to be performed. The default order is ascending.\n\nThe possible fields\ \ that can be ordered on are:\n * name\n\nField Names are case-senstive (should be written as it is in description).\n\ \nTo specify descending order, a suffix \" desc\" should be added. For example, \"name\" for ascending or \"name desc\"\ \ for descending\".\n" schema: type: string maxLength: 255 examples: ascending: value: name descending: value: name desc filter: name: filter in: query required: false description: "Specifies details of a row filter.\n\n The possible fields that can be filtered on are:\n * name\n\n\ The allowed format:\n - Begins with the column name to be filtered, followed by a colon, then:\n - Either an exact\ \ string to match, or\n - A string expression including the * wildcard character\n - :{PREFIX}* will be used\ \ to find out word start with.\n - :*{POSTFIX} will be used to find out word end with\n - : will be used\ \ to match exact word\n - Begin with column name to be filtered, followed by a = operator. (this will be used to\ \ match exact string)\n" schema: type: string maxLength: 255 examples: exact: description: Example of filtering based on an exact string. value: name=Abc123 prefix: description: Example of filtering based on a prefix string. value: name:AB* postfix: description: Example of filtering based on a postfix string. value: name:*C123 examples: AvayaAuraDeviceServiceReq: description: Avaya Aura Device Service request model value: name: AADS description: AADS server for testing hostname: dev-11.avaya.com port: 443 AvayaAuraDeviceServiceRes: description: A HATEOAS url response that is a reference to the created or updated AADS Element value: url: /api/admin/voice/v1/accounts/ABCDEF/avaya-aura-device-services/63c6ff9d-3370-090e-bkb2-7gh442b99985 AvayaAuraDeviceServiceObj: description: Avaya Aura Device Service model value: id: 04703a3a-3dfb-4606-ae79-fd0fe0be3e64 name: AADS description: AADS server for testing hostname: aadsserver.avaya.com port: 443 openIDConnectDiscovery: https://dev-11.ixcc-sandbox.avayacloud.com/auth/realms/YOPXPM/.well-known/openid-configuration status: SUCCESS AvayaAuraDeviceServicesRes: description: Avaya Aura Device Services model value: resources: - id: 04703a3a-3dfb-4606-ae79-fd0fe0be3e64 name: AADS description: AADS server for testing hostname: dev-11.avaya.com port: 443 openIDConnectDiscovery: https://dev-11.ixcc-sandbox.avayacloud.com/auth/realms/YOPXPM/.well-known/openid-configuration status: SUCCESS OpenIDConnectDiscoveryRes: description: Open ID Connect Discovery model value: openIDConnectDiscovery: https://dev-11.ixcc-sandbox.avayacloud.com/auth/realms/YOPXPM/.well-known/openid-configuration VoicePlanPage: description: List of all Voice Plans value: pagination: pageNumber: 1 pageSize: 10 total: 2 resources: - voicePlanId: 46a99207-a5ac-4968-b488-9c078193eba1 name: User Voice Plan for Production type: USER userProfileId: ASEDFG description: User Voice plan for production Communication Manager agentDialPlanRange: - 20000:20100 extensionDialPlanRange: - 30000:30100 - 8000000:9000000 - voicePlanId: a5ed735d-0688-47c5-872d-366a84b23536 name: System Range for Production type: SYSTEM userProfileId: ASEDFG description: System Range for production Communication Manager reasonCodeNotReadyRange: - '1:20' - 50:99 reasonCodeLogOutRange: - '1:9' links: next: /api/admin/voice/v1/accounts/GHFDWE/communication-managers/18e4f754-5e42-4387-ae13-e9b4fe4aed29/voice-plans?pageNumber=3&pageSize=10 previous: /api/admin/voice/v1/accounts/GHFDWE/communication-managers/18e4f754-5e42-4387-ae13-e9b4fe4aed29/voice-plans?pageNumber=1&pageSize=10 UserVoicePlanRequest: description: Model for a User Voice Plan value: name: User Voice Plan type: USER userProfileId: ASEDFG description: User Voice plan for Communication Manager agentDialPlanRange: - 20000:20100 extensionDialPlanRange: - 30000:30100 - 8000000:9000000 SystemRangeRequest: description: Model for a System Range Plan model for System value: name: VoicePlan2 type: SYSTEM userProfileId: ASEDFG description: Voice plan for Communication Manager reasonCodeNotReadyRange: - '1:20' - 50:99 reasonCodeLogOutRange: - '1:9' UserVoicePlanResponse: description: Model for a User Voice Plan value: voicePlanId: a5ed735d-0688-47c5-872d-366a84b23536 name: User Voice Plan type: USER userProfileId: ASEDFG description: User Voice plan for Communication Manager agentDialPlanRange: - 20000:20100 extensionDialPlanRange: - 30000:30100 - 8000000:9000000 SystemRangeResponse: description: Model for a System Range Plan model for System value: voicePlanId: a5ed735d-0688-47c5-872d-366a84b23536 name: VoicePlan2 type: SYSTEM userProfileId: ASEDFG description: Voice plan for Communication Manager reasonCodeNotReadyRange: - '1:20' - 50:99 reasonCodeLogOutRange: - '1:9' CommunicationManagerRequest: description: Request model for creating or updating a Communication Manager value: name: CM4696 description: This is testing Communication Manager. hostname: dc1-cm96.avayacloud.stage port: '5022' alternateHostname: dc1-cm98.avayacloud.stage alternatePort: '5022' username: cust password: testpassword version: V10_X hybridCloudGatewayId: 04703a3a-3dfb-4606-ae79-fd0fe0be3e64 enableIncrementalSync: 'true' CommunicationManagerAsyncResponse: description: A HATEOAS url that is a reference to the Communication Manager under operation. value: url: /api/admin/voice/v1/accounts/NCWBNY/communication-managers/5e9be49a-32d3-4927-83c7-7b0952798028 CommunicationManagerResponse: description: Details of a single Communication Manager value: id: a5ed735d-0688-47c5-872d-366a84b23536 name: CM4696 description: This is testing Communication Manager. hostname: dc1-cm96.avayacloud.stage port: '5022' alternateHostname: dc1-cm98.avayacloud.stage alternatePort: '5022' username: cust password: testpassword version: V10_X hybridCloudGatewayId: 04703a3a-3dfb-4606-ae79-fd0fe0be3e64 enableAutoIncrementalSync: 'true' status: SUCCESS lastOnPremChangeDetectedTime: 2020-04-21T17:40:28z CommunicationManagerPageResponse: description: List of all Communication Managers value: pagination: pageNumber: 1 pageSize: 10 total: 2 resources: - id: a5ed735d-0688-47c5-872d-366a84b23536 name: CM4696 description: This is testing Communication Manager. hostname: dc1-cm96.avayacloud.stage port: '5022' alternateHostname: dc1-cm98.avayacloud.stage alternatePort: '5022' username: cust password: testpassword version: V10_X hybridCloudGatewayId: 04703a3a-3dfb-4606-ae79-fd0fe0be3e64 enableAutoIncrementalSync: 'true' status: IN_PROGRESS - id: 8c21249d-b98d-408a-9537-c6141fdb57df name: CM132 description: This is testing Communication Manager. hostname: dc3-cm32.avayacloud.stage port: '5022' username: cust password: testpassword version: V10_X hybridCloudGatewayId: b7f551d8-ed78-11ed-a05b-0242ac120003 status: SUCCESS links: next: /api/admin/voice/v1/accounts/GHFDWE/communication-managers?pageNumber=3&pageSize=10 previous: /api/admin/voice/v1/accounts/GHFDWE/communication-managers?pageNumber=1&pageSize=10 HybridCloudGatewayRequest: description: Request model for creating an Avaya Hybrid Cloud Gateway value: name: AHCG123 description: Description of the Avaya Hybrid Cloud Gateway systemId: fa703a3a-3dfb-4606-ae79-fd0fe0be3e64 publicKey: MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8QuKUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEm publicKeyAlgorithm: ES256 locationCode: IN-MH sessionManagerFqdnList: - sm1906.avaya.com - sm-stage224.avaya.com - sm_prod2201.avaya.com isMediaLatchingEnable: true isTermsAndConditionsAccepted: true AvayaHybridCloudGatewayAsyncResponse: description: A HATEOAS url that is a reference to the Avaya Hybrid Cloud Gateway under operation. value: url: /api/admin/voice/v1/accounts/NCWBNY/hybrid-cloud-gateways/5e9be49a-32d3-4927-83c7-7b0952798028 HybridCloudGateways: description: List of all Avaya Hybrid Cloud Gateways value: resources: - id: 41c6ef0d-5470-406e-ace2-6dc442b99318 name: AHCG123 description: Description of the Avaya Hybrid Cloud Gateway systemId: fa703a3a-3dfb-4606-ae79-fd0fe0be3e64 publicKey: MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8QuKUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEm publicKeyAlgorithm: ES256 locationCode: IN-MH sessionManagerFqdnList: - sm1906.avaya.com - sm-stage224.avaya.com - sm_prod2201.avaya.com isMediaLatchingEnable: true isTermsAndConditionsAccepted: true status: SUCCESS - id: 04703a3a-3dfb-4606-ae79-fd0fe0be3e64 name: HCG304 description: Description of the Avaya Hybrid Cloud Gateway systemId: 04703a3a-3dfb-4606-ae79-fd0fe0be3e64 publicKey: MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8QuKUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEm publicKeyAlgorithm: ES256 locationCode: IN-MH sessionManagerFqdnList: - smdev.avaya.com isMediaLatchingEnable: true isTermsAndConditionsAccepted: true status: IN_PROGRESS UpdateHybridCloudGatewayRequest: description: Request model for updating an Avaya Hybrid Cloud Gateway value: name: AHCG123 description: Description of the Avaya Hybrid Cloud Gateway publicKey: MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8QuKUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEm publicKeyAlgorithm: ES256 locationCode: IN-MH sessionManagerFqdnList: - sm1906.avaya.com - sm-stage224.avaya.com isMediaLatchingEnable: true isTermsAndConditionsAccepted: true HybridCloudGateway: description: Details of a single Avaya Hybrid Cloud Gateway value: id: 41c6ef0d-5470-406e-ace2-6dc442b99318 name: AHCG123 description: Description of the Avaya Hybrid Cloud Gateway systemId: fa703a3a-3dfb-4606-ae79-fd0fe0be3e64 publicKey: MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8QuKUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEm publicKeyAlgorithm: ES256 locationCode: IN-MH sessionManagerFqdnList": - sm1906.avaya.com - sm-stage224.avaya.com - sm_prod2201.avaya.com isMediaLatchingEnable: true isTermsAndConditionsAccepted: true status: IN_PROGRESS UpdateHybridCloudGatewaySystemConfig: description: Request model for updating an Avaya Hybrid Cloud Gateway Config value: publicKey: MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8QuKUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEm publicKeyAlgorithm: ES256 HybridCloudGatewaySystemResponse: description: Response model for updating an Avaya Hybrid Cloud Gateway Config value: status: SUCCESS message: Successfully updated the system configuration SystemManagerRequest: description: Request model for creating a System Manager. value: name: SMGR123 description: Description of the System Manager primaryHostname: dc1-smgr96.avayacloud.stage username: dummyUser password: dummypassword enrollmentPassword: testpassword secondaryHostname: dc2-smgr97.avayacloud.stage activeSystemManager: PRIMARY useForCerts: true SystemManagerAsyncResponse: description: A HATEOAS url response that is a reference to the System Manager under operation. value: url: /api/admin/voice/v1/accounts/NCWBNY/system-managers/5e9be49a-32d3-4927-83c7-7b0952798028 SystemManagers: description: Lists all System Managers value: resources: - id: 7700d655-5807-4738-a868-712740a18199 name: SMGR123 description: Description of the System Manager primaryHostname: dc1-smgr96.avayacloud.stage username: dummyUser password: dummypassword enrollmentPassword: testpassword secondaryHostname: dc2-smgr97.avayacloud.stage activeSystemManager: PRIMARY useForCerts: true status: IN_PROGRESS - id: 8b2ae74d-61e5-48df-8b32-81a7bc726495 name: SmgrTest description: Description of the System Manager primaryHostname: dc2-smgr105.avayacloud.stage username: dummyUser password: dummypassword enrollmentPassword: testpassword secondaryHostname: dc1-smgr98.avayacloud.stage activeSystemManager: PRIMARY useForCerts: true status: SUCCESS UpdateSystemManagerRequest: description: Request model for updating a System Manager. value: name: SMGR123 description: Description of the System Manager primaryHostname: dc1-smgr96.avayacloud.stage username: dummyUser password: dummypassword enrollmentPassword: testpassword secondaryHostname: dc2-smgr97.avayacloud.stage activeSystemManager: PRIMARY SystemManagerResponse: description: Details of single System Manager value: id: 7700d655-5807-4738-a868-712740a18199 name: SmgrTest description: Description of the System Manager primaryHostname: dc2-smgr105.avayacloud.stage username: dummyUser password: dummypassword enrollmentPassword: testpassword secondaryHostname: dc1-smgr98.avayacloud.stage activeSystemManager: PRIMARY useForCerts: true status: SUCCESS HybridCloudManagerResponse: description: Hybrid Cloud Manager hostname. value: hostname: testhcm.avaya.com GatewayConnectionManagerResponse: description: 'Response model for Gateway connection manager ' value: hostname: communication-services-candidate.avayacloud.com ErrorUnauthorized: description: Unauthorized value: type: https://developers.avayacloud.com/onecloud-ccaas/docs/error-handling#unauthorized title: Unauthorized status: 401 detail: This operation requires authentication. See https://developers.avayacloud.com/onecloud-ccaas/docs/how-to-authenticate-with-ccaas-apis ErrorForbidden: description: Forbidden value: type: https://developers.avayacloud.com/onecloud-ccaas/docs/error-handling#forbidden title: Forbidden status: 403 detail: According to the access control policy the current user does not have permission to access this resource. ErrorNotFound: description: Not Found value: type: https://developers.avayacloud.com/onecloud-ccaas/docs/error-handling#resource-not-found title: Resource Not Found status: 404 detail: Either there is no API method associated with the URL path of the request, or the request refers to one or more resources that were not found. ErrorInternalServerError: description: Server Error value: type: https://developers.avayacloud.com/onecloud-ccaas/docs/error-handling#server-error title: Server Error status: 500 detail: An internal server error was encountered. ErrorConstraintViolation: description: Constraint Violation value: type: https://developers.avayacloud.com/onecloud-ccaas/docs/error-handling#constraint-violation title: Constraint Violation status: 400 detail: A problem that indicates a syntactically correct, yet semantically illegal request. The Server can not process this request until the client resolves the semantic errors described in the violations section. violations: - field: accountId message: must match "^[a-zA-Z]{6}$" code: 20006 ErrorConflict: description: Conflict value: type: https://developers.avayacloud.com/onecloud-ccaas/docs/error-handling#conflict title: Conflict status: 409 detail: A resource with the same unique constraint values already exists. violations: - field: name message: Communication Manager with same name already exists. - field: hostname message: Communication Manager with same hostname already exists. ErrorMethodNotAllowed: description: Method not allowed value: title: Method not allowed status: 405 detail: The request calls an HTTP method that is not supported at the resource. NotReadyCreateRequest: description: Request model for creating a Not Ready Reason Code. value: codeName: Lunch codeNumber: '21' codeType: NOT_READY description: Agent is on Lunch. isInterruptible: true systemDefinedAttributes: - WORK_ON_DIGITAL organizationNodeId: EXMPLE LogoutCreateRequest: description: Request model for creating a Logout Reason Code. value: codeName: Out of Office codeNumber: '8' codeType: LOGOUT description: Agent is out of office. organizationNodeId: EXMPLE CallWorkCodeCreateRequest: description: Request model for creating a Call Work Code. value: codeName: Special Sale codeNumber: '7345290' codeType: CALL_WORK_CODE description: Tracking sale of special items. organizationNodeId: EXMPLE NotReadyUpdateRequest: description: Request model for updating a Not Ready Reason Code. value: codeName: Lunch codeNumber: '21' description: Agent is on Lunch. isInterruptible: true systemDefinedAttributes: - WORK_ON_DIGITAL organizationNodeId: EXMPLE LogoutUpdateRequest: description: Request model for updating a Logout Reason Code. value: codeName: Out of Office codeNumber: '8' description: Agent is out of office. organizationNodeId: EXMPLE CallWorkCodeUpdateRequest: description: Request model for updating a Call Work Code. value: codeName: Special Sale codeNumber: '7345290' description: Tracking sale of special items. organizationNodeId: EXMPLE ReasonCodeAsyncResponse: description: A HATEOAS url response that is a reference to the Reason Code under operation. value: url: /api/admin/voice/v1/accounts/NCWBNY/communication-managers/5e9be49a-32d3-4927-83c7-7b0952798028/reason-codes/ee2d131e-772d-4a51-acba-841f967fb9f3 ReasonCodePageResponse: description: Lists all Reason Codes belonging to a particular type. value: pagination: pageNumber: 2 pageSize: 10 total: 20 resources: - reasonCodeId: 123e4567-e89b-12d3-a456-426614174000 codeName: Work on Digital codeNumber: '89' codeType: NOT_READY isInterruptible: true systemDefinedAttributes: - WORK_ON_DIGITAL organizationNodeId: EXMPLE status: SUCCESS - reasonCodeId: 8b2ae74d-61e5-48df-8b32-81a7bc726495 codeName: Unreachable codeNumber: '88' codeType: NOT_READY description: Agent is unreachable isInterruptible: false systemDefinedAttributes: - REDIRECTION_ON_OPTIM_FAILURE organizationNodeId: EXMPLE status: SUCCESS links: prev: /api/admin/voice/v1/accounts/NCWBNY/communication-managers/5e9be49a-32d3-4927-83c7-7b0952798028/reason-codes?pageNumber=1&pageSize=10 next: /api/admin/voice/v1/accounts/NCWBNY/communication-managers/5e9be49a-32d3-4927-83c7-7b0952798028/reason-codes?pageNumber=3&pageSize=10 ReasonCodeResponse: description: Details of a single Reason Code value: reasonCodeId: 8b2ae74d-61e5-48df-8b32-81a7bc726495 codeName: Unreachable codeNumber: '88' codeType: NOT_READY description: Agent is unreachable isInterruptible: false systemDefinedAttributes: - REDIRECTION_ON_OPTIM_FAILURE organizationNodeId: EXMPLE status: SUCCESS ACORequest: value: name: Avaya Cloud Office environment: Production description: Avaya Cloud Office Description didNumbers: - '+16062128688' - '+12702289911' isChatEnabled: true isExtensionCalling: false presenceApplicationType: AVAYA_CLOUD_OFFICE ACOResponse: value: elementId: c8c2909d-75e9-484a-94c0-b7e8d29771fe name: Avaya Cloud Office environment: Production description: Avaya Cloud Office Description didNumbers: - '+16062128688' - '+12702289911' isChatEnabled: true isExtensionCalling: false elementType: ACO status: SUCCESS presenceApplicationType: AVAYA_CLOUD_OFFICE ACOSIPTrunkResponse: value: elementId: c8c2909d-75e9-484a-94c0-b7e8d29771fe name: ACO-Trunk-US type: ACO provider: RingCentral description: Avaya Cloud Office(ACO) SIP Trunk description providerDomain: exchange.com inboundDomain: inbound.companyXYZ.com preferredMediaLocation: US-LA status: SUCCESS MSTeamsRequest: value: name: MS Teams Server description: MS Teams Server description didNumbers: - '+16062128688' - '+12702289911' domain: exchange.com isChatEnabled: false clientId: bv34503f-543e-232a-43ac-77e2b25797ea MSTeamsResponse: value: elementId: c8c2909d-75e9-484a-94c0-b7e8d29771fe name: MS Teams Server description: MS Teams Server description didNumbers: - '+16062128688' - '+12702289911' domain: exchange.com elementType: MSTeams status: SUCCESS isChatEnabled: false clientId: bv34503f-543e-232a-43ac-77e2b25797ea MSTeamsSIPTrunkResponse: value: elementId: c8c2909d-75e9-484a-94c0-b7e8d29771fe name: MSTeams-Trunk-US description: Microsoft Teams SIP Trunk description type: MST provider: MicrosoftTeams providerDomain: exchange.com inboundDomain: inbound.companyXYZ.com preferredMediaLocation: US-LA status: SUCCESS MSTeamsSIPTrunkAsyncResponse: description: A HATEOAS url response that is a reference to the Microsoft Teams SIP Trunk under operation. value: url: /v1/accounts/NCWBNY/msteams-sip-trunk-elements/5e9be49a-32d3-4927-83c7-7b0952798028 ErrorACOExists: description: Constraint Violation value: type: https://developers.avayacloud.com/onecloud-ccaas/docs/error-handling#conflict title: Conflict status: 409 detail: A resource with the same unique constraint values already exists. violations: - field: name message: An Avaya Cloud Office with this name already exists ErrorMSTeamsExists: description: Constraint Violation value: type: https://developers.avayacloud.com/onecloud-ccaas/docs/error-handling#conflict title: Conflict status: 409 detail: A resource with the same unique constraint values already exists. violations: - field: name message: A MS Teams with this name already exists AvailableCountries: description: Available Countries response value: - IE - UK PhoneNumberRequest: description: PhoneNumber create request value: phoneNumber: '+16479308804' displayName: private Number countryCode: US isCallingPartyNumber: true PhoneNumberUpdateRequest: description: PhoneNumber update request value: displayName: private Number isCallingPartyNumber: true preferredMediaLocation: US-LA PhoneNumberUpdateResponse: description: PhoneNumber update response value: phoneNumberId: c8c2909d-75e9-484a-94c0-b7e8d29771fe phoneNumber: '+16479308804' displayName: private Number countryCode: US type: LOCAL isCallingPartyNumber: true accountId: ABCDEF status: INACTIVE statusMessage: Verification needed. Please send the necessary documents to siptrunksupport@avaya.com to activate it. preferredMediaLocation: US-LA PhoneNumberInProgressResponse: description: PhoneNumber InProgress Response value: phoneNumberId: c8c2909d-75e9-484a-94c0-b7e8d29771fe phoneNumber: '+16479308804' displayName: private Number isCallingPartyNumber: true countryCode: US type: UNKNOWN accountId: ABCDEF status: INPROGRESS PhoneNumberFailedResponse: description: PhoneNumber Failed Response value: phoneNumberId: c8c2909d-75e9-484a-94c0-b7e8d29771fe phoneNumber: '+16479308804' displayName: private Number isCallingPartyNumber: true countryCode: US type: LOCAL accountId: ABCDEF status: FAILED statusMessage: Internal Server Error preferredMediaLocation: US-LA PhoneNumberInActiveResponse: description: PhoneNumber InActive Response value: phoneNumberId: c8c2909d-75e9-484a-94c0-b7e8d29771fe phoneNumber: '+16479308804' displayName: private Number isCallingPartyNumber: true countryCode: US type: LOCAL accountId: ABCDEF status: INACTIVE statusMessage: Verification needed. Please send the necessary documents to siptrunksupport@avaya.com to activate it. preferredMediaLocation: US-LA PhoneNumberActiveResponse: description: PhoneNumber Active Response value: phoneNumberId: c8c2909d-75e9-484a-94c0-b7e8d29771fe phoneNumber: '+16479308804' displayName: private Number isCallingPartyNumber: true countryCode: US type: LOCAL accountId: ABCDEF status: ACTIVE preferredMediaLocation: US-LA PhoneNumberDisabledResponse: description: PhoneNumber Disabled Response value: phoneNumberId: c8c2909d-75e9-484a-94c0-b7e8d29771fe phoneNumber: '+16479308804' displayName: private Number isCallingPartyNumber: true countryCode: US type: LOCAL accountId: ABCDEF status: DISABLED preferredMediaLocation: US-LA UpdateOutboundRoutingRule: description: Outbound Number Routing Rule Request value: type: NUMBER_PREFIX priority: 5 prefix: '+44' minLength: 1 maxLength: 50 sipTrunkId: c8c2909d-75e9-484a-94c0-b7e8d29771fe callerId: c8c2909d-75e9-484a-94c0-b7e8d29771fe isoCountry: IN-MH locationIds: - c8c2909d-75e9-484a-94c0-b7e8d29771fe OutboundRoutingRuleResponse: value: id: c8c2909d-75e9-484a-94c0-b7e8d29771fe type: NUMBER_PREFIX priority: 1 prefix: '+1' minLength: 1 maxLength: 50 sipTrunkId: c8c2909d-75e9-484a-94c0-b7e8d29771fe callerId: c8c2909d-75e9-484a-94c0-b7e8d29771fe isoCountry: IN-MH locationIds: - c8c2909d-75e9-484a-94c0-b7e8d29771fe OutboundRoutingRules: value: type: NUMBER_PREFIX priority: 1 prefix: '+1' minLength: 1 maxLength: 50 sipTrunkId: c8c2909d-75e9-484a-94c0-b7e8d29771fe callerId: c8c2909d-75e9-484a-94c0-b7e8d29771fe isoCountry: IN-MH locationIds: - c8c2909d-75e9-484a-94c0-b7e8d29771fe OutboundRoutingRulePageResponse: value: pagination: pageNumber: 1 pageSize: 3 total: 10 outboundRoutingRules: - id: c8c2909d-75e9-484a-94c0-b7e8d29771fe type: NUMBER_PREFIX priority: 1 prefix: '+1' minLength: 1 maxLength: 50 sipTrunkId: c8c2909d-75e9-484a-94c0-b7e8d29771fe callerId: c8c2909d-75e9-484a-94c0-b7e8d29771fe isoCountry: IN-MH locationIds: - c8c2909d-75e9-484a-94c0-b7e8d29771fe - id: c8c2909d-75e9-484a-94c0-b7e8d29771ff type: NUMBER_PREFIX priority: 2 prefix: '+1' minLength: 1 maxLength: 50 sipTrunkId: c8c2909d-75e9-484a-94c0-b7e8d29771ff callerId: c8c2909d-75e9-484a-94c0-b7e8d29771ff isoCountry: IN-MH locationIds: - c8c2909d-75e9-484a-94c0-b7e8d29771fe - id: c8c2909d-75e9-484a-94c0-b7e8d29771fg type: NUMBER_PREFIX priority: 3 prefix: '+1' minLength: 1 maxLength: 50 sipTrunkId: c8c2909d-75e9-484a-94c0-b7e8d29771fg callerId: c8c2909d-75e9-484a-94c0-b7e8d29771fg isoCountry: IN-MH locationIds: - c8c2909d-75e9-484a-94c0-b7e8d29771fe links: prev: /api/admin/v1/accounts/ASDJGE/outbound-routing-rules?pageNumber=1&pageSize=3 next: /api/admin/v1/accounts/ASDJGE/outbound-routing-rules?pageNumber=3&pageSize=3 AvailablePhoneNumberPage: description: "Paginated Phone Number Data\n Notice from response, the field documentationRequired indicates if the activation\ \ of this number will be required. If required, you should send necessary documents to siptrunksupport@avaya.com to\ \ activate it.\n" value: pagination: pageNumber: 2 pageSize: 10 total: 45 phoneNumbers: - phoneNumber: '+16479308804' countryCode: US type: LOCAL documentationRequired: true links: prev: /api/admin/voice/v1/accounts/ABCDEF/available-phone-numbers?pageNumber=1&pageSize=10 next: /api/admin/voice/v1/accounts/ABCDEF/available-phone-numbers?pageNumber=3&pageSize=10 PhoneNumberPage: description: Paginated Phone Number Data value: pagination: pageNumber: 2 pageSize: 10 total: 45 phoneNumbers: - phoneNumberId: c8c2909d-75e9-484a-94c0-b7e8d29771fe phoneNumber: '+16479308804' displayName: private Number isCallingPartyNumber: true countryCode: US type: LOCAL accountId: ABCDEF status: INACTIVE statusMessage: Verification needed. Please send the necessary documents to siptrunksupport@avaya.com to activate it. preferredMediaLocation: US-LA links: prev: /api/admin/voice/v1/accounts/ABCDEF/phone-numbers?pageNumber=1&pageSize=10 next: /api/admin/voice/v1/accounts/ABCDEF/phone-numbers?pageNumber=3&pageSize=10 ErrorPhoneNumberExists: description: Constraint Violation value: type: https://developers.avayacloud.com/onecloud-ccaas/docs/error-handling#conflict title: Conflict status: 409 detail: A resource with the same unique constraint values already exists. violations: - field: phoneNumber message: Number already exists ErrorOutboundDuplicatePriorityExists: description: Constraint Violation value: type: https://developers.avayacloud.com/onecloud-ccaas/docs/error-handling#conflict title: Conflict status: 409 detail: A resource with the same unique constraint values already exists. violations: - field: priority message: Priority already exists AuraSyncRequest: description: 'Aura Synchronization request example ' value: entities: - AGENT name: Test_Full_Sync AuraSyncResponse: description: 'Aura Sync response example ' value: jobId: 55b1dc7f-38c3-48cf-9146-8cbed5622735 url: /api/admin/voice/v1/accounts/HGEOAV/communication-managers/90b1dc7f-38c3-98cf-8672-8cbed5698690/jobs/55b1dc7f-38c3-48cf-9146-8cbed5622735 ExtensionPage: description: 'Paginated extension response ' value: pagination: pageNumber: 1 pageSize: 10 total: 40 resources: - id: 1f15835f-1365-4913-acf3-0ffd0767ad6e number: 50003456 name: Jon Extension loginId: - user@avaya.com links: prev: /api/admin/voice/v1/accounts/ASDJGE/communication-managers/a4c2c9b5-0e47-491d-b139-dc48cccdea72/extensions?pageNumber=1&pageSize=10 next: /api/admin/voice/v1/accounts/ASDJGE/communication-managers/a4c2c9b5-0e47-491d-b139-dc48cccdea72/extensions?pageNumber=2&pageSize=10 JobDetailsResponse: description: Details of a single job value: jobEntityDetails: - entityType: AGENT entityStatus: COMPLETED entitySyncDetails: - entityCount: 20 statusCode: COMPLETED statusMessage: Synchronization completed successfully - entityCount: 2 statusCode: FAILED statusMessage: Synchronization failed because of incorrect domain name. - entityCount: 5 statusCode: IN_PROGRESS statusMessage: Synchronization is in progress. - entityCount: 5 statusCode: CREATED statusMessage: Synchronization completed successfully - entityCount: 5 statusCode: UPDATED statusMessage: Synchronization completed successfully - entityCount: 5 statusCode: CREATE_IN_PROGRESS statusMessage: Synchronization create is in progress. - entityCount: 5 statusCode: UPDATE_IN_PROGRESS statusMessage: Synchronization update is in progress. - entityCount: 5 statusCode: DELETED statusMessage: Synchronization completed successfully - entityCount: 5 statusCode: NEEDS_ACTION statusMessage: Synchronization needs action. SyncEntityDetailsResponse: description: Details of a sync entity data value: pagination: pageNumber: 2 pageSize: 2 total: 3 syncEntityDetails: - id: fa703a3a-3dfb-4606-ae79-fd0fe0df3e64 createdAt: 2020-04-21T17:40:28z updateAt: 2020-04-21T17:40:29z entityType: AGENT entityData: agent: name: agent101 number: '101' loginId: user@avaya.com statusCode: COMPLETED statusMessage: Synchronized successfully - id: pk703a3a-3dfb-4606-ae79-fd0fe0be3e98 createdAt: 2020-04-21T17:40:45z updateAt: 2020-04-21T17:40:56z entityType: AGENT entityData: agent: name: agent101 number: '101' loginId: user@avaya.com statusCode: COMPLETED statusMessage: Synchronized successfully links: prev: /api/admin/voice/v1/accounts/ASDJGE/communication-managers/a4c2c9b5-0e47-491d-b139-dc48cccdea72/jobs?entityType?AGENT&pageNumber=1&pageSize=2 next: /api/admin/voice/v1/accounts/ASDJGE/communication-managers/a4c2c9b5-0e47-491d-b139-dc48cccdea72/jobs?entityType?AGENT&pageNumber=3&pageSize=2 JobResponse: description: Single job response value: id: 18e4f754-5e42-4387-ae13-e9b4fe4aed29 name: FullSync_SYNC_Mon Feb 27 10:13:22 GMT 2023 type: SYNC statusCode: COMPLETED statusMessage: Synchronization completed createdAt: 2020-04-21T17:40:28z updatedAt: 2020-04-21T18:30:28z JobPageResponse: description: Jobs List Example value: pagination: pageNumber: 2 pageSize: 2 total: 3 jobs: - id: 18e4f754-5e42-4387-ae13-e9b4fe4aed29 name: FullSync_SYNC_Mon Feb 27 10:13:22 GMT 2023 type: SYNC statusCode: COMPLETED statusMessage: Synchronization completed createdAt: 2020-04-21T17:40:28z updatedAt: 2020-04-21T18:30:28z links: prev: /api/admin/v1/accounts/ASDJGE/communication-managers/a4c2c9b5-0e47-491d-b139-dc48cccdea72/jobs?pageNumber=1&pageSize=2 next: /api/admin/v1/accounts/ASDJGE/communication-managers/a4c2c9b5-0e47-491d-b139-dc48cccdea72/jobs?pageNumber=3&pageSize=2 LocationProfileRequest: description: Request model for creating and Updating an Location Profile value: name: Location Profile US description: Location Profile for US locationCode: IN-MH sipServerAddressList: - sm1906.avaya.com - sm-stage224.avaya.com - sm_prod2201.avaya.com isMediaLatchingEnabled: true LocationProfileResponse: description: Response model for get an Location Profile value: id: 18e4f754-5e42-4387-ae13-e9b4fe4aed29 name: Location Profile US description: Location Profile for US locationCode: IN-MH sipServerAddressList: - sm1906.avaya.com - sm-stage224.avaya.com - sm_prod2201.avaya.com isMediaLatchingEnabled: true status: FAILED LocationProfileAsyncResponse: description: A url response that is a reference to the Location Profile under operation. value: url: /api/admin/voice/v1/accounts/NCWBNY/location-profiles/5e9be49a-32d3-4927-83c7-7b0952798028 LocationProfiles: description: Location Profiles List Example value: pagination: pageNumber: 2 pageSize: 3 total: 10 profiles: - id: 18e4f754-5e42-4387-ae13-e9b4fe4aed29 name: Location Profile1 description: Location Profile 1 locationCode: IN-MH sipServerAddressList: - sm1906.avaya.com - sm-stage224.avaya.com - sm_prod2201.avaya.com isMediaLatchingEnabled: true status: SUCCESS - id: 18e4f754-5e42-4387-ae13-e9b4fe4aed30 name: Location Profile2 description: Location Profile 2 locationCode: IN-MH sipServerAddressList: - sm1906.avaya.com - sm-stage224.avaya.com - sm_prod2201.avaya.com isMediaLatchingEnabled: true status: IN_PROGRESS - id: 18e4f754-5e42-4387-ae13-e9b4fe4aed31 name: Location Profile3 description: Location Profile 3 locationCode: IN-MH sipServerAddressList: - sm1906.avaya.com - sm-stage224.avaya.com - sm_prod2201.avaya.com isMediaLatchingEnabled: false status: FAILED links: prev: /api/admin/v1/accounts/ASDJGE/location-profiles?pageNumber=1&pageSize=3 next: /api/admin/v1/accounts/ASDJGE/location-profiles?pageNumber=3&pageSize=3 AgentLocationRequest: description: Request model for creating and Updating an Agent Location value: name: uk-1-location-id description: UK Agent Location 1 isDialingRestrictionEnabled: true users: - userId: 18e4f754-5e42-4387-ae13-e9b4fe4aed29 loginId: johndoe1@test.com - userId: 18e4f754-5e42-4387-ae13-e9b4fe4aed30 loginId: johndoe2@test.com outboundRoutingRules: - id: 18e4f754-5e42-4387-ae13-e9b4fe4aed29 name: Outbound Rule AgentLocationResponse: description: Response model for get an Agent Location value: id: 18e4f754-5e42-4387-ae13-e9b4fe4aed29 name: uk-1-location-id description: UK Agent Location 1 isDialingRestrictionEnabled: true users: - userId: 18e4f754-5e42-4387-ae13-e9b4fe4aed29 loginId: johndoe1@test.com - userId: 18e4f754-5e42-4387-ae13-e9b4fe4aed30 loginId: johndoe2@test.com outboundRoutingRules: - id: 18e4f754-5e42-4387-ae13-e9b4fe4aed29 name: Outbound Rule AgentLocations: description: Agent Locations List Example value: pagination: pageNumber: 2 pageSize: 3 total: 10 locations: - id: 18e4f754-5e42-4387-ae13-e9b4fe4aed29 name: uk-1-location-id description: UK Agent Location 1 isDialingRestrictionEnabled: true - id: 18e4f754-5e42-4387-ae13-e9b4fe4aed30 name: france-location-id description: France Agent Location 1 isDialingRestrictionEnabled: false - id: 18e4f754-5e42-4387-ae13-e9b4fe4aed31 name: uk-2-location-id description: UK Agent Location 2 isDialingRestrictionEnabled: true links: prev: /api/admin/v1/accounts/ASDJGE/agent-locations?pageNumber=1&pageSize=3 next: /api/admin/v1/accounts/ASDJGE/agent-locations?pageNumber=3&pageSize=3 SipTrunkPageResponse: value: pagination: pageNumber: 1 pageSize: 3 total: 10 sipTrunks: - id: c8c2909d-75e9-484a-94c0-b7e8d29771fe type: BYOC seqNumber: 1 provider: umhgjt.eu.cc.avayacloud.com providerDomain: ringcentral.eu.cc.avayacloud.com trunkName: trunk1.umhgjt.eu.cc.avayacloud.com outboundDomain: trunk1.umhgjt.eu.cc.avayacloud.com inboundDomain: trunk1.umhgjt.eu.cc.avayacloud.com releaseMediaAnchorDuringTransfer: false preferredMediaLocation: AL-01 callerId: c8c2909d-75e9-484a-94c0-b7e8d297735f - id: c8c2909d-75e9-484a-94c0-b7e8d29771fe type: BYOC seqNumber: 1 provider: umhgjt.eu.cc.avayacloud.com providerDomain: ringcentral.eu.cc.avayacloud.com trunkName: trunk1.umhgjt.eu.cc.avayacloud.com outboundDomain: trunk1.umhgjt.eu.cc.avayacloud.com inboundDomain: trunk1.umhgjt.eu.cc.avayacloud.com releaseMediaAnchorDuringTransfer: false preferredMediaLocation: AL-01 callerId: c8c2909d-75e9-484a-94c0-b7e8d29771f8 - id: c8c2909d-75e9-484a-94c0-b7e8d29771fe type: MSTEAMS_SIP_TRUNK provider: umhgjt.eu.cc.avayacloud.com providerDomain: ringcentral.eu.cc.avayacloud.com trunkName: trunk1.umhgjt.eu.cc.avayacloud.com outboundDomain: trunk1.umhgjt.eu.cc.avayacloud.com inboundDomain: trunk1.umhgjt.eu.cc.avayacloud.com preferredMediaLocation: AL-01 callerId: c8c2909d-75e9-484a-94c0-b7e8d29771fg links: prev: /api/admin/v1/accounts/ASDJGE/location-profiles?pageNumber=1&pageSize=3 next: /api/admin/v1/accounts/ASDJGE/location-profiles?pageNumber=3&pageSize=3 SipTrunkUpdateRequest: value: callerId: c8c2909d-75e9-484a-94c0-b7e8d297735f isDefault: true SipTrunkUpdateResponse: value: id: c8c2909d-75e9-484a-94c0-b7e8d29771fe type: BYOC seqNumber: 1 provider: umhgjt.eu.cc.avayacloud.com providerDomain: ringcentral.eu.cc.avayacloud.com trunkName: trunk1.umhgjt.eu.cc.avayacloud.com outboundDomain: trunk1.umhgjt.eu.cc.avayacloud.com inboundDomain: trunk1.umhgjt.eu.cc.avayacloud.com releaseMediaAnchorDuringTransfer: false preferredMediaLocation: AL-01 callerId: c8c2909d-75e9-484a-94c0-b7e8d297735f isDefault: true ExtensionRequest: description: Request model for updating an Extension Number value: number: '914565637786' displayName: Jon Extension ExtensionResponse: description: Response model for updating an Extension Number value: id: 18e4f754-5e42-4387-ae13-e9b4fe4aed29 number: '914565637786' displayName: Jon Extension ErrorExtensionExists: description: Constraint Violation value: type: https://developers.avayacloud.com/onecloud-ccaas/docs/error-handling#conflict title: Conflict status: 409 detail: A resource with the same unique constraint values already exists. violations: - field: extension message: Extension already exists ExtensionNumberPage: description: Paginated Extension Number Data value: pagination: pageNumber: 2 pageSize: 10 total: 45 extensions: - id: 1f15835f-1365-4913-acf3-0ffd0767ad6e number: '914565637786' displayName: Jon Extension links: prev: /api/admin/voice/v1/accounts/ABCDEF/extensions?pageNumber=1&pageSize=10 next: /api/admin/voice/v1/accounts/ABCDEF/extensions?pageNumber=3&pageSize=10 PhoneNumberListRequest: description: Phone Number List Request value: - c8c2909d-75e9-484a-94c0-b7e8d29771fe - 1f15835f-1365-4913-acf3-0ffd0767ad6e PhoneNumberListResponse: description: Phone Number List Response value: - phoneNumberId: c8c2909d-75e9-484a-94c0-b7e8d29771fe phoneNumber: '+16479308804' displayName: private Number isCallingPartyNumber: true countryCode: US type: LOCAL accountId: ABCDEF status: INACTIVE statusMessage: Verification needed. Please send the necessary documents to siptrunksupport@avaya.com to activate it. preferredMediaLocation: US-LA - phoneNumberId: 1f15835f-1365-4913-acf3-0ffd0767ad6e phoneNumber: '+16479902347' displayName: private Number isCallingPartyNumber: true countryCode: US type: LOCAL accountId: ABCDEF status: INACTIVE statusMessage: Verification needed. Please send the necessary documents to siptrunksupport@avaya.com to activate it. preferredMediaLocation: US-LA PhoneNumberValidateRequest: description: Phone Number List Request value: - c8c2909d-75e9-484a-94c0-b7e8d29771fe - 1f15835f-1365-4913-acf3-0ffd0767ad6e - 1d033683-f1cc-477d-a190-a6d10d8a686d - c96c4d34-57fa-4256-8dc3-5f66252acb99 PhoneNumberValidateResponse: value: valid: - id: c8c2909d-75e9-484a-94c0-b7e8d29771fe - id: 1f15835f-1365-4913-acf3-0ffd0767ad6e invalid: - id: 1d033683-f1cc-477d-a190-a6d10d8a686d message: Phone number doesn't exist or disabled - id: c96c4d34-57fa-4256-8dc3-5f66252acb99 message: Phone number doesn't exist or disabled PhoneNumbersDetailsRequest: description: Get By Phone Numbers Request value: - '+1675904984' - '+1923678899' HybridSkillRequest: description: Request model for creating a Skill. value: name: French number: '1' extension: '253647784' agentAssistProfileId: 1f15835f-1365-4913-acf3-0ffd0767ad6e HybridSkillResponse: description: Single skill response value: id: 1f15835f-1365-4913-acf3-0ffd0767ad6e number: '8000' name: French extension: '253647784' agentAssistProfileId: 6a305019-a43c-4ed4-8dab-324d82dd9d55 UpdateHybridSkillRequest: description: Request model for updating a Skill. value: name: French number: '1' extension: '253647784' agentAssistProfileId: 1f15835f-1365-4913-acf3-0ffd0767ad6e HybridSkillPageResponse: description: Lists all Skills. value: pagination: pageNumber: 2 pageSize: 10 total: 20 skills: - id: 7700d655-5807-4738-a868-712740a18199 name: French number: '11' extension: '253647784' - id: 8b2ae74d-61e5-48df-8b32-81a7bc726495 name: English number: '12' extension: '253647784' links: prev: /api/admin/voice/v1/accounts/NCWBNY/communication-managers/5e9be49a-32d3-4927-83c7-7b0952798028/skills?pageNumber=1&pageSize=10 next: /api/admin/voice/v1/accounts/NCWBNY/communication-managers/5e9be49a-32d3-4927-83c7-7b0952798028/skills?pageNumber=3&pageSize=10 HybridSkill: description: Single skill response value: id: 1f15835f-1365-4913-acf3-0ffd0767ad6e number: '8000' name: French extension: '253647784' agentAssistProfileId: 6a305019-a43c-4ed4-8dab-324d82dd9d55 errorMessage: '' HybridSkillResponsePartial: description: Single skill response value: id: 1f15835f-1365-4913-acf3-0ffd0767ad6e number: '8000' name: French extension: '253647784' agentAssistProfileId: 6a305019-a43c-4ed4-8dab-324d82dd9d55 errorMessage: Failure in agent assist API while skill creation