Documentation
Difficulty level:
API - Booking - GET booking/{id}
GET booking/{id}
Used for
getting the information of a specific booking.
Authentication
User needs to be logged in - Administrator level.
Parameters
Parameter | Description | Required | Example |
---|---|---|---|
id | ID of the booking | Yes | 1363 |
Example
Getting the information of booking 1363.
GET api/rest/booking/1363
Response: { "booking_id": "1363", "object_desc": "Bungalow Albicocco", "status": "Open", "fromdate": "Sat Jul 09, 2011", "tilldate": "Sun Jul 10, 2011", "fromtime": "090000", "tilltime": "120000", "number": "1" }