API - Planyo Web Services - search_reservations_by_form_item

Jesteś tutaj: Planyo » Pomoc » API » search_reservations_by_form_item

search_reservations_by_form_item (version 1)


Finds all reservations whose form item (name specified in item_name) has the specified value. This is useful especially for hidden form items which can have a special meaning to you, e.g. booking ID in an external system. This function will return max 500 reservations.


item_name string required
Name of the form item.
item_value string required
Value of the form item. It can include star (*) to match a pattern, e.g. abc* would match both abc and abcdef.
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: id (reservation_id), resource_id, user_id, start_time, end_time, status, quantity, creation_date, custom_color, resource_name, site_id

API playground:

Click here to test this function in the API playground.