This API operation will get the received bookings of a performing authenticated user.
GET
/v1/Webcam/ReceivedBookings
GET
/v1/Groups/Webcam/ReceivedBookings
(See Group manager)
Property | Type | Description |
---|---|---|
StartDate |
datetime | The date at which the webcam bookings was 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 createddate-desc . Other possible options are createddate-asc , acceptdate-asc , acceptdate-desc , nickname-asc and nickname-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_webcam_bookings |
Property | Type | Description |
---|---|---|
PageCount |
integer | Represents the total number of pages in the result set. |
PageNumber |
integer | Represents the current page number. |
PageSize |
integer | Represents how many bookings are listed on each page. |
WebcamBookingsTotal |
integer | Represents the total number of bookings in the result set. |
WebcamBookings |
array of aws:ReceivedWebcamBooking | The page of bookings. See the type for more information |
The following example shows the data returned from the sample above.