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

Update Escort Booking

This API operation can update the Escort Bookings received by the authenticated user.

URL / Endpoint

Need help with Postman?

PUT /v1/Bookings/UpdateBooking

Request

PropertyTypeDescription
Bookings array of UpdateEscortBooking Required. The booking information.

Request Information

HTTP Method / Verb

Parameters can be passed to this operation using the HTTP PUT 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_escort_bookings

Samples

PUT method

https://api-sandbox.adultwork.com/v1/Bookings/UpdateBooking

Authorization: bearer {your-access-token}
{
"Bookings": [ { "BookingID" : 1, "IsConfirmed" : true }
]
}

Response

PropertyTypeDescription
  array of aws:UpdatedEscortBooking Represents the updated booking data.

Response Sample

The following example returns the data.

[
    {
	"BookingID": 1,
	"IsUpdated" : true
    }
]
<ArrayOfBookingUpdateOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Bookings">
    <BookingUpdateOutput>
        <BookingID>1</BookingID>
        <IsUpdated>true</IsUpdated>
    </BookingUpdateOutput>
</ArrayOfBookingUpdateOutput>