API Methods
Account ...
Blogs ...
Bookings ...
CreditHistory ...
Dashboard ...
DirectCam ...
DirectChat ...
Email ...
FieldReport ...
Groups ...
HotLists ...
Interview ...
Lists ...
Movie ...
Newsfeed ...
PhoneChat ...
Pictures ...
Profile ...
Search ...
Tours ...
Webcam ...

Reschedule Made Webcam Booking

This API operation will create a new webcam booking based on another booking for the authenticated user.

URL / Endpoint

Need help with Postman?

POST /v1/Webcam/RescheduleMadeBooking

Request

PropertyTypeDescription
BookingID integer Required. The ID of the webcam booking you wish to use the settings of. It will create a new booking with the SessionDate of 5 minutes in the future. Please make sure the performing user is online.

Request Information

HTTP Method / Verb

Parameters can be passed to this operation using the HTTP POST method with serialized JSON in the request body.

Headers

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.

Authentication

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.

Scopes

This endpoint requires the following scope:

Scope
account_webcam_bookings

Samples

POST method

https://api-sandbox.adultwork.com/v1/Webcam/RescheduleMadeBooking

Authorization: bearer {your-access-token}
{ "BookingID" : 1 }

Response

PropertyTypeDescription
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.
Performer aws:WebcamBookingPerformer Represents the performer user who received the booking.

Response Sample

The following example shows the data returned from the sample above.

{
    "WebcamBookingID": 2,
    "Duration": 10,
    "Credits": 10,
    "Status": "Pending",
    "IsMulitple": true,
    "SoftwareTypeID": 3,
    "SignInNameOrEmail": "ClientUserOnSkype",
    "AlsoPhoneChat": true,
    "CreateDate": "2018-01-01T11:00",
    "SessionDate": "2018-02-01T12:00",
    "AcceptBy": "2018-02-01T00:00",
    "AcceptedDate": null,
    "ConfirmedDate": null,
    "CancelledDate": null,
    "CancelledReason": null,
    "CancelledBy": null,
    "RejectedReason": null,
    "LastUpdated": null,
    "Performer": {
        "UserID": 123456,
        "Nickname": "JosepheneBlogs",
        "SignInNameOrEmail": null,
        "PhoneNumber": null,
	"Total": 6,
        "Positive": 7,
        "Neutral": 1,
        "Negative": 0,
        "Ratings": 8,
        "Disputes": 0
    }
}
<WebcamBooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Webcam.Made">
    <AcceptBy>2018-02-01T00:00</AcceptBy>
    <AcceptedDate i:nil="true" />
    <AlsoPhoneChat>true</AlsoPhoneChat>
    <CancelledBy i:nil="true" />
    <CancelledDate i:nil="true" />
    <CancelledReason i:nil="true" />
    <Client>
        <Disputes xmlns="http://schemas.datacontract.org/2004/07/API.Models.Profile">0</Disputes>
        <Negative xmlns="http://schemas.datacontract.org/2004/07/API.Models.Profile">0</Negative>
        <Neutral xmlns="http://schemas.datacontract.org/2004/07/API.Models.Profile">1</Neutral>
        <Positive xmlns="http://schemas.datacontract.org/2004/07/API.Models.Profile">7</Positive>
        <Ratings xmlns="http://schemas.datacontract.org/2004/07/API.Models.Profile">8</Ratings>
        <Total xmlns="http://schemas.datacontract.org/2004/07/API.Models.Profile">6</Total>
        <Nickname>JosepheneBlogs</Nickname>
        <PhoneNumber i:isnil="true" />
        <SignInNameOrEmail i:isnil="true" />
        <UserID>123456</UserID>
    </Client>
    <ConfirmedDate i:nil="true" />
    <CreateDate>2018-01-01T11:00</CreateDate>
    <Credits>10.0000</Credits>
    <Duration>10</Duration>
    <IsMulitple>true</IsMulitple>
    <LastUpdated i:nil="true" />
    <RejectedReason i:nil="true" />
    <SessionDate>2018-02-01T00:00</SessionDate>
    <SignInNameOrEmail>ClientUserOnSkype</SignInNameOrEmail>
    <SoftwareTypeID>3</SoftwareTypeID>
    <Status>Pending</Status>
    <WebcamBookingID>2</WebcamBookingID>
</WebcamBooking>