GET administrations
Changed onReturns all administrations accessible for the current subscription
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, created_at, updated_at
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 email
Filter on phone
Filter on website
Filter on native_currency
Filter on address
Filter on city. Specify a comma separated list of IDs to filter on.
Filter on description
Filter on surroundings_description
Filter on tin
Filter on available_locales
Filter on native_locale
Filter on timezone
Filter on invoice_email
Filter on invoice_phone
Filter on invoice_address
Filter on invoice_postalcode
Filter on invoice_city
Filter on invoice_country_code
Filter on guest_list_group
Filter on guest_accepted_document_type
Filter on guest_identification_required
Filter on ask_for_guest_gender
Filter on ask_for_guest_address
Filter on ask_for_guest_postal_code
Filter on ask_for_guest_city
Filter on ask_for_guest_country
Filter on ask_for_guest_email
Filter on ask_for_guest_phone
Filter on ask_for_guest_profession
Filter on ask_for_guest_signature
Filter on ask_for_fellow_guest_gender
Filter on ask_for_fellow_guest_address
Filter on ask_for_fellow_guest_postal_code
Filter on ask_for_fellow_guest_city
Filter on ask_for_fellow_guest_country
Filter on ask_for_fellow_guest_email
Filter on ask_for_fellow_guest_phone
Filter on ask_for_fellow_guest_profession
Filter on ask_for_fellow_guest_signature
Filter on default_option_validity
Filter on latitude
Filter on longitude
Filter on allow_multi_reservation_bookings_through_api
Filter on accounting_closed_upto
Filter on enable_license_plates
Filter on iban
Filter on bic
Filter on created_at
Filter on updated_at
Filter on checkin_timetable. Specify a comma separated list of IDs to filter on.
Filter on checkout_timetable. Specify a comma separated list of IDs to filter on.
Filter on payment_handlers. 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
AdministrationCollectionResponse
Example response
{
"data": [
{
"id": "1",
"type": "administration",
"relationships": {
"city": {
"data": {
"type": "city"
}
},
"checkin_timetable": {
"data": {
"type": "timetable"
}
},
"checkout_timetable": {
"data": {
"type": "timetable"
}
},
"interactive_map": {
"data": {
"type": "interactive_map"
}
},
"payment_handlers": {
"data": [
{
"type": "payment_handler"
}
]
}
}
}
],
"included": [
{
"id": "1",
"type": "city",
"attributes": {
"country_code": "NL"
},
"relationships": {
"region": {
"data": {
"type": "region"
}
},
"regions": {
"data": [
{
"type": "region"
}
]
}
}
}
]
}Changes
- 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