Add PBXCallQueue [POST]

Operation

Information of the operation

POST
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/pbx/{integrationId}/calls


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.

Example request

POST https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/3/pbx/9/calls


Body

A PBXCallQueue entity.

Example body

{
    "extensionCode": "EXT101",
    "date": "2020-04-12T18:13:50.710Z",
    "destinationNumber": "93 665 46 47",
    "duration": "00:01:32",
    "amountAfterTax": "2.330030"
}


Response

PropertyTypeRequiredDescription
responseApiMessageResponseApiMessagetrueResponse of the operation.

Note

Please note that this endpoint will return a successful response if the extensionCode belongs to a Room which has a ReservationRoomStay linked. In other words, if the extensionCode belongs to a inHouse room stay



Example response

{
  "httpStatus": "201",
  "userMessage": "Success",
  "technicalMessage": "Success call added to queue",
  "errorCode": "0",
  "moreInfo": "",
  "id": 0,
  "entity": null
}