This API operation lets you cancel the received booking for the authenticated user.
POST
/v1/Webcam/CancelReceivedBooking
Property | Type | Description |
---|---|---|
BookingID |
integer | Required. The ID of the webcam booking. |
Reason |
string | Required. The reason why the performer has cancelled this booking. |
This endpoint has a couple of prerequisites which affect the current WebcamBooking.
Property | Type | Description |
---|---|---|
Status |
string | The Status must be Accepted . |
SessionDate |
datetime | The SessionDate cannot be in the past. |
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_webcam_bookings |
Property | Type | Description |
---|---|---|
WebcamBookingID |
integer | The ID of the webcambooking. |
Duration |
integer | The duration in minutes. |
Credits |
decimal | The amount of credits offered. |
Status |
string | The status of the webcam booking. Possible values are: Pending Accepted Rejected Confirmed Cancelled . |
IsMulitple |
boolean | Indicates if this bookings has been sent to other users as well. |
SoftwareTypeID |
integer | The type of software the client wants to use. Possible values are: 1 for MSN Messenger, 2 for Yahoo Messenger and 3 for Skype. |
SignInNameOrEmail |
string | The sign-in name or email address of the performer. |
AlsoPhoneChat |
boolean | Indicates if this booking was requested as a PhoneChat as well. |
CreateDate |
datetime | Represents the date and time of when this booking was made. |
SessionDate |
datetime | Represents the date and time of when this webcam session should take place. |
AcceptBy |
datetime | Represents the date and time before this webcam booking needs to be accepted. |
AcceptedDate |
datetime | Represents the date and time of when this webcam session was accepted. |
ConfirmedDate |
datetime | Represents the date and time of when this webcam session was confirmed. |
CancelledDate |
datetime | Represents the date and time of when this webcam session was cancelled. |
CancelledReason |
string | Represents the reason why this webcam booking was rejected. |
CancelledBy |
string | Represents the Nickname of the user that cancelled this webcam booking. |
RejectedReason |
string | Represents the reason why this webcam booking has been rejected. |
LastUpdated |
datetime | Represents the date and time of when this webcam session was last updated. |
Client |
aws:WebcamBookingClient | Represents the client user who created the booking. |
The following example shows the data returned from the sample above.