POST api/hotel/2c/order/book/detail

查看订单

Request Information

URI Parameters

None.

Body Parameters

订单模型

TocHotelBookDetailRQContract
NameDescriptionTypeAdditional information
lang

语言

string

None.

bookingcode

bookingcode

string

None.

clientcurrency

网站币种

string

None.

customersessionid

客户sessionid

string

None.

customeripaddress

客户Ip地址

string

None.

customeruseragent

客户Ip地址

string

None.

Request Formats

application/json, text/json

Sample:
{
  "lang": "sample string 1",
  "bookingcode": "sample string 2",
  "clientcurrency": "sample string 3",
  "customersessionid": "sample string 4",
  "customeripaddress": "sample string 5",
  "customeruseragent": "sample string 6"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TocHotelBookDetailRQContract'.

Response Information

Resource Description

查看订单

ReturnResultOfTocHotelBookDetailRSContract
NameDescriptionTypeAdditional information
data

TocHotelBookDetailRSContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "rbookingcode": "sample string 1",
    "confirmcode": "sample string 2",
    "customerorderno": "sample string 3",
    "createdate": "2024-12-23T19:41:23.5298318+08:00",
    "status": "sample string 5",
    "contacttitle": "sample string 6",
    "contactfirstname": "sample string 7",
    "contactlastname": "sample string 8",
    "contactaddress": "sample string 9",
    "contactemail": "sample string 10",
    "contactphone": "sample string 11",
    "specialrequest": "sample string 12",
    "total": 13.0,
    "currency": "sample string 14",
    "includebreakfast": "sample string 15",
    "mealtype": "sample string 16",
    "orderhotel": {
      "country": "sample string 1",
      "city": "sample string 2",
      "hotelname": "sample string 3",
      "star": "sample string 4",
      "phone": "sample string 5",
      "address": "sample string 6",
      "longitude": "sample string 7",
      "latitude": "sample string 8",
      "images": [
        "sample string 1",
        "sample string 2"
      ],
      "rooms": [
        {
          "roomtype": "sample string 1",
          "bedtype": "sample string 2",
          "adults": 3,
          "childs": 4,
          "infants": 5,
          "guests": [
            {
              "title": "sample string 1",
              "firstname": "sample string 2",
              "lastname": "sample string 3",
              "agetype": "sample string 4",
              "age": 5,
              "nationality": "sample string 6"
            },
            {
              "title": "sample string 1",
              "firstname": "sample string 2",
              "lastname": "sample string 3",
              "agetype": "sample string 4",
              "age": 5,
              "nationality": "sample string 6"
            }
          ]
        },
        {
          "roomtype": "sample string 1",
          "bedtype": "sample string 2",
          "adults": 3,
          "childs": 4,
          "infants": 5,
          "guests": [
            {
              "title": "sample string 1",
              "firstname": "sample string 2",
              "lastname": "sample string 3",
              "agetype": "sample string 4",
              "age": 5,
              "nationality": "sample string 6"
            },
            {
              "title": "sample string 1",
              "firstname": "sample string 2",
              "lastname": "sample string 3",
              "agetype": "sample string 4",
              "age": 5,
              "nationality": "sample string 6"
            }
          ]
        }
      ],
      "checkindate": "sample string 9",
      "checkoutdate": "sample string 10"
    }
  },
  "code": 1,
  "message": "sample string 2"
}