This API operation will create a webcam booking for the authenticated user.
POST
/v1/Webcam/CreateBooking
Property | Type | Description |
---|---|---|
BookUserIDs |
string | Required. The comma delimited string of UserIDs of the users you wish to book a webcam session with. Note: The first person to accept gets the booking, all others are cancelled. You may invite up to 4 people at any one time. These users must be configured to do Webcam sessions. |
AlsoPhoneChat |
boolean | Set this value to True to create a PhoneChat booking too. Note: When setting this to True PhoneNumber is required. |
PhoneNumber |
string | Represents the phone-number of the client. |
SessionDate |
datetime | Required. The date at which the webcam session will be planned. This must be in the future and no further than 3 months in advance. Format: YYYY-MM-DD HH:MM . |
Duration |
integer | Required. The duration in minutes that this session will take. |
Credits |
decimal | Required. The credits offered by the client for this booking. |
SoftwareTypeID |
integer | Required. The type of software you will be using. Possible values are: 1 for MSN Messenger, 2 for Yahoo Messenger and 3 for Skype. |
SignInNameOrEmail |
string | Required. The Sign-in name or email address the authenticated user will be using to login. The performer can recognize the user by this. Note: When supplying SoftwareTypeID=1 this needs to be a valid email address. |
SendSMSOnAccept |
boolean | Send a SMS to the authenticated user when the performer accepts this booking. Note: The authenticated user will need to have it's mobile number verified. |
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 |
---|---|---|
array of aws:WebcamBookingResult | Represents the result of the booking. |
The following example shows the data returned from the sample above.