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

« Previous Version 3 Next »

Structure

FieldTypeRequiredDescription
rateListList<rate>falselist of rate.
accommodationListList<accommodation>falselist of accommodation.
intervalListList<interval>falsedate of the RateProductOccupancyAvailability.
updateAmountBooleanfalseimport of amountAfterTax.
updateClosedBooleanfalseupdate closed.
closedBooleanfalseclosed or open.
updateMinStayBooleanfalseupdate minStay.
minStayIntegerfalseminStay number of nights.
updateMaxStayBooleanfalseupdate maxStay.
maxStayIntegerfalsemaxStay number of  nights.
updateClosedToArrivalBooleanfalseupdate closedToArrival.
closedToArrivalBooleanfalseis closedToArrival.
updateClosedToDepartureBooleanfalseupdate closedToDeparture.
closedToDepartureBooleanfalseis closedToDeparture.
updatePercentDiscountBooleanfalseupdate percent of Discount.
percentDiscountBigDecimalfalsepercent of Discount.
updateAmountDiscountBooleanfalseupdate amountDiscount.
amountDiscountBigDecimalfalseimport of Discount.

JSON representation

{
  "rateList":[
      {"id":2},
      {"id":17},
      {"id":32},
      {"id":92}
  ],
  "intervalList": [
    {
      "startDate": "2023-10-23",
      "endDate": "2023-10-31",
      "monday": true,
      "tuesday": true,
      "wednesday": true,
      "thursday": true,
      "friday": true,
      "saturday": true,
      "sunday": true
    },
    {
      "startDate": "2023-11-19",
      "endDate": "2023-11-30",
      "monday": true,
      "tuesday": true,
      "wednesday": true,
      "thursday": true,
      "friday": true,
      "saturday": true,
      "sunday": true
    }
  ],
  "accommodationList": [
    692,
    707,
    722,
    737,
    752,
    767,
    782,
    797,
    812
  ],
  "closed": false,
  "closedToArrival": true,
  "closedToDeparture": false,
  "maxStay": "7",
  "minStay": "1",
  "updateClosed": true,
  "updateClosedToArrival": true,
  "updateClosedToDeparture": true,
  "updateMaxStay": true,
  "updateMinStay": true
}
  • No labels