taobao.xhotel.multiplerates.update
O: Optional; R: Required; SR: Special Required
Name | Type | O/R/SR | Example | Limitation | Description |
---|---|---|---|---|---|
rate_quota_map | String | R | [ { "useRoomInventory": false, "outRoomId": "abc", "ratePlanCode": "WHL03", "vendor": "taobao", "currencyCode": "CNY", "priceCalendar": [ { "date": "2015-07-13", "inventoryPrice": [ { "lengthOfStay": 2, "rateSwitch": 1, "quota": 100, "price": [ { "occupancy": 1,"childnum": 1, "infantnum": 1, "ckinSwitch": 1, "ckoutSwitch": 1, "basePrice": 20000, "taxAndFee": 20000, "addBedPrice": 12233, "addPersonPrice": 20000 } ] } ] } ] } ] | Quota modification of rate and inventory information. The data in request parameters will be used to overwrite the original quota rate data. A: useRoomInventory: Whether to use room shared inventory, optional values: true, false. In case of false, rate private inventory is used and the data will be written into inventory list if inventory is filled. B: date: date within T days and T+180 days (T means the current day), which shall not be repeated. C: basePrice: base price, an integer, range: 1-99999999, in RMB Fen. D: quota, inventory, an integer, range: 0 -999 (quantity inventory), supporting status inventory, 60000 (status inventory closed), 61000 (status library opened). E: occupancy: number of guests, range: 1-10. F: lengthofStay, length of stay, range: 1-10; G: taxAndFee, total taxes and fees. H: addBedPrice: additional bed price. I: addPersonPrice, additional person price; J: rateSwitch: room status, 1: open; 0: closed. K: outRoomId and ratePlanCode may be used to update quota inventory. L: chidnum, number of children. M: infantnum, number of infants. N: ckinSwitch, checkin switch (0: enabled; 1: disabled). O: ckoutSwitch, checkout switch (0: enabled; 1: disabled). |
Name | Type | Example | Description |
---|---|---|---|
gid_and_rpid_occupancy_lengthofstay | String [] | 1000-12300-1-1 | Goods id, room rate id, occupancy, length of stay |
warnmessage | String | [{gid:123,rpId:234,occupancy:2,lengthofstay:2,code:-1,msg:parameter format error}] | If some update fails in quota update, the reason for partial failure will appear. |