POST api/hotel/agentsys/markup
酒店调价
Request Information
URI Parameters
None.
Body Parameters
TC_HotelMarkupRQContractName | Description | Type | Additional information |
---|---|---|---|
citycode |
城市编码 |
string |
None. |
checkindate |
入住时间 |
date |
None. |
nowdate |
现在时间 |
date |
None. |
authuser |
用户身份信息 |
TC_UserContract |
None. |
Request Formats
application/json, text/json
Sample:
{ "citycode": "sample string 1", "checkindate": "2024-12-23T12:31:36.0093258+08:00", "nowdate": "2024-12-23T12:31:36.0093258+08:00", "authuser": { "userid": "sample string 1", "password": "sample string 2" } }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
酒店调价
ReturnResultOfTC_HotelMarkupRSContractName | Description | Type | Additional information |
---|---|---|---|
data | TC_HotelMarkupRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "item": [ { "mid": "sample string 1", "hotelname": "sample string 2", "city": "sample string 3", "effstartdate": "sample string 4", "effenddate": "sample string 5", "priority": 6, "apis": [ { "code": "sample string 1", "name": "sample string 2" }, { "code": "sample string 1", "name": "sample string 2" } ], "rules": [ { "fromprice": 1.0, "toprice": 2.0, "value": 3.0, "vtype": "sample string 4", "markuptype": "sample string 5", "currency": "sample string 7" }, { "fromprice": 1.0, "toprice": 2.0, "value": 3.0, "vtype": "sample string 4", "markuptype": "sample string 5", "currency": "sample string 7" } ] }, { "mid": "sample string 1", "hotelname": "sample string 2", "city": "sample string 3", "effstartdate": "sample string 4", "effenddate": "sample string 5", "priority": 6, "apis": [ { "code": "sample string 1", "name": "sample string 2" }, { "code": "sample string 1", "name": "sample string 2" } ], "rules": [ { "fromprice": 1.0, "toprice": 2.0, "value": 3.0, "vtype": "sample string 4", "markuptype": "sample string 5", "currency": "sample string 7" }, { "fromprice": 1.0, "toprice": 2.0, "value": 3.0, "vtype": "sample string 4", "markuptype": "sample string 5", "currency": "sample string 7" } ] } ] }, "code": 1, "message": "sample string 2" }