Theme switcher

Get working hours for users

This API call returns a list of Working Hour Activity objects along with a total (used for pagination). This data is from the user's perspective.

Header Parameters

x-api-keystring Required

Public API Key

Query Parameters

fromstring Required

The starting date. Format: YYYY-MM-DD.

tostring Required

The end date (inclusive). Format: YYYY-MM-DD.

clientIdstring

The specific client Id to fetch data. The default value of -1 returns data "all users". Only one of the fields(clientId, groupId, deviceId) can be sent per request.

groupIdstring

The specific group Id to fetch data. Only one of the fields (clientId, groupId, deviceId) can be sent per request.

pageinteger

The page number used in pagination.

Default value
1
pageSizeinteger

The page size for the number of results to return per request. The maximum value is 1000.

Default value
150

Response

200
Object
A response with the Report for Users.

Response Attributes

activityarray
Nullable:
True

Show child attributes

totalinteger
400
Object
Bad request. Failed with an error message indicating the reason of the failure.
500
Object
Internal Server Error.
Was this section helpful?

What made this section unhelpful for you?

GET

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?