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

Version 1 Current »

Operation

Returns the prices in availability of a Rate for every date selected in range.

GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/rate/{rateId}/availability/basePrice


Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter

propertyIdIntegertruepath parameter

rateIdIntegertruepath parameter

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/2/rate/2/availability/basePrice


Response


FieldTypeRequiredDescription
rateRatetrueRate of this relationship.
rateBasePriceAvailabilityListArray of RateBasePriceAvailabilitytrueThe list of related availability per day.

Example response

{
	"rate": {
		"id": 32,
		"code": "FIT",
		"name": "FIT",
		"rateType": {
			"id": 10,
			"code": "PAC",
			"name": "Package"
		}
	},
	"rateBasePriceAvailabilityList": [{
			"date": "2022-11-16",
			"price": 192.000000
		},
		{
			"date": "2022-11-17",
			"price": 192.000000
		},
		{
			"date": "2022-11-18",
			"price": 192.000000
		}
	]
}
  • No labels