Rate
Structure
Field | Type | Required | Description |
---|---|---|---|
id | int | true | Id of the Rate |
code | string | true | Code of the Rate |
name | string | true | Name of the Rate |
rateType | RateType | true | RateType of the ChainRate that belongs this Rate |
releaseDay | int | true | ReleaseDay of the Offer |
deadLineDay | int | true | DeadLineDay of the Offer |
startDate | LocalDate | true | StartDate of the Offer |
endDate | LocalDate | true | EndDate of the Offer |
startSellDate | LocalDate | false | StartSellDate of the Offer |
endSellDate | LocalDate | false | EndSellDate of the Offer |
propertyId | int | false | Id of the property (Only for multiproperty request) |
JSON representation
{ "id": 1, "code": "BAR", "name": "Best Available Rate", "releaseDay": 0, "deadLineDay": 0, "minStay": 0, "maxStay": 0, "startDate": "2022-01-01", "endDate": "2025-12-31", "startSellDate": null, "endSellDate": null, "rateType": { "id": 2, "code": "CLU", "name": "Club/Concierge" } }