curl --location --request POST 'https://hotelmapping.vervotech.com/api/3.0/content/GetProviderContentByProviderHotelIds' \
--header 'apikey: 056ec4c3-be6b-4c36-a4cc-a403ce9592a1' \
--header 'accountId: DemoAccount' \
--header 'Content-Type: application/json' \
--data-raw '{
"ProviderHotelIdentifiers": [
{
"ProviderHotelId": "34536",
"ProviderFamily": "EAN"
}
]
}'
{
"Hotels": [
{
"ProviderHotels": [
{
"ProviderHotelId": "3434358",
"VervotechId": 16042757,
"LanguageCode": "en-US",
"Name": "Imperial Motel",
"ProviderFamily": "EAN",
"Contact": {
"Address": {
"Line1": "West Flagler Street Miami, West Flagler Street , CORAL GABLES",
"Line2": "NA",
"City": "Coral Gables",
"Code": "12",
"DestinationCode": "ABD",
"StateCode": "121",
"State": "Florida",
"PostalCode": "3880",
"Country": "United States of America",
"CountryCode": "US"
},
"Phones": [
"+1 2323-3433-3433"
],
"Fax": "+1 323 555 1234",
"Emails": [
"abc@gmail.com"
],
"Web": "HotelSeaView.com"
},
"Rating": 2,
"Reviews": [
{
"Rating": 4,
"Count": 21243,
"RatingImage": null,
"Provider": "TripAdvisor",
"CategoryRatings": [
{
"Category": "cleanliness",
"Rating": 1.5
}
],
"GuestReviews": [
{
"ReviewerName": "Lara",
"Source": "Expedia",
"Title": "Value for money!",
"Text": "Excellent! It was value for money and staff were always ready to be of assistance, great atmosphere!",
"Rating": "5 star",
"TravelCompanion": "friends,family, pet"
}
]
}
],
"GeoCode": {
"Lat": 25.771112,
"Long": -80.27933
},
"ProviderGeocodes": {
"Lat": 25.771112,
"Long": -80.27933
},
"BrandName": "TAJ",
"BrandCode": "T123",
"ChainCode": "T123",
"ChainName": "C123",
"MasterPropertyType": "Hotel",
"PropertyType": "Hotel",
"Facilities": [
{
"id": "1",
"name": "WiFi",
"masterFacilityId": "1"
}
],
"HeroImage": "http://heroimage.png",
"ProviderHeroImageHref": "https://heromimae.com",
"Images": [
{
"Caption": "sunset",
"Category": "sunset",
"RoomId": "R2127",
"Links": [
{
"Size": "Unknown",
"Href": "string",
"ProviderHref": "http://heroimage.png"
}
]
}
],
"Descriptions": [
{
"Type": "amenities",
"Text": "Tennis court"
}
],
"Checkin": {
"BeginTime": "09:22:00",
"EndTime": "10:22:00",
"Instructions": [
"No breakfast will be provided after check-in time"
],
"SpecialInstructions": [
null
],
"MinAge": 0
},
"Checkout": {
"Time": "09:22:00"
},
"Fees": [
{
"Type": "Mandatory",
"Text": "string",
"Fees": "39.87",
"Frequency": "per night",
"Assignment": "per room"
}
],
"Policies": [
{
"Text": "no swimming after 8pm",
"Title": "swimming time"
}
],
"Rooms": [
{
"RoomId": "R123",
"Type": "Deluxe",
"Category": "Suite",
"Occupancy": "Triple",
"BedroomCount": 2,
"Description": "Premium Deluxe",
"Facilities": [
{
"id": "1",
"name": "WiFi",
"masterFacilityId": "1"
}
],
"Beds": [
{
"type": "King",
"count": 1
}
],
"Area": {
"SquareMeters": "600m",
"SquareFeet": "850 feet",
"Text": ""
},
"Views": [
"string"
],
"MaxGuestAllowed": 0,
"MaxAdultAllowed": 0,
"MaxChildrenAllowed": 0
}
],
"PointOfInterests": [
{
"Name": "Gateway",
"Type": "monument",
"Distance": "10km",
"Geocode": null,
"Unit": "Km"
}
],
"MasterChainName": "Mariott",
"PopularityScore": 33,
"ContentScore": 12,
"LicenseNumber": null,
"Attributes": [
{
"Key": "Smoking",
"Desc": "Smoking permission",
"Value": "No Smoking"
}
],
"Statistics": [
{
"Id": 23,
"Name": "Missing Name",
"Value": 32
}
]
}
],
"VervotechId": 360800
}
],
"Status": true,
"Message": "Success",
"StatusCode": 2000
}