API V2.0: Difference between revisions
Jump to navigation
Jump to search
Sorenjensen (talk | contribs) |
|||
| Line 267: | Line 267: | ||
Create or update bookings. | Create or update bookings. | ||
How to Add/remove bookings from a group booking | |||
You can add or remove a booking from a group booking by using the parameter "masterId" without having to use the action "makeGroup" | |||
To add a booking to a group booking, you set the master id of the group booking in the "masterId" parameter so it would look like this in your request: "masterId": 1234567, that will modify the booking to add it to the group. | |||
To remove a booking from a group booking, you set the "masterId" parameter to null so it will look like this in your request: "masterId": null, | |||
=== DELETE /bookings === | === DELETE /bookings === | ||