Add or Update Booking Session Resource
post
[PlatformAddress]/api/1.0/venue?action=addOrUpdateBookingSessionResource
Add or Update Booking Session Resource
One of the following values:
- 1 = Hourly
- 2 = Daily
{
"venueId": 9,
"bookingId": 29063,
"sessionId": 19792,
"resourceId": 27,
"quantity": 10,
"startTime": "5:00 AM",
"endTime": "7:00 AM",
"includeInPackage": 0,
"bookingPackageId": 1,
"cost": 25,
"costType": 1,
"costCenterId": 4
}
{
"id": 7,
"venueId": 9,
"bookingId": 29063,
"sessionId": 19792,
"startTime": "6:00 AM",
}
Property | Description |
---|---|
success | Whether or not the booking session resource was added/updated |
id | The unique id of the booking session resource |
Code | Description |
---|---|
Specific Code: 24338 | The booking session does not exist |
Specific Code: 24339 | The booking session resource does not exist |
Specific Code: 24340 | An unknown error has occurred |
Specific Code: 24341 | The request contains invalid data |
Specific Code: 24342 | The request contains invalid data |
Last modified 1yr ago