name (string): Name of the hotel.phone (string): Phone number of the hotel.phone2 (string): Additional phone number of the hotel.email (string): Email address of the hotel.website (string): Website of the hotel.slogan (string): Slogan of the hotel.address (string): Address of the hotel.address2 (string): Additional address information of the hotel.city (string): City where the hotel is located.state (string): State where the hotel is located.country (string): Country where the hotel is located.instagram (string): Instagram handle of the hotel.facebook (string): Facebook page of the hotel.x (string): X handle of the hotel.errorCode (integer): Error code, 0 means no error while any other number indicates an error.errorMessage (string): Error message, if any.{
"type": "object",
"properties": {
"name": {"type": "string"},
"phone": {"type": "string"},
"phone2": {"type": "string"},
"email": {"type": "string"},
"website": {"type": "string"},
"slogan": {"type": "string"},
"address": {"type": "string"},
"address2": {"type": "string"},
"city": {"type": "string"},
"state": {"type": "string"},
"country": {"type": "string"},
"instagram": {"type": "string"},
"facebook": {"type": "string"},
"x": {"type": "string"},
"errorCode": {"type": "integer"},
"errorMessage": {"type": "string"}
}
}
curl --location --request GET 'https://guestapi.roomability.io/Hotel/Detail' \
--header 'X-API-Key: {{api-key}}' \
--header 'Content-Type: application/json'{
"name": "Valinno Systems",
"phone": "08087654321",
"phone2": "09087654321",
"email": "reservation@valinno.com",
"website": "http://www.valinno.com",
"slogan": "... the best or nothing",
"address": "3, Ogunmade Street",
"address2": "Off Ajao Road",
"city": "Ikeja",
"state": "Lagos",
"country": "Nigeria",
"instagram": "",
"facebook": "",
"x": "",
"errorCode": 0,
"errorMessage": "Successfully retrieved hotel detail."
}