Breadcrumb
- Hotel Content
- Hotel Content
- Use Cases
- Location
Location
Location
Return address, latitude/longitude and time zone information for the hotel
Sample Request
Use include=LocationInfo to return hotel location information
/v1/api/hotel/13098/details?primaryChannel=WEB&include=LocationInfo
Response (partial)
{
"hotelList": [{
"Location": {
"Address": {
"AddressLine": ["3150 Sabre Drive"],
"City": "New York",
"CountryName": {
"Code": "US",
"Value": "United States"
},
"PostalCode": "76092",
"StateProv": {
"Code": "NY",
"Value": "New York"
}
},
"Latitude": 38.99033,
"Longitude": -77.09715,
"TimeZone": "-5",
"Type": "None"
}
}]
}
Request Location information in a specified language.
Note: Use Accept-Language to return language specific content.
Response (partial)
{
"hotelList": [{
"Location": {
"Address": {
"AddressLine": ["3150 Unidad Sabre"],
"City": "Nueva York",
"CountryName": {
"Code": "US",
"Value": "Etats-Unis"
},
"PostalCode": "76092",
"StateProv": {
"Code": "NY",
"Value": "Nueva York"
}
},
"Latitude": 38.99033,
"Longitude": -77.09715,
"TimeZone": "-5",
"Type": "None"
}
}]
}