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

Get Escort Made Booking

This API operation retrieves a single Escort Booking made by the user.

URL / Endpoint

Need help with Postman?

GET /v1/Bookings/GetMadeBooking

GET /v1/Groups/Bookings/GetMadeBooking (See Group manager)

Request

PropertyTypeDescription
BookingID string Required. The ID of the escort booking.

Group manager

If the authenticated user is the manager of a group, the user can impersonate another member of the group. This allows the manager to perform tasks of other group members without having to authenticate as them.

The request can be build in the same way as the regular request, but targeted towards the Group manager endpoint. Additionally, it has the following extra parameters:

PropertyTypeDescription
UserID integer Required. The ID of a member in the group that will be impersonated for this request.

Request Information

HTTP Method / Verb

Parameters can be passed to this operation using the HTTP GET method by passing parameters over the query string of the URI.

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

GET method

https://api-sandbox.adultwork.com/v1/Bookings/GetMadeBooking
?BookingID=1 Authorization: bearer {your-access-token}

GET as Group manager

https://api-sandbox.adultwork.com/v1/Bookings/GetMadeBooking
?UserID=123456 &BookingID=1 Authorization: bearer {your-access-token}

Response

PropertyTypeDescription
BookingID integer Represents the ID of the booking.
Date datetime Represents the date and time of the booking.
MeetStartDate datetime Represents the start date and time of the booking.
MeetEndDate datetime Represents the end date and time of the booking.
DateRead datetime Represents the date of when the booked user has read the booking.
Comments string Represents the provided comments.
IsInCall boolean Represents if the booking is requested as an In-Call.
IsOutCall boolean Represents if the booking is requested as an Out-Call.
Price decimal Represents the price.
Currency string Represents the currency the user will be paid in.
Location string Represents the location.
IsScheduled string Represents if the booking is scheduled.
IsConfirmed string Represents if the booking is confirmed.
IsRead string Represents if the booking is read.
User aws:BookedEscortUser Represents the user who received the booking.

Response Sample

The following example returns a page of 10 Escort Bookings.

{
    "BookingID": 1,
    "Date": "2018-01-29T12:46:24.247",
    "MeetStartDate": "2018-01-30T10:00:00",
    "MeetEndDate": "2018-01-30T12:00:00",
    "DateRead": "208-01-27T14:57:32.593",
    "Comments": null,
    "IsInCall": true,
    "IsOutCall": false,
    "Price": 250,
    "Currency": "GBP",
    "Location": "In-Call",
    "IsScheduled": true,
    "IsConfirmed": true,
    "IsRead": true,
    "User": {
        "UserID": 123457,
        "Nickname": "BookedUser",
        "HasAlias": false,
        "AliasHasNegativeRating": false,
        "GenderID": 2,
        "Ratings": {
            "Total": 6,
            "Positive": 7,
            "Neutral": 0,
            "Negative": 1,
            "Ratings": 8,
            "Disputes": 0
        }
    }    
}
<MadeBooking>
    <BookingID>1</BookingID>
    <Comments i:nil="true" />
    <Currency>GBP</Currency>
    <Date>2018-01-29T12:46:24.247</Date>
    <DateRead>2018-01-27T14:57:32.593</DateRead>
    <IsConfirmed>true</IsConfirmed>
    <IsInCall>true</IsInCall>
    <IsOutCall>false</IsOutCall>
    <IsRead>true</IsRead>
    <IsScheduled>true</IsScheduled>
    <Location>In-Call</Location>
    <MeetEndDate>2018-01-30T12:00:00</MeetEndDate>
    <MeetStartDate>2018-01-30T10:00:00</MeetStartDate>
    <Price>250</Price>
    <User>
        <AliasHasNegativeRating>false</AliasHasNegativeRating>
        <GenderID>2</GenderID>
        <HasAlias>false</HasAlias>
        <Nickname>BookedUser</Nickname>
        <Ratings xmlns:d5p1="http://schemas.datacontract.org/2004/07/API.Models.Profile">
            <d5p1:Disputes>0</d5p1:Disputes>
            <d5p1:Negative>1</d5p1:Negative>
            <d5p1:Neutral>0</d5p1:Neutral>
            <d5p1:Positive>7</d5p1:Positive>
            <d5p1:Ratings>8</d5p1:Ratings>
            <d5p1:Total>6</d5p1:Total>
        </Ratings>
        <UserID>123457</UserID>
    </User>
</MadeBooking>