Use this method to get the number of unread escort bookings of the user who is logged in via the Unified Login using the access_token.
GET
/v1/Bookings/GetUnreadEscortBookings
GET
/v1/Groups/Bookings/GetUnreadEscortBookings
(See Group manager)
Property | Type | Description |
---|---|---|
This operation does not accept any parameters. |
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:
Property | Type | Description |
---|---|---|
UserID |
integer | Required. The ID of a member in the group that will be impersonated for this request. |
This endpoint is using the HTTP GET method.
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_escort_bookings |
Property | Type | Description |
---|---|---|
integer | The number of unread escort bookings for the specified user |
The following example returns the result.