Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Operation

Information of the operation

GET
https://{environment}.ulysescloud.com/public/api/{version}/chain/{chainId}/property/{propertyId}/pbx/{integrationId}/requests


Request

PropertyTypeRequiredDefault valueDescription
chainIdIntegertrue
Unique identificator of the chain.
propertyIdIntegertrue
Unique identificator of the property.
integrationIdIntegertrue
Unique identificator of the Integration.
offsetIntegerfalse0Offset of the array of results.
limitIntegerfalse10Limit of results.
sortstringfalseidProperty of the entity to sort by.
sortModestringfalseAscMode of sorting.

Example request

GET https://prod.ulysescloud.com/public/api/v1/chain/1/property/3/pbx/9/requests


Response

PropertyTypeRequiredDescription
PagePagetruePaged result

Entity


FieldTypeRequiredDescription
idinttrueUnique identifier for the PBXRequestQueue.

pbxRequestType

PBXRequestTypetrueType of request.

space

SpacetrueSpace related to this request.

reservationRoomStay

ReservationRoomStayfalseReservationRoomStay related to this request.

responseStatusCode

ResponseStatusCodetrueStatus of this request in the queue.



Example response

{
	"count": 1,
	"offset": 0,
	"limit": 10,
	"list": [{
		"id": 5,
		"pbxRequestType": {
			"id": 1,
			"code": "CI",
			"name": "CheckIn"
		},
		"module": {
			"id": 1,
			"code": "101",
			"name": "M101",
			"roomModuleStatusTypeModel": {
				"id": 1,
				"code": "CL",
				"name": "Clean"
			}
		},
		"reservationRoomStay": null,
		"responseStatusCode": {
			"id": 4,
			"code": "4",
			"name": "Pending"
		}
	}]
}
  • No labels