This API operation retrieves a list of existing PhoneChat Bookings made by the user.
GET
/v1/PhoneChat/MadeBookings
GET
/v1/Groups/PhoneChat/MadeBookings
(See Group manager)
Property | Type | Description |
---|---|---|
StartDate |
date | The date at which the phonechat bookings were created. You can use this to search from this date. Format: yyyy-mm-dd |
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 , sessiondate-asc and sessiondate-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. |
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. |
Parameters can be passed to this operation using the HTTP GET method by passing parameters over the query string of the URI.
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_phonechat_bookings |
Property | Type | Description |
---|---|---|
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:PhoneChatMadeBooking | The page of bookings. See the type for more information |
The following example returns a page of 10 PhoneChat Bookings.