GET amenities
Changed onReturns amenities of the organization
Request
- Base URLhttps://api.bookingexperts.com
- Auth
- API key in header X-API-KEY
- or OAuth 2Authorization code/oauth/authorizeToken URL/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Page number
Page size
Sort. Specify a comma separated list of attributes to sort on. Prefix attribute with a - to sort in descending order. Allowed attributes: id
Fieldset. Specify a comma separated list of attributes to return
Includes list. Specify a comma separated list of resources to include.
Filter on ID
Filter on name
Filter on description
Filter on type
Filter on position
Filter on semantic_amenity_type
Filter on filterable
Filter on highlightable
Filter on amenity_group. Specify a comma separated list of IDs to filter on.
Filter on amenity_options. Specify a comma separated list of IDs to filter on.
Headers
Supported languages. A comma separated list with one or more of the following locales: cs, da-DK, de, de-AT, de-CH, en-US, en-GB, es, fr, fr-BE, fr-LU, it, nb, nl, nl-BE, pl, pt, tr, en, da. Default: 'en'.
Response
AmenityCollectionResponse
Example response
{
"data": [
{
"id": "1",
"type": "amenity",
"relationships": {
"amenity_group": {
"data": {
"type": "amenity_group"
}
},
"amenity_options": {
"data": [
{
"type": "amenity_option"
}
]
}
}
}
],
"included": [
{
"id": "1",
"type": "amenity_group"
}
]
}Changes
- info
added the new optional
queryrequest parameterfilter[highlightable] - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
added the optional property
////////to the response with the status - info
the response optional property
///became read-only for the status - info
the response optional property
///became read-only for the status - info
the response optional property
///became read-only for the status - info
the response optional property
///became read-only for the status - info
the response optional property
///became read-only for the status - info
the response optional property
///became read-only for the status
- info