API - Planyo Web Services - get_reservation_data

Planyo » Pomoc » API » get_reservation_data

get_reservation_data (version 0.2)

Description:

This method returns details of a reservation.

Input:

reservation_id int required
ID of the reservation
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: 0.2
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

Output:

resource_id int
ID of the resource
user_id int
ID of the user
site_id int
Planyo site ID
start_time DateTime
Beginning of reservation
end_time DateTime
End of reservation
status ReservationStatus
Reservation status
quantity int
Number of resources reserved
wants_share SharingMode
Chosen sharing mode (if available)
creation_time DateTime
Time of entry of the reservation into the system
unit_assignment string
If the admin assigned a specific unit to the reservation, it will be listed here
custom_color string
If the admin assigned a color to the reservation, it will be listed here
user_text string
User's notes at the time of reservation