POST api/hotel/2c/customize/category/{lang}
自定义酒店分类信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lang | string |
Required |
Body Parameters
None.
Response Information
Resource Description
自定义酒店分类信息
ReturnResultOfTocCustomizeCategoryContractName | Description | Type | Additional information |
---|---|---|---|
data | TocCustomizeCategoryContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "categorys": [ { "categoryid": "sample string 1", "categoryname": "sample string 2", "tag": "sample string 3", "descript": "sample string 4", "hotels": [ { "hotelid": "sample string 1", "hotelname": "sample string 2", "locationdescript": "sample string 3", "citycode": "sample string 4", "country": "sample string 5", "imageurl": "sample string 6", "tripadvisorrating": 7.1, "tripadratingimageurl": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/7.1-52242-5.svg", "tripadvisorreviewcount": 8, "facilitys": [ { "iconname": "sample string 1", "facilityid": "sample string 2", "facility": "sample string 3", "notes": "sample string 4", "costinfo": "sample string 5" }, { "iconname": "sample string 1", "facilityid": "sample string 2", "facility": "sample string 3", "notes": "sample string 4", "costinfo": "sample string 5" } ] }, { "hotelid": "sample string 1", "hotelname": "sample string 2", "locationdescript": "sample string 3", "citycode": "sample string 4", "country": "sample string 5", "imageurl": "sample string 6", "tripadvisorrating": 7.1, "tripadratingimageurl": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/7.1-52242-5.svg", "tripadvisorreviewcount": 8, "facilitys": [ { "iconname": "sample string 1", "facilityid": "sample string 2", "facility": "sample string 3", "notes": "sample string 4", "costinfo": "sample string 5" }, { "iconname": "sample string 1", "facilityid": "sample string 2", "facility": "sample string 3", "notes": "sample string 4", "costinfo": "sample string 5" } ] } ] }, { "categoryid": "sample string 1", "categoryname": "sample string 2", "tag": "sample string 3", "descript": "sample string 4", "hotels": [ { "hotelid": "sample string 1", "hotelname": "sample string 2", "locationdescript": "sample string 3", "citycode": "sample string 4", "country": "sample string 5", "imageurl": "sample string 6", "tripadvisorrating": 7.1, "tripadratingimageurl": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/7.1-52242-5.svg", "tripadvisorreviewcount": 8, "facilitys": [ { "iconname": "sample string 1", "facilityid": "sample string 2", "facility": "sample string 3", "notes": "sample string 4", "costinfo": "sample string 5" }, { "iconname": "sample string 1", "facilityid": "sample string 2", "facility": "sample string 3", "notes": "sample string 4", "costinfo": "sample string 5" } ] }, { "hotelid": "sample string 1", "hotelname": "sample string 2", "locationdescript": "sample string 3", "citycode": "sample string 4", "country": "sample string 5", "imageurl": "sample string 6", "tripadvisorrating": 7.1, "tripadratingimageurl": "https://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/7.1-52242-5.svg", "tripadvisorreviewcount": 8, "facilitys": [ { "iconname": "sample string 1", "facilityid": "sample string 2", "facility": "sample string 3", "notes": "sample string 4", "costinfo": "sample string 5" }, { "iconname": "sample string 1", "facilityid": "sample string 2", "facility": "sample string 3", "notes": "sample string 4", "costinfo": "sample string 5" } ] } ] } ] }, "code": 1, "message": "sample string 2" }