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

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegertruepath parameter
Unique identificator of the property.
integrationIdIntegertruepath parameter
Unique identificator of the Integration.

pbxExtension

PBXExtensiontruerequest 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

PropertyTypeRequiredDescription
responseApiMessageResponseApiMessagetrueResponse of the operation.



Example response

{
  "httpStatus": "201",
  "userMessage": "Success",
  "technicalMessage": "Success extension added",
  "errorCode": "0",
  "id": 1
}