Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 1.15 KB

remove-booking-session.md

File metadata and controls

55 lines (43 loc) · 1.15 KB

Remove Booking Session

{% api-method method="post" host="[PlatformAddress]/api/1.0/" path="venue?action=removeBookingSession" %} {% api-method-summary %} Remove Booking Session {% endapi-method-summary %}

{% api-method-description %} Remove booking session from booking session {% endapi-method-description %}

{% api-method-spec %} {% api-method-request %}

{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %} Successfully removing a session from the booking. {% endapi-method-response-example-description %}

{
  "success": true,
  "id": 1234
}

{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}

Example Request

{
  "id": 8820,
  "venueId": 1,
  "bookingId": 15722
}

Returns

Property Description
success Whether or not the session is delete from the booking
id The unique id of the Booking Session

Throws

Code Description
Specific Code: 24365 The booking does not exist
Specific Code: 24366 The session does not exist