Mapping
{
"timestamp": "2020-05-18t16:20:00-04:00",
"partnerid": "12345678",
"partnerkey": "partner_key",
"property": "hotelid",
"currency": "eur",
"rooms": [
{
"roomid": "roomid_1",
"name": "std",
"maxbed": 2
},
{
"roomid": "roomid_1",
"name": "king",
"maxbed": 3
},
{
"roomid": "roomid_2",
"name": "double",
"maxbed": 2
}
],
"roomrateplans": [
{
"rateroomid": "roomid_1",
"rateid": "rateid_1",
"name": "hb-refundable",
"maxbed": "2",
"derived": false,
"refundable": false,
"pricingmodel": false
},
{
"rateroomid": "roomid_1",
"rateid": "rateid_1",
"name": "non-refundable",
"maxbed": 2,
"derived": false,
"refundable": false,
"pricingmodel": true
},
{
"rateroomid": "roomid_2",
"rateid": "rateid_2",
"name": "refundable",
"maxbed": 3,
"derived": false,
"refundable": false,
"pricingmodel": false
}
]
}
Element / @Attribute | Type | Description |
---|---|---|
property * | Integer | Hotels Id on Channel |
currency | String | Hotels base Currency |
rooms * | rooms | Room Type Definition Area |
roomid * | String | A unique identifier for a type of room |
name * | String | A unique name for a type of room |
maxbed * | String | The maximum number of guests that a room can physically accommodate. |
roomrateplans* | roomrateplans | Rate Type Definition Area |
rateroomid * | Integer | A unique identifier for a type of room |
rateid * | Integer | A unique identifier for a type of rate |
rateid * | String | A unique name for a type of rate. |
maxbed * | Integer | The maximum number of guests that a rate plan can physically accommodate. |
derived * | boolean | Rate plan is derived or not. |
refundable * | boolean | Rate plan is refundable or not. |
pricingmodel* | boolean | Which pricing type the hotel use Value:0 (Per Day Price) Value:1(Occupancy Based). |
* Required fields
Last modified 1yr ago