URI: attask/api/v15.0/user/getUsersAvailableTime
The users available time endpoint retrieves data on the user’s available time. This allows integrations for aggregation of data according to user attributes and time intervals.
curl -XPUT /attask/api/v15.0/user/getUsersAvailableTime
userIDs: array of strings. Required. Example: "61a9cc0500002f9fdaa7a6f824f557e1"
.
fromDate: datetime. string. Required. Example: "2022-07-10T00:00:00"
.
toDate: datetime. string. Required. Example "2022-07-20T23:59:59"
.
{
"data": {
"result": {
"PAVL": {
"61a9cc0500002f9fdaa7a6f824f557e1": [
0.0,
480.0,
480.0,
480.0,
480.0,
480.0,
0.0,
0.0,
480.0,
480.0,
480.0
]
},
"AVL": {
"61a9cc0500002f9fdaa7a6f824f557e1": [
0.0,
480.0,
480.0,
480.0,
480.0,
0.0,
480.0,
0.0,
480.0,
480.0,
480.0
]
}
}
}
}