GET api/normalizer/hotels/{id}?inventory_date_from={inventory_date_from}&inventory_date_to={inventory_date_to}
Get hotel by id.
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| id | 酒店id | string | Required | 
| inventory_date_from | show base price from merchant backend when "inventory_date_from" and "inventory_date_to" are not provided | string | Default value is | 
| inventory_date_to | otherwise, show price based on selected date range | string | Default value is | 
Body Parameters
None.
Response Information
Resource Description
NormalizerHotel| Name | Description | Type | Additional information | 
|---|---|---|---|
| id | string | None. | |
| names | Collection of Localised | None. | |
| features | Collection of Feature | None. | |
| is_instant_book | boolean | None. | |
| description | 酒店描述 | Collection of Collection of Localised | None. | 
| country | Country | None. | |
| city | City | None. | |
| google_place_id | string | None. | |
| gps | GPS | None. | |
| address | Collection of Localised | None. | |
| star_rating | integer | None. | |
| cleaning_policies | Collection of Collection of Localised | None. | |
| policies | Collection of Collection of Localised | None. | |
| images | Collection of Image | None. | |
| check_in_start_time | string | None. | |
| check_in_end_time | string | None. | |
| check_out_time | string | None. | |
| metadata | string | None. | |
| net_price | Money | None. | |
| net_price_tax | Money | None. | |
| total_net_price | Money | None. | |
| selling_price | Money | None. | |
| selling_price_tax | Money | None. | |
| total_selling_price | Money | None. | |
| has_third_party_inventory | boolean | None. | |
| first_party_inventory | integer | None. | |
| type | string | None. | |
| code | string | None. | |
| info | Object | None. | |
| Version | Version | None. | |
| Content | HttpContent | None. | |
| StatusCode | HttpStatusCode | None. | |
| ReasonPhrase | string | None. | |
| Headers | Collection of Object | None. | |
| RequestMessage | HttpRequestMessage | None. | |
| IsSuccessStatusCode | boolean | None. |