Versions Compared

Key

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

Structure

Excerpt


FieldTypeRequiredDescription
rateRatetrueRate to update prices
priceUpdateAccommodationListArray of PriceUpdateBasePriceAccommodationtrue



JSON representation

Code Block
languagepowershell
themeDJango
 {
	"rate": {
		"id": 2,
		"code": "BAR",
		"name": "Best Available Rate"
	},
	"priceUpdateBasePriceAccommodationList": [
		{
			"priceUpdateBasePriceAccommodationDetailList": [{
				"startDate": "2021-02-10",
				"endDate": "2021-02-24",
				"price": 10.0000
			},
												  {
				"startDate": "2021-02-24",
				"endDate": "2021-03-05",
				"price": 25.0000
			}]
		}
	]
}