Add PBXExtension [POST]
Operation
Information of the operation
POST
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/pbx/{integrationId}/extensions
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | Unique identificator of the chain. | |
propertyId | Integer | true | path parameter | Unique identificator of the property. | |
integrationId | Integer | true | path parameter | Unique identificator of the Integration. | |
pbxExtension | PBXExtension | true | request parameter | The extension that is going to be saved. |
Example request
POST https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/3/pbx/9/extensions
Body
A PBXExtension entity.
Example body
{ "extensionCode": "COD1", "name": "Extension 1", "space": null }
Response
Property | Type | Required | Description |
---|---|---|---|
responseApiMessage | ResponseApiMessage | true | Response of the operation. |
Example response
{ "httpStatus": "201", "userMessage": "Success", "technicalMessage": "Success extension added", "errorCode": "0", "id": 1 }