Versions Compared

Key

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

Structure

Excerpt


FieldTypeRequiredDescription

service

Servicetrue

startDate

datetrue

endDate

datetrue

quantity

inttrue

reservationRoomStayServiceDailyList

Array of 

ReservationRoomStayServiceDaily

true



JSON representation

Code Block
languagepowershell
themeDJango
{
	"service": {
		"id": 233,
     	"code":"PET",
		"name": "Pet"
	},
	"startDate": "2019-05-03",
	"endDate": "2019-05-04",
	"quantity": 1,
	"reservationRoomStayServiceDailyList": [{
			"date": "2019-05-03",
			"rate": null,
			"price": 10,
			"currency": {
				"codeamount": "EUR"23,
				"name": "Euro"
			},
			"offer": null,
			"offerAmountDiscount": null,
			"offerPercentDiscount": null,
			"promotion": null,
			"promotionAmountDiscount": null,
			"promotionPercentDiscount": null,
			"postingDate": null
		},
		{
			"date": "20192020-0509-04",
			"rate": null,
			"price": 11,
			"currency": {
				"code": "EUR",
				"nameid": "Euro"
			}1,
			"offer": null,
			"offerAmountDiscountcode": null,
			"offerPercentDiscount": null,
			"promotion": null,
			"promotionAmountDiscount": null,
			"promotionPercentDiscount": null,
			"postingDate": null"EUR"
						}
		}
	]
}