Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Operation

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

Rw ui textbox macro
typewarning

Only accessible with permission of pms.integration.profile


Style
table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}
.separator{
margin: 5px 0;
}



Div
style background-color: green; color: white; display: inline-block; padding: 5px; border-radius: 3px;

GET



Div
stylebackground-color: #0a2b1d; padding: 10px 1em; display: inline-block; color: white; border-radius: 3px;

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

withRestrictionsbooleanfalserequestParam


Example request

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



Response

Insert excerpt
RateBasePrice
RateBasePrice
nopaneltrue

Example response

Code Block
themeDJango
{
	"rate": {
		"id": 32,
		"code": "FIT",
		"name": "FIT",
		"rateType": {
			"id": 10,
			"code": "PAC",
			"name": "Package"
		}
	},
	"rateBasePriceAvailabilityList": [{
			"date": "2022-11-1618",
			"price": 192.000000,
			"closed": true,
			"minStay": 0,
			"maxStay": 0,
			"closedToArrival": false,
			"closedToDeparture": false
		},
		{
			"date": "2022-11-1719",
			"price": 192165.000000,
			}"closed": true,
			{"minStay": 0,
			"datemaxStay": 0,
"2022-11-18"			"closedToArrival": false,
			"priceclosedToDeparture": 192.000000false
		}
	]
}