GET api/hotel/techson/order/query/{lang}/{bookingCode}
订单明细
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lang |
语言(zh-hk,zh-cn,en-us) |
string |
Required |
bookingCode |
订单编号 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
订单明细
ReturnResultOfHotelOrderRSContractName | Description | Type | Additional information |
---|---|---|---|
data | HotelOrderRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "bookingcode": "sample string 1", "bookingstatus": "sample string 2", "bookingtime": "sample string 3", "hotelitem": { "hoteltype": "sample string 1", "hotelId": "sample string 2", "hotelcode": "sample string 3", "star": 4, "iswifi": true, "isHotelwifi": true, "suppliercode": "sample string 7", "categorycode": "sample string 8", "categoryname": "sample string 9", "citycode": "sample string 10", "city": "sample string 11", "countrycode": "sample string 12", "country": "sample string 13", "isavailable": true, "checkintime": "sample string 15", "checkouttime": "sample string 16", "meal": { "mealcount": 1, "mealcode": "sample string 2", "mealname": "sample string 3", "includemeal": true }, "price": { "costcurrency": "sample string 1", "sellcurrency": "sample string 2", "costprice": 3.1, "sellprice": 4.1 }, "dailypricelist": [ { "staydate": "sample string 1", "price": { "costcurrency": "sample string 1", "sellcurrency": "sample string 2", "costprice": 3.1, "sellprice": 4.1 }, "paxroomtypeprice": [ { "price": { "costcurrency": "sample string 1", "sellcurrency": "sample string 2", "costprice": 3.1, "sellprice": 4.1 }, "orgsellprice": 1.1, "markupprice": 2.1, "markupdescript": "sample string 3", "categorycode": "sample string 4", "categoryname": "sample string 5", "meal": { "mealcount": 1, "mealcode": "sample string 2", "mealname": "sample string 3", "includemeal": true }, "paxroomtype": { "adultcount": 1, "childcount": 2, "roomcount": 3, "roomtypecode": "sample string 4", "agelist": [ 1, 2 ] }, "roomavailablecount": 6 }, { "price": { "costcurrency": "sample string 1", "sellcurrency": "sample string 2", "costprice": 3.1, "sellprice": 4.1 }, "orgsellprice": 1.1, "markupprice": 2.1, "markupdescript": "sample string 3", "categorycode": "sample string 4", "categoryname": "sample string 5", "meal": { "mealcount": 1, "mealcode": "sample string 2", "mealname": "sample string 3", "includemeal": true }, "paxroomtype": { "adultcount": 1, "childcount": 2, "roomcount": 3, "roomtypecode": "sample string 4", "agelist": [ 1, 2 ] }, "roomavailablecount": 6 } ] }, { "staydate": "sample string 1", "price": { "costcurrency": "sample string 1", "sellcurrency": "sample string 2", "costprice": 3.1, "sellprice": 4.1 }, "paxroomtypeprice": [ { "price": { "costcurrency": "sample string 1", "sellcurrency": "sample string 2", "costprice": 3.1, "sellprice": 4.1 }, "orgsellprice": 1.1, "markupprice": 2.1, "markupdescript": "sample string 3", "categorycode": "sample string 4", "categoryname": "sample string 5", "meal": { "mealcount": 1, "mealcode": "sample string 2", "mealname": "sample string 3", "includemeal": true }, "paxroomtype": { "adultcount": 1, "childcount": 2, "roomcount": 3, "roomtypecode": "sample string 4", "agelist": [ 1, 2 ] }, "roomavailablecount": 6 }, { "price": { "costcurrency": "sample string 1", "sellcurrency": "sample string 2", "costprice": 3.1, "sellprice": 4.1 }, "orgsellprice": 1.1, "markupprice": 2.1, "markupdescript": "sample string 3", "categorycode": "sample string 4", "categoryname": "sample string 5", "meal": { "mealcount": 1, "mealcode": "sample string 2", "mealname": "sample string 3", "includemeal": true }, "paxroomtype": { "adultcount": 1, "childcount": 2, "roomcount": 3, "roomtypecode": "sample string 4", "agelist": [ 1, 2 ] }, "roomavailablecount": 6 } ] } ], "cancellationpolicylist": [ { "canceldeadlinedate": "sample string 1", "cancelbeforeday": 2.0, "nightnum": 3.0, "percent": 4.1, "price": { "costcurrency": "sample string 1", "sellcurrency": "sample string 2", "costprice": 3.1, "sellprice": 4.1 }, "descript": "sample string 5", "datetype": 6 }, { "canceldeadlinedate": "sample string 1", "cancelbeforeday": 2.0, "nightnum": 3.0, "percent": 4.1, "price": { "costcurrency": "sample string 1", "sellcurrency": "sample string 2", "costprice": 3.1, "sellprice": 4.1 }, "descript": "sample string 5", "datetype": 6 } ] }, "contact": { "surname": "sample string 1", "givenname": "sample string 2", "title": "sample string 3", "email": "sample string 4", "gender": "sample string 5", "age": 6, "address": "sample string 7", "tel": "sample string 8" }, "customerdetails": [ { "roomindex": "sample string 1", "roomtype": "sample string 2", "paxindex": "sample string 3", "surname": "sample string 4", "givenname": "sample string 5", "title": "sample string 6", "Gender": "sample string 7", "Age": 8 }, { "roomindex": "sample string 1", "roomtype": "sample string 2", "paxindex": "sample string 3", "surname": "sample string 4", "givenname": "sample string 5", "title": "sample string 6", "Gender": "sample string 7", "Age": 8 } ] }, "code": 1, "message": "sample string 2" }