Documentation
Difficulty level:
API - Booking - Available fields
An overview of available fields on booking level which can be used in methods which link to this page.
Available fields
Fields which can be used in the context of a booking are:
Field | Description | Input/Output | Example |
---|---|---|---|
id | The booking ID | both | 3691 |
object_id | The object ID | both | 81 |
object | Object name | output | |
object_desc | Object description | output | |
date_from | Date from + time from in ISO8601 | both | 2018-02-13T09:30:00+0100 |
date_till | Date till + time till in ISO8601 | both | 2018-02-13T11:30:00+0100 |
number | Number of places | both | |
remarks | Remarks | both | |
mainobject_desc | Main object description | output | |
mainobject_id | Main object ID | output | |
fromtime | From time format 'H:i:s' | output | 09:30:00 |
tilltime | Till time, format 'H:i:s' | output | 11:30:00 |
status_code | Status code | both | 20 |
status | Status | output | OPEN |
customer_id | Customer ID | output | 123 |
customer | Customer name | output | Mr. T. Ester |
Email of customer | output | test@email.com | |
location_id | Location ID | output | 12 |
location | Location name | output | ROOM |
location_desc | Location description | output | Big room |
event_id | Event ID | output | 2018-03-12_1 |
price | output | 12.50 | |
currency | output | EUR | |
customXX | Custom fields - Replace XX by number of the field | both |