openapi: 3.2.0
info:
title: Admin - Voice Communication Manager API
description: 'The Voice provider APIs are used to manage information about voice specific elements and different voice related entities e.g. Phone numbers.
Voice Services will support multiple ways to provision voice providers
1. Programmatic Interface (Rest APIs)
2. User Interface'
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
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
security:
- {}
- BearerAuth: []
AppKey: []
tags:
- 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.
paths:
/accounts/{accountId}/communication-managers:
post:
tags:
- Communication Manager
summary: Creates a CM server
description: '**This API requires the Account Administrator role.**
Creates a Communication Manager for specified account'
operationId: createCommunicationManager
parameters:
- $ref: '#/components/parameters/accountId'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CommunicationManager'
examples:
default:
$ref: '#/components/examples/CommunicationManagerRequest'
required: true
responses:
'202':
description: Accepted
content:
application/json:
schema:
$ref: '#/components/schemas/AsynchronousOperationResponse'
examples:
default:
$ref: '#/components/examples/CommunicationManagerAsyncResponse'
'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:
- Communication Manager
summary: Lists all CM servers
description: '**This API requires the Account Administrator role.**
Returns the list of all available Communication Manager servers by account id'
operationId: getAllCommunicationManagers
parameters:
- $ref: '#/components/parameters/accountId'
- $ref: '#/components/parameters/pageNumber'
- name: pageSize
in: query
description: The maximum number of records to retrieve per page. Default value is 10 and maximum 10 records will be retrieved.
required: false
schema:
type: integer
format: int32
example: 5
default: 10
minimum: 5
maximum: 50
- name: filter
in: query
description: "Specifies details of a row filter.\n\n The possible fields that can be filtered on are:\n * name\n\nThe 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"
required: false
schema:
type: string
maxLength: 255
examples:
exact:
description: Example of filtering based on an exact string.
value: name=CM1420
prefix:
description: Example of filtering based on a prefix string.
value: name:CM1*
postfix:
description: Example of filtering based on a postfix string.
value: name:*CM1420
- 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
default: name
maxLength: 255
examples:
ascending:
value: name
descending:
value: name desc
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/CommunicationManagerPage'
examples:
default:
$ref: '#/components/examples/CommunicationManagerPageResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
/accounts/{accountId}/communication-managers/{communicationManagerId}:
put:
tags:
- Communication Manager
summary: Updates a CM server
description: '**This API requires the Account Administrator role.**
Updates an existing Communication Manager server with cm id by accound id'
operationId: updateCommunicationManager
parameters:
- $ref: '#/components/parameters/accountId'
- $ref: '#/components/parameters/communicationManagerId'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CommunicationManager'
examples:
default:
$ref: '#/components/examples/CommunicationManagerRequest'
required: true
responses:
'202':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/AsynchronousOperationResponse'
examples:
default:
$ref: '#/components/examples/CommunicationManagerAsyncResponse'
'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:
- Communication Manager
summary: Gets details of a CM server
description: '**This API requires the Account Administrator role.**
Returns the details of Communication Manager, based on the specified cm id and account id'
operationId: getCommunicationManagerById
parameters:
- $ref: '#/components/parameters/accountId'
- $ref: '#/components/parameters/communicationManagerId'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/CommunicationManagerResponse'
examples:
default:
$ref: '#/components/examples/CommunicationManagerResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
delete:
tags:
- Communication Manager
summary: Deletes a CM server
description: '**This API requires the Account Administrator role.**
Deletes an existing Communication Manager server identified by cm id'
operationId: deleteCommunicationManagerById
parameters:
- $ref: '#/components/parameters/accountId'
- $ref: '#/components/parameters/communicationManagerId'
responses:
'202':
description: Accepted
content:
application/json:
schema:
$ref: '#/components/schemas/AsynchronousOperationResponse'
examples:
default:
$ref: '#/components/examples/CommunicationManagerAsyncResponse'
'204':
description: No content
'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'
components:
responses:
MethodNotAllowed:
description: Method Not Allowed
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
examples:
default:
$ref: '#/components/examples/ErrorMethodNotAllowed'
ErrorConstraintViolation:
description: Constraint Violation
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
examples:
default:
$ref: '#/components/examples/ErrorConstraintViolation'
InternalServerError:
description: All other application errors
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
examples:
default:
$ref: '#/components/examples/ErrorInternalServerError'
Unauthorized:
description: Unauthorized
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
examples:
default:
$ref: '#/components/examples/ErrorUnauthorized'
Conflict:
description: Conflict
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
examples:
default:
$ref: '#/components/examples/ErrorConflict'
NotFound:
description: Not Found
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
examples:
default:
$ref: '#/components/examples/ErrorNotFound'
Forbidden:
description: Forbidden
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
examples:
default:
$ref: '#/components/examples/ErrorForbidden'
examples:
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
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.
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.
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
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.
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
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
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'
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.
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
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.
schemas:
Problem:
type: object
description: '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
- 'null'
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
status:
type:
- integer
- 'null'
format: int32
description: 'The HTTP status code generated by the origin server for this occurrence of the problem.
'
minimum: 100
example: 503
exclusiveMaximum: 600
detail:
type:
- string
- 'null'
description: 'A human readable explanation specific to this occurrence of the problem.
'
example: Connection to database timed out
instance:
type:
- string
- 'null'
format: uri
description: 'An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
'
violations:
type:
- array
- 'null'
description: 'A list of violations that occurred as a result of invalid data provided as part of a request.
'
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
CommunicationManagerPage:
title: CommunicationManagerPage
type: object
description: Communication Manager filtered response
properties:
pagination:
$ref: '#/components/schemas/Pagination'
resources:
type: array
maxItems: 50
items:
$ref: '#/components/schemas/CommunicationManagerResponse'
links:
allOf:
- $ref: '#/components/schemas/Links'
example:
prev: /api/admin/voice/v1/accounts/{accountId}/communication-managers?pageNumber=1&pageSize=10
next: /api/admin/voice/v1/accounts/{accountId}/communication-managers?pageNumber=3&pageSize=10
AsynchronousOperationResponse:
type: object
description: Represents the response for an asynchronous operation that simply returns a HATEOAS url, that provides a reference to the object under operation
properties:
url:
type: string
maxLength: 2048
CommunicationManager:
title: CommunicationManager
type: object
description: Represents the model used to create or update a Communication Manager element.
properties:
id:
type: string
readOnly: true
format: uuid
example: 690a6253-bc77-4af4-bf94-eaab68ca2ff0
description: The unique id of the cm.
name:
type: string
example: CM4696
minLength: 3
maxLength: 255
pattern: ^[a-zA-Z0-9\p{L}\-\_\.\ ]+$
description:
type: string
example: This is testing Communication Manager.
maxLength: 255
pattern: (^$|^[a-zA-Z0-9\p{L}\(\)\-\_\.\ \n]+$)
hostname:
type: string
description: This is the Fully Qualified Domain Name (FQDN)
example: dc1-cm96.avayacloud.stage
maxLength: 255
pattern: (^(([a-zA-Z]|[a-zA-Z][a-zA-Z0-9\-]*[a-zA-Z0-9])\.){1,}([A-Za-z]|[A-Za-z][A-Za-z0-9\-]*[A-Za-z0-9]){1,}$)|((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))
port:
type: string
example: '5022'
default: '5022'
minLength: 0
maxLength: 5
minimum: 0
maximum: 65535
alternateHostname:
type: string
description: This is the Fully Qualified Domain Name (FQDN) of alternate CM
example: dc1-cm98.avayacloud.stage
minLength: 0
maxLength: 255
pattern: (^(([a-zA-Z]|[a-zA-Z][a-zA-Z0-9\-]*[a-zA-Z0-9])\.){1,}([A-Za-z]|[A-Za-z][A-Za-z0-9\-]*[A-Za-z0-9]){1,}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{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))
alternatePort:
type: string
example: '5044'
minLength: 0
maxLength: 5
minimum: 0
maximum: 65535
username:
type: string
example: cust
minLength: 0
maxLength: 255
password:
type: string
example: testpassword
minLength: 0
maxLength: 255
version:
type: string
description: Version of Communication Manager.
enum:
- NONE
- V8_X
- V10_X
default: V10_X
example: V10_X
hybridCloudGatewayId:
type: string
format: uuid
description: Hybrid Cloud Gateway uuid associated with the Communication Manager
example: 36c707a7-7a29-4cd7-82c0-60a61346ed29
enableAutoIncrementalSync:
type: boolean
description: 'Flag used for automatic incremental sync. '
example: true
default: false
lastOnPremChangeDetectedTime:
type: string
description: Last on-prem change detected time from list history
readOnly: true
example: 2020-04-21T17:40:28z
required:
- name
- hybridCloudGatewayId
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.
CommunicationManagerResponse:
title: CommunicationManagerResponse
type: object
description: Represents the model used to get details of a single Communication Manager.
properties:
id:
type: string
readOnly: true
format: uuid
example: 52de9de1-dda8-48d1-8ee5-e1b448b51ba1
description: The unique id of the cm.
name:
type: string
example: CM4696
minLength: 3
maxLength: 255
pattern: ^[a-zA-Z0-9\p{L}\-\_\.\ ]+$
description:
type: string
example: This is testing Communication Manager.
minLength: 3
maxLength: 255
pattern: (^$|^[a-zA-Z0-9\p{L}\(\)\-\_\.\ \n]+$)
hostname:
type: string
description: This is the Fully Qualified Domain Name (FQDN)
example: dc1-cm96.avayacloud.stage
minLength: 0
maxLength: 255
pattern: (^(([a-zA-Z]|[a-zA-Z][a-zA-Z0-9\-]*[a-zA-Z0-9])\.){1,}([A-Za-z]|[A-Za-z][A-Za-z0-9\-]*[A-Za-z0-9]){1,}$)|((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][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d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))
port:
type: string
example: '5022'
default: '5022'
minLength: 0
maxLength: 5
minimum: 0
maximum: 65535
alternateHostname:
type: string
description: This is the Fully Qualified Domain Name (FQDN) of alternate CM
example: dc1-cm98.avayacloud.stage
minLength: 0
maxLength: 255
pattern: (^(([a-zA-Z]|[a-zA-Z][a-zA-Z0-9\-]*[a-zA-Z0-9])\.){1,}([A-Za-z]|[A-Za-z][A-Za-z0-9\-]*[A-Za-z0-9]){1,}$)|((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))
alternatePort:
type: string
example: '5044'
minLength: 0
maxLength: 5
minimum: 0
maximum: 65535
username:
type: string
example: cust
minLength: 0
maxLength: 255
password:
type: string
example: testpassword
minLength: 0
maxLength: 255
version:
type: string
description: Version of Communication Manager.
enum:
- V8_X
- V10_X
default: V10_X
example: V10_X
maxLength: 10
hybridCloudGatewayId:
type: string
format: uuid
description: Hybrid Cloud Gateway uuid associated with the Communication Manager
example: d480d85c-c5dd-440d-8d7f-ba172eea5d61
enableAutoIncrementalSync:
type: boolean
description: Enable Auto Incremental Sync
example: true
default: false
status:
type: string
description: Status of the object under operation
enum:
- IN_PROGRESS
- FAILED
- SUCCESS
example: IN_PROGRESS
lastOnPremChangeDetectedTime:
type: string
description: Last on-prem change detected time from list history
readOnly: true
example: 2020-04-21T17:40:28z
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.
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
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
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
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: This API uses Bearer Token Authorization Flow
bearerFormat: JWT
AppKey:
type: apiKey
in: header
name: appkey
description: This API needs an appKey as header
x-explorer-enabled: false
x-samples-languages:
- curl
- node
- java
- javascript
- python
- go