Services List [GET]

Operation

Get the list of services in a paged array.

GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/service


Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegertruepath parameter
Unique identificator of the property.
offsetIntegerfalserequest parameter0Offset of the array of results.
limitIntegerfalserequest parameter10Limit of results.
sortstringfalserequest parameteridProperty of the entity to sort by.
sortModestringfalserequest parameterascMode of sorting.

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/service


Response

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

Entity

The entity returned is a Page with a list of Service's. Description of the Service entity:


FieldTypeRequiredDescription
idinttrueUnique identifier for the Service.
codeStringtrueCode of the Service.
nameStringtrueName of the Service.
forecastListProductServiceAvailabilityfalseA list of associated ProductServiceAvailability to this Service. Only apears if we have data.

Example response

{
	"count": 27,
	"offset": 0,
	"limit": 3,
	"list": [{
			"id": 46,
			"code":"ECR",
			"name": "Extra Charge Room"
		},
		{
			"id": 51,
			"code":"COT",
			"name": "Cot"
		},
		{
			"id": 56,
			"code":"NS",
			"name": "No Show"
		}
	]
}