This API operation deletes a completed PhoneChat booking.
POST
/v1/PhoneChat/DeleteReceivedBooking
Property | Type | Description |
---|---|---|
BookingIDs |
string of comma-seperated integers | Required. One or multiple IDs of PhoneChat Bookings you want to delete. |
This endpoint has a couple of prerequisites which affects the PhoneChat Bookings.
Property | Type | Description |
---|---|---|
Status |
string | The Status must be Rejected , Cancelled or Confirmed . |
Parameters can be passed to this operation using the HTTP POST method with serialized JSON in the request body.
The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.
An Authorization header is required with every request and must contain the access_token of the user. More information can be found in the Access tokens page.
This endpoint requires the following scope:
Scope |
---|
account_phonechat_bookings |
Property | Type | Description |
---|---|---|
BookingID |
integer | The ID of the booking. |
Deleted |
boolean | A boolean indicating if this booking was actually deleted or not. |
Message |
string | A message related to the delete action. If the Delete failed, this message will explain why it has failed. |
The following example returns a list of both deleted and non-deleted PhoneChat Bookings.