POST api/hotel/techson/order/submit/{lang}
下单
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| lang | 
                         语言(zh-hk,zh-cn,en-us)  | 
                    string | 
                                 Required  | 
                
Body Parameters
下单模型
HotelBookingRQContract| Name | Description | Type | Additional information | 
|---|---|---|---|
| sessiontoken | 
                         SessionToken  | 
                    string | 
                             None.  | 
                
| contactperson | 
                         联系人信息  | 
                    ContactPersonInfo | 
                             None.  | 
                
| customers | 
                         房间详细资料  | 
                    Collection of BookingCustomerInfo | 
                             None.  | 
                
| specialRequest | 
                         特殊需求  | 
                    string | 
                             None.  | 
                
| otherrequest | 
                         其他需求  | 
                    string | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
{
  "sessiontoken": "sample string 1",
  "contactperson": {
    "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"
  },
  "customers": [
    {
      "roomtypecode": "sample string 1",
      "customerdetails": [
        {
          "surname": "sample string 1",
          "givenname": "sample string 2",
          "title": "sample string 3",
          "Gender": "sample string 4",
          "Age": 5
        },
        {
          "surname": "sample string 1",
          "givenname": "sample string 2",
          "title": "sample string 3",
          "Gender": "sample string 4",
          "Age": 5
        }
      ]
    },
    {
      "roomtypecode": "sample string 1",
      "customerdetails": [
        {
          "surname": "sample string 1",
          "givenname": "sample string 2",
          "title": "sample string 3",
          "Gender": "sample string 4",
          "Age": 5
        },
        {
          "surname": "sample string 1",
          "givenname": "sample string 2",
          "title": "sample string 3",
          "Gender": "sample string 4",
          "Age": 5
        }
      ]
    }
  ],
  "specialRequest": "sample string 2",
  "otherrequest": "sample string 3"
}
        application/x-www-form-urlencoded
            Sample:
    
        
Response Information
Resource Description
下单
ReturnResultOfHotelBookingRSContract| Name | Description | Type | Additional information | 
|---|---|---|---|
| data | HotelBookingRSContract | 
                             None.  | 
                |
| code | 
                         状态码:100成功,其他自定义  | 
                    integer | 
                             None.  | 
                
| message | 
                         提示消息  | 
                    string | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
{
  "data": {
    "bookingcode": "sample string 1",
    "status": "sample string 2",
    "message": "sample string 3"
  },
  "code": 1,
  "message": "sample string 2"
}