Skip to content

Get the available amenities (Google Lodging) fields for a location

Request

Get the list of all available amenities (Google Lodging) fields.

Security
X-API-KEY or Authorization
curl -i -X GET \
  https://uberall.com/api/locations/available-lodging-fields \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

Available lodging fields successfully retrieved

Body*/*
statusstringrequired
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
messagestring

(optional) Holds further information about the response

warningsArray of strings

(optional) Holds further warnings

responseobjectrequired

The actual response object of the response

Response
{
  "status": "SUCCESS",
  "message": "string",
  "warnings": [
    "string"
  ],
  "response": {
    "availableLodgingFields": [
      {
        "externalId": "string",
        "category": "string",
        "displayName": "string"
      }
    ]
  }
}