post https://hybrid.officernd.com/api/{version}/organizations/{orgSlug}/bookings/summary
Validate a booking and returns if the booking is valid and any charges, fees, or credits will be used.
Booking Summary
Property | Type | Required | Description |
---|---|---|---|
target | Booking Target | false | Object, describing the employee and team, which are about to create a booking. |
booking | Booking | true | The booking to be validated if possible to be created without the team and employee properties. You can also pass the _id of an existing booking if you'd like to validate upcoming changes to it. |
Booking Target
Property | Type | Required | Description |
---|---|---|---|
team | id | false | The ID of the team at hand |
member | id | false | The ID of the employee at hand |