API - Planyo Web Services - reservation_search

Jesteś tutaj: Planyo » Pomoc » API » reservation_search

reservation_search (version 1)


Finds all reservations containing text specified in the query parameter (this works in the same was as the Search tab in the admin panel). You can search for one or more of the following: first and/or last name, login name, user ID, reservation ID, email address, phone number, resource name.


query string required
Search query. Specifying more than one word narrows down the search results.
sort string optional
Optional sort field. One of: user, user_id, email, phone, resource_id, resource, reservation_id, duration
version float optional
you can optionally specify the version of the API that you're using. Use the value of latest or simply skip this parameter to use the latest API version. The latest version is: 1
language string optional
by specifying a 2-letter (ISO 639-1) language code (all capital letters e.g. EN, DE, FR, ES, IT) you can change the language of the text values returned
api_key string required
your API key - Click here to get your key. If your API key uses a hash key, you must also include the parameters hash_key and hash_timestamp.


results array
Array whose items are named arrays with the following keys: rental_id (this is the reservation ID), start_time, end_time, user_notes, admin_notes, custom_color, night_reservation, first_name, last_name, login, user_id, email, phone, phone_country_code, resource_id, name (resource name)

API playground:

Click here to test this function in the API playground.