OfferProductOccupancyAvailabilityInterval

Structure

FieldTypeRequiredDescription
offerListList<Offer>falselist of offer.
accommodationListList<Accommodation>falselist of accommodation.
intervalListList<Interval>falselist of intervals.
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 percentDiscount.
percentDiscountBigDecimalfalsepercent of Discount.
updateAmountDiscountBooleanfalseupdate amountDiscount.
amountDiscountBigDecimalfalseimport of Discount.

JSON representation

{
  "offerList":[
      {"id":2},
      {"id":17},
      {"id":32},
      {"id":47},
      {"id":62}
  ],
  "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
  ],
  "updateClosed": true,
  "updateClosedToArrival": true,
  "updateClosedToDeparture": true,
  "updateMaxStay": true,
  "updateMinStay": true
}