POST api/hotel/curx/order/book/detail

查看订单

Request Information

URI Parameters

None.

Body Parameters

订单模型

AsHotelBookDetailRQContract
NameDescriptionTypeAdditional information
lang

语言

string

None.

bookingcode

bookingcode

string

None.

clientcurrency

网站币种

string

None.

customersessionid

客户sessionid

string

None.

customeripaddress

客户Ip地址

string

None.

customeruseragent

客户Ip地址

string

None.

authuser

用户身份信息

AsUserContract

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",
  "authuser": {
    "userid": "sample string 1",
    "password": "sample string 2"
  }
}

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 'AsHotelBookDetailRQContract'.

Response Information

Resource Description

查看订单

ReturnResultOfAsHotelBookDetailRSContract
NameDescriptionTypeAdditional information
data

AsHotelBookDetailRSContract

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:25:09.7338768+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"
}