POST api/hotel/agentsys/hotel/detail/real

获取酒店真实接口信息

Request Information

URI Parameters

None.

Body Parameters

TC_HotelDetailRQContract
NameDescriptionTypeAdditional information
lang

语言

string

None.

hotelcodes

酒店编码

Collection of string

None.

searchsource

搜索来源(ts,sun)

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",
  "hotelcodes": [
    "sample string 1",
    "sample string 2"
  ],
  "searchsource": "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 'TC_HotelDetailRQContract'.

Response Information

Resource Description

获取酒店真实接口信息

ReturnResultOfListOfTC_HotelDetailRSContract
NameDescriptionTypeAdditional information
data

Collection of TC_HotelDetailRSContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "hotelcode": "sample string 1",
      "hotelname": "sample string 2",
      "hotelengname": "sample string 3",
      "longitude": "sample string 4",
      "latitude": "sample string 5",
      "rating": "sample string 6",
      "citycode": "sample string 7",
      "city": "sample string 8",
      "country": "sample string 9",
      "countrycode": "sample string 10",
      "regions": [
        {
          "regionid": "sample string 1",
          "region": "sample string 2"
        },
        {
          "regionid": "sample string 1",
          "region": "sample string 2"
        }
      ],
      "resort": "sample string 11",
      "address": "sample string 12",
      "streetnumber": "sample string 13",
      "postalcode": "sample string 14",
      "phone": [
        "sample string 1",
        "sample string 2"
      ],
      "fax": "sample string 15",
      "email": [
        "sample string 1",
        "sample string 2"
      ],
      "url": "sample string 16",
      "descript": "sample string 17",
      "location": "sample string 18",
      "catedescripts": [
        {
          "cateid": "sample string 1",
          "catename": "sample string 2",
          "content": "sample string 3"
        },
        {
          "cateid": "sample string 1",
          "catename": "sample string 2",
          "content": "sample string 3"
        }
      ],
      "classimages": [
        {
          "classid": "sample string 1",
          "classname": "sample string 2",
          "classimages": [
            {
              "title": "sample string 1",
              "url": "sample string 2",
              "descript": "sample string 3"
            },
            {
              "title": "sample string 1",
              "url": "sample string 2",
              "descript": "sample string 3"
            }
          ]
        },
        {
          "classid": "sample string 1",
          "classname": "sample string 2",
          "classimages": [
            {
              "title": "sample string 1",
              "url": "sample string 2",
              "descript": "sample string 3"
            },
            {
              "title": "sample string 1",
              "url": "sample string 2",
              "descript": "sample string 3"
            }
          ]
        }
      ],
      "roomtypes": [
        {
          "roomtypeid": "sample string 1",
          "roomtype": "sample string 2",
          "roomfacilitys": [
            {
              "facilityid": "sample string 1",
              "facility": "sample string 2",
              "notes": "sample string 3",
              "costinfo": "sample string 4"
            },
            {
              "facilityid": "sample string 1",
              "facility": "sample string 2",
              "notes": "sample string 3",
              "costinfo": "sample string 4"
            }
          ]
        },
        {
          "roomtypeid": "sample string 1",
          "roomtype": "sample string 2",
          "roomfacilitys": [
            {
              "facilityid": "sample string 1",
              "facility": "sample string 2",
              "notes": "sample string 3",
              "costinfo": "sample string 4"
            },
            {
              "facilityid": "sample string 1",
              "facility": "sample string 2",
              "notes": "sample string 3",
              "costinfo": "sample string 4"
            }
          ]
        }
      ],
      "hotelfacilitys": [
        {
          "facilityid": "sample string 1",
          "facility": "sample string 2",
          "notes": "sample string 3",
          "costinfo": "sample string 4"
        },
        {
          "facilityid": "sample string 1",
          "facility": "sample string 2",
          "notes": "sample string 3",
          "costinfo": "sample string 4"
        }
      ],
      "tripadvisorinfo": {
        "rating": 1.1,
        "ratingimgurl": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/1.1-52242-5.svg",
        "reviewcount": 2,
        "reviewurl": "sample string 3",
        "nearbyrestaurants": "sample string 4",
        "nearbyattractions": "sample string 5",
        "ranking": {
          "rankingno": "sample string 1",
          "rankingnumber": "sample string 2",
          "rankinglocation": "sample string 3",
          "rankingdescript": "sample string 4"
        },
        "awards": [
          {
            "awardtype": "sample string 1",
            "displayname": "sample string 2",
            "year": "sample string 3",
            "tinyimgurl": "sample string 4",
            "smallimgurl": "sample string 5",
            "largeimgurl": "sample string 6"
          },
          {
            "awardtype": "sample string 1",
            "displayname": "sample string 2",
            "year": "sample string 3",
            "tinyimgurl": "sample string 4",
            "smallimgurl": "sample string 5",
            "largeimgurl": "sample string 6"
          }
        ]
      }
    },
    {
      "hotelcode": "sample string 1",
      "hotelname": "sample string 2",
      "hotelengname": "sample string 3",
      "longitude": "sample string 4",
      "latitude": "sample string 5",
      "rating": "sample string 6",
      "citycode": "sample string 7",
      "city": "sample string 8",
      "country": "sample string 9",
      "countrycode": "sample string 10",
      "regions": [
        {
          "regionid": "sample string 1",
          "region": "sample string 2"
        },
        {
          "regionid": "sample string 1",
          "region": "sample string 2"
        }
      ],
      "resort": "sample string 11",
      "address": "sample string 12",
      "streetnumber": "sample string 13",
      "postalcode": "sample string 14",
      "phone": [
        "sample string 1",
        "sample string 2"
      ],
      "fax": "sample string 15",
      "email": [
        "sample string 1",
        "sample string 2"
      ],
      "url": "sample string 16",
      "descript": "sample string 17",
      "location": "sample string 18",
      "catedescripts": [
        {
          "cateid": "sample string 1",
          "catename": "sample string 2",
          "content": "sample string 3"
        },
        {
          "cateid": "sample string 1",
          "catename": "sample string 2",
          "content": "sample string 3"
        }
      ],
      "classimages": [
        {
          "classid": "sample string 1",
          "classname": "sample string 2",
          "classimages": [
            {
              "title": "sample string 1",
              "url": "sample string 2",
              "descript": "sample string 3"
            },
            {
              "title": "sample string 1",
              "url": "sample string 2",
              "descript": "sample string 3"
            }
          ]
        },
        {
          "classid": "sample string 1",
          "classname": "sample string 2",
          "classimages": [
            {
              "title": "sample string 1",
              "url": "sample string 2",
              "descript": "sample string 3"
            },
            {
              "title": "sample string 1",
              "url": "sample string 2",
              "descript": "sample string 3"
            }
          ]
        }
      ],
      "roomtypes": [
        {
          "roomtypeid": "sample string 1",
          "roomtype": "sample string 2",
          "roomfacilitys": [
            {
              "facilityid": "sample string 1",
              "facility": "sample string 2",
              "notes": "sample string 3",
              "costinfo": "sample string 4"
            },
            {
              "facilityid": "sample string 1",
              "facility": "sample string 2",
              "notes": "sample string 3",
              "costinfo": "sample string 4"
            }
          ]
        },
        {
          "roomtypeid": "sample string 1",
          "roomtype": "sample string 2",
          "roomfacilitys": [
            {
              "facilityid": "sample string 1",
              "facility": "sample string 2",
              "notes": "sample string 3",
              "costinfo": "sample string 4"
            },
            {
              "facilityid": "sample string 1",
              "facility": "sample string 2",
              "notes": "sample string 3",
              "costinfo": "sample string 4"
            }
          ]
        }
      ],
      "hotelfacilitys": [
        {
          "facilityid": "sample string 1",
          "facility": "sample string 2",
          "notes": "sample string 3",
          "costinfo": "sample string 4"
        },
        {
          "facilityid": "sample string 1",
          "facility": "sample string 2",
          "notes": "sample string 3",
          "costinfo": "sample string 4"
        }
      ],
      "tripadvisorinfo": {
        "rating": 1.1,
        "ratingimgurl": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/1.1-52242-5.svg",
        "reviewcount": 2,
        "reviewurl": "sample string 3",
        "nearbyrestaurants": "sample string 4",
        "nearbyattractions": "sample string 5",
        "ranking": {
          "rankingno": "sample string 1",
          "rankingnumber": "sample string 2",
          "rankinglocation": "sample string 3",
          "rankingdescript": "sample string 4"
        },
        "awards": [
          {
            "awardtype": "sample string 1",
            "displayname": "sample string 2",
            "year": "sample string 3",
            "tinyimgurl": "sample string 4",
            "smallimgurl": "sample string 5",
            "largeimgurl": "sample string 6"
          },
          {
            "awardtype": "sample string 1",
            "displayname": "sample string 2",
            "year": "sample string 3",
            "tinyimgurl": "sample string 4",
            "smallimgurl": "sample string 5",
            "largeimgurl": "sample string 6"
          }
        ]
      }
    }
  ],
  "code": 1,
  "message": "sample string 2"
}