POST api/hotel/curx/hotel/detail

酒店详细信息

Request Information

URI Parameters

None.

Body Parameters

AsHotelDetailRQContract
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

用户身份信息

AsUserContract

None.

Request Formats

application/json, text/json

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

Response Information

Resource Description

酒店详细信息

ReturnResultOfListOfAsHotelItemContract
NameDescriptionTypeAdditional information
data

Collection of AsHotelItemContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "location": "sample string 1",
      "streetnumber": "sample string 2",
      "country": "sample string 3",
      "countrycode": "sample string 4",
      "citycode": "sample string 5",
      "city": "sample string 6",
      "resort": "sample string 7",
      "postalcode": "sample string 8",
      "phone": [
        "sample string 1",
        "sample string 2"
      ],
      "fax": "sample string 9",
      "email": [
        "sample string 1",
        "sample string 2"
      ],
      "url": "sample string 10",
      "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"
            }
          ]
        }
      ],
      "roomfacilist": [
        {
          "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"
            }
          ]
        }
      ],
      "checkininstructions": "sample string 11",
      "checkinspecialinstructions": "sample string 12",
      "rooms": [
        {
          "roomid": "sample string 1",
          "roomname": "sample string 2",
          "groupid": "sample string 3",
          "groupname": "sample string 4",
          "plansid": "sample string 5",
          "status": "sample string 6",
          "description": "sample string 7",
          "allotment": 8,
          "incentive": "sample string 9",
          "orgtotal": 10.0,
          "markuptotal": 11.0,
          "markupdescript": "sample string 12",
          "total": 13.0,
          "currency": "sample string 14",
          "includebreakfast": true,
          "adultcount": 16,
          "childcount": 17,
          "promotions": [
            {
              "name": "sample string 1",
              "description": "sample string 2"
            },
            {
              "name": "sample string 1",
              "description": "sample string 2"
            }
          ],
          "warns": [
            {
              "WarnTitle": "sample string 1",
              "Descript": "sample string 2"
            },
            {
              "WarnTitle": "sample string 1",
              "Descript": "sample string 2"
            }
          ],
          "availableoptions": [
            {
              "optionid": "sample string 1",
              "optionname": "sample string 2",
              "rate": 3.0,
              "currency": "sample string 4",
              "compulsory": true
            },
            {
              "optionid": "sample string 1",
              "optionname": "sample string 2",
              "rate": 3.0,
              "currency": "sample string 4",
              "compulsory": true
            }
          ],
          "roompernights": [
            {
              "date": "sample string 1",
              "orgrate": 2.0,
              "rate": 3.0,
              "currency": "sample string 4"
            },
            {
              "date": "sample string 1",
              "orgrate": 2.0,
              "rate": 3.0,
              "currency": "sample string 4"
            }
          ],
          "roomimages": [
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            },
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            }
          ],
          "additionals": [
            {
              "AdditionalId": "sample string 1",
              "Additional": "sample string 2"
            },
            {
              "AdditionalId": "sample string 1",
              "Additional": "sample string 2"
            }
          ],
          "smokingpreferences": "sample string 18",
          "bedtypes": [
            {
              "bedtypeid": "sample string 1",
              "bedtype": "sample string 2"
            },
            {
              "bedtypeid": "sample string 1",
              "bedtype": "sample string 2"
            }
          ],
          "cancellationpolicy": "sample string 19",
          "ispackage": true
        },
        {
          "roomid": "sample string 1",
          "roomname": "sample string 2",
          "groupid": "sample string 3",
          "groupname": "sample string 4",
          "plansid": "sample string 5",
          "status": "sample string 6",
          "description": "sample string 7",
          "allotment": 8,
          "incentive": "sample string 9",
          "orgtotal": 10.0,
          "markuptotal": 11.0,
          "markupdescript": "sample string 12",
          "total": 13.0,
          "currency": "sample string 14",
          "includebreakfast": true,
          "adultcount": 16,
          "childcount": 17,
          "promotions": [
            {
              "name": "sample string 1",
              "description": "sample string 2"
            },
            {
              "name": "sample string 1",
              "description": "sample string 2"
            }
          ],
          "warns": [
            {
              "WarnTitle": "sample string 1",
              "Descript": "sample string 2"
            },
            {
              "WarnTitle": "sample string 1",
              "Descript": "sample string 2"
            }
          ],
          "availableoptions": [
            {
              "optionid": "sample string 1",
              "optionname": "sample string 2",
              "rate": 3.0,
              "currency": "sample string 4",
              "compulsory": true
            },
            {
              "optionid": "sample string 1",
              "optionname": "sample string 2",
              "rate": 3.0,
              "currency": "sample string 4",
              "compulsory": true
            }
          ],
          "roompernights": [
            {
              "date": "sample string 1",
              "orgrate": 2.0,
              "rate": 3.0,
              "currency": "sample string 4"
            },
            {
              "date": "sample string 1",
              "orgrate": 2.0,
              "rate": 3.0,
              "currency": "sample string 4"
            }
          ],
          "roomimages": [
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            },
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            }
          ],
          "additionals": [
            {
              "AdditionalId": "sample string 1",
              "Additional": "sample string 2"
            },
            {
              "AdditionalId": "sample string 1",
              "Additional": "sample string 2"
            }
          ],
          "smokingpreferences": "sample string 18",
          "bedtypes": [
            {
              "bedtypeid": "sample string 1",
              "bedtype": "sample string 2"
            },
            {
              "bedtypeid": "sample string 1",
              "bedtype": "sample string 2"
            }
          ],
          "cancellationpolicy": "sample string 19",
          "ispackage": true
        }
      ],
      "roomgroups": [
        {
          "groupid": "sample string 1",
          "groupname": "sample string 2",
          "groupdescript": "sample string 3",
          "groupimages": [
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            },
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            }
          ]
        },
        {
          "groupid": "sample string 1",
          "groupname": "sample string 2",
          "groupdescript": "sample string 3",
          "groupimages": [
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            },
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            }
          ]
        }
      ],
      "tripadvisorinfo": {
        "rating": 1.1,
        "ratingimgurl": "sample string 2",
        "reviewcount": 3,
        "reviewurl": "sample string 4",
        "nearbyrestaurants": "sample string 5",
        "nearbyattractions": "sample string 6",
        "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 14",
      "hotelname": "sample string 15",
      "hotelengname": "sample string 16",
      "regions": [
        {
          "regionid": "sample string 1",
          "region": "sample string 2"
        },
        {
          "regionid": "sample string 1",
          "region": "sample string 2"
        }
      ],
      "star": 17.0,
      "tripadrating": 18.1,
      "tripadratingimgurl": "sample string 19",
      "tripadreviewcount": 20,
      "triptypes": [
        {
          "triptype": "sample string 1",
          "reviewcount": 2
        },
        {
          "triptype": "sample string 1",
          "reviewcount": 2
        }
      ],
      "address": [
        "sample string 1",
        "sample string 2"
      ],
      "descript": "sample string 21",
      "longitude": "sample string 22",
      "latitude": "sample string 23",
      "paytotal": 24.0,
      "currency": "sample string 25",
      "coverpic": "sample string 26",
      "freewifi": 27,
      "hotelfacilist": [
        {
          "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"
        }
      ]
    },
    {
      "location": "sample string 1",
      "streetnumber": "sample string 2",
      "country": "sample string 3",
      "countrycode": "sample string 4",
      "citycode": "sample string 5",
      "city": "sample string 6",
      "resort": "sample string 7",
      "postalcode": "sample string 8",
      "phone": [
        "sample string 1",
        "sample string 2"
      ],
      "fax": "sample string 9",
      "email": [
        "sample string 1",
        "sample string 2"
      ],
      "url": "sample string 10",
      "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"
            }
          ]
        }
      ],
      "roomfacilist": [
        {
          "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"
            }
          ]
        }
      ],
      "checkininstructions": "sample string 11",
      "checkinspecialinstructions": "sample string 12",
      "rooms": [
        {
          "roomid": "sample string 1",
          "roomname": "sample string 2",
          "groupid": "sample string 3",
          "groupname": "sample string 4",
          "plansid": "sample string 5",
          "status": "sample string 6",
          "description": "sample string 7",
          "allotment": 8,
          "incentive": "sample string 9",
          "orgtotal": 10.0,
          "markuptotal": 11.0,
          "markupdescript": "sample string 12",
          "total": 13.0,
          "currency": "sample string 14",
          "includebreakfast": true,
          "adultcount": 16,
          "childcount": 17,
          "promotions": [
            {
              "name": "sample string 1",
              "description": "sample string 2"
            },
            {
              "name": "sample string 1",
              "description": "sample string 2"
            }
          ],
          "warns": [
            {
              "WarnTitle": "sample string 1",
              "Descript": "sample string 2"
            },
            {
              "WarnTitle": "sample string 1",
              "Descript": "sample string 2"
            }
          ],
          "availableoptions": [
            {
              "optionid": "sample string 1",
              "optionname": "sample string 2",
              "rate": 3.0,
              "currency": "sample string 4",
              "compulsory": true
            },
            {
              "optionid": "sample string 1",
              "optionname": "sample string 2",
              "rate": 3.0,
              "currency": "sample string 4",
              "compulsory": true
            }
          ],
          "roompernights": [
            {
              "date": "sample string 1",
              "orgrate": 2.0,
              "rate": 3.0,
              "currency": "sample string 4"
            },
            {
              "date": "sample string 1",
              "orgrate": 2.0,
              "rate": 3.0,
              "currency": "sample string 4"
            }
          ],
          "roomimages": [
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            },
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            }
          ],
          "additionals": [
            {
              "AdditionalId": "sample string 1",
              "Additional": "sample string 2"
            },
            {
              "AdditionalId": "sample string 1",
              "Additional": "sample string 2"
            }
          ],
          "smokingpreferences": "sample string 18",
          "bedtypes": [
            {
              "bedtypeid": "sample string 1",
              "bedtype": "sample string 2"
            },
            {
              "bedtypeid": "sample string 1",
              "bedtype": "sample string 2"
            }
          ],
          "cancellationpolicy": "sample string 19",
          "ispackage": true
        },
        {
          "roomid": "sample string 1",
          "roomname": "sample string 2",
          "groupid": "sample string 3",
          "groupname": "sample string 4",
          "plansid": "sample string 5",
          "status": "sample string 6",
          "description": "sample string 7",
          "allotment": 8,
          "incentive": "sample string 9",
          "orgtotal": 10.0,
          "markuptotal": 11.0,
          "markupdescript": "sample string 12",
          "total": 13.0,
          "currency": "sample string 14",
          "includebreakfast": true,
          "adultcount": 16,
          "childcount": 17,
          "promotions": [
            {
              "name": "sample string 1",
              "description": "sample string 2"
            },
            {
              "name": "sample string 1",
              "description": "sample string 2"
            }
          ],
          "warns": [
            {
              "WarnTitle": "sample string 1",
              "Descript": "sample string 2"
            },
            {
              "WarnTitle": "sample string 1",
              "Descript": "sample string 2"
            }
          ],
          "availableoptions": [
            {
              "optionid": "sample string 1",
              "optionname": "sample string 2",
              "rate": 3.0,
              "currency": "sample string 4",
              "compulsory": true
            },
            {
              "optionid": "sample string 1",
              "optionname": "sample string 2",
              "rate": 3.0,
              "currency": "sample string 4",
              "compulsory": true
            }
          ],
          "roompernights": [
            {
              "date": "sample string 1",
              "orgrate": 2.0,
              "rate": 3.0,
              "currency": "sample string 4"
            },
            {
              "date": "sample string 1",
              "orgrate": 2.0,
              "rate": 3.0,
              "currency": "sample string 4"
            }
          ],
          "roomimages": [
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            },
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            }
          ],
          "additionals": [
            {
              "AdditionalId": "sample string 1",
              "Additional": "sample string 2"
            },
            {
              "AdditionalId": "sample string 1",
              "Additional": "sample string 2"
            }
          ],
          "smokingpreferences": "sample string 18",
          "bedtypes": [
            {
              "bedtypeid": "sample string 1",
              "bedtype": "sample string 2"
            },
            {
              "bedtypeid": "sample string 1",
              "bedtype": "sample string 2"
            }
          ],
          "cancellationpolicy": "sample string 19",
          "ispackage": true
        }
      ],
      "roomgroups": [
        {
          "groupid": "sample string 1",
          "groupname": "sample string 2",
          "groupdescript": "sample string 3",
          "groupimages": [
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            },
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            }
          ]
        },
        {
          "groupid": "sample string 1",
          "groupname": "sample string 2",
          "groupdescript": "sample string 3",
          "groupimages": [
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            },
            {
              "url": "sample string 1",
              "title": "sample string 2",
              "descript": "sample string 3",
              "isprimary": true
            }
          ]
        }
      ],
      "tripadvisorinfo": {
        "rating": 1.1,
        "ratingimgurl": "sample string 2",
        "reviewcount": 3,
        "reviewurl": "sample string 4",
        "nearbyrestaurants": "sample string 5",
        "nearbyattractions": "sample string 6",
        "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 14",
      "hotelname": "sample string 15",
      "hotelengname": "sample string 16",
      "regions": [
        {
          "regionid": "sample string 1",
          "region": "sample string 2"
        },
        {
          "regionid": "sample string 1",
          "region": "sample string 2"
        }
      ],
      "star": 17.0,
      "tripadrating": 18.1,
      "tripadratingimgurl": "sample string 19",
      "tripadreviewcount": 20,
      "triptypes": [
        {
          "triptype": "sample string 1",
          "reviewcount": 2
        },
        {
          "triptype": "sample string 1",
          "reviewcount": 2
        }
      ],
      "address": [
        "sample string 1",
        "sample string 2"
      ],
      "descript": "sample string 21",
      "longitude": "sample string 22",
      "latitude": "sample string 23",
      "paytotal": 24.0,
      "currency": "sample string 25",
      "coverpic": "sample string 26",
      "freewifi": 27,
      "hotelfacilist": [
        {
          "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"
        }
      ]
    }
  ],
  "code": 1,
  "message": "sample string 2"
}