POST api/hotel/agentsys/book/detail

订单信息

Request Information

URI Parameters

None.

Body Parameters

TC_HotelOrderDetailRQContract
NameDescriptionTypeAdditional information
lang

语言

string

None.

bookingcode

订单编号

string

None.

customerorderno

客户订单号

string

None.

customersessionid

客户sessionid

string

None.

customeripaddress

客户Ip地址

string

None.

customeruseragent

客户浏览器信息

string

None.

authuser

用户身份信息

TC_UserContract

None.

Request Formats

application/json, text/json

Sample:
{
  "lang": "sample string 1",
  "bookingcode": "sample string 2",
  "customerorderno": "sample string 3",
  "customersessionid": "sample string 7",
  "customeripaddress": "sample string 8",
  "customeruseragent": "sample string 9",
  "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 'TC_HotelOrderDetailRQContract'.

Response Information

Resource Description

订单信息

ReturnResultOfTC_HotelOrderDetailRSContract
NameDescriptionTypeAdditional information
data

TC_HotelOrderDetailRSContract

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:24:54.0928808+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"
}