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 Bookings

This API operation retrieves a list of existing Escort Bookings made by the user.

URL / Endpoint

Need help with Postman?

GET /v1/Bookings/GetMadeBookings

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

Request

PropertyTypeDescription
OrderBy string Sets the order in which the bookings will be returned. Default is date-desc. Other possible options are date-asc, nickname-asc, nickname-desc, meetdate-asc and meetdate-desc
BookingsPerPage integer Sets the number of bookings on each page of the result set. Accepts values from 1 to 100. Default is 50.
PageNumber integer Returns a specific page in the result set. Accepts values from 1 onwards.

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/GetMadeBookings
?OrderBy=meetdate-asc &BookingsPerPage=10 Authorization: bearer {your-access-token}

GET as Group manager

https://api-sandbox.adultwork.com/v1/Groups/Bookings/GetMadeBookings
?UserID=123456 &OrderBy=meetdate-asc &BookingsPerPage=10 Authorization: bearer {your-access-token}

Response

PropertyTypeDescription
PageCount integer Represents the total number of pages in the result set.
PageNumber integer Represents the current page number.
BookingsTotal integer Represents the total number of bookings in the result set.
BookingsPerPage integer Represents how many bookings are listed on each page.
Bookings array of aws:MadeEscortBooking The page of bookings. See the type for more information

Response Sample

The following example returns a page of 10 Escort Bookings.

{
    "PageCount": 5,
    "PageNumber": 1,
    "BookingsTotal": 50,
    "BookingsPerPage": 10,
    "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
                }
            }
        }...
    ]
}
<BookingResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Bookings.Made">
    <Bookings>
        <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>
    </Bookings>...
    <BookingsPerPage>10</BookingsPerPage>
    <BookingsTotal>50</BookingsTotal>
    <PageCount>5</PageCount>
    <PageNumber>1</PageNumber>
</BookingResult>