Links

Add or Update Booking Session Resource

Add or Update Booking Session Resource

post
[PlatformAddress]/api/1.0/venue?action=addOrUpdateBookingSessionResource
Add or Update Booking Session Resource

Cost Type

One of the following values:
  • 1 = Hourly
  • 2 = Daily

Example Request

Add booking session resource

{
"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
}

Update booking session resource

{
"id": 7,
"venueId": 9,
"bookingId": 29063,
"sessionId": 19792,
"startTime": "6:00 AM",
}

Returns

Property
Description
success
Whether or not the booking session resource was added/updated
id
The unique id of the booking session resource

Throws

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