This operation returns transactions for Activity auto or manual move quantities according to the specified date range.
Service limit
A service limit constrains the number of employees and the number of days that can be processed in a single request.
-
The Number of Employees cannot exceed 25.
-
The Number of Days cannot exceed 30.
Refer to the Limits topic for more information.
The associated Access Control Point is WFA_VIEW_TEAM_ACTIVITY_EVENTS.
Example call
Example request
The employees
property allows for three possible options:
-
ids
- return move quantity transactions based on person ids -
qualifiers
- return move quantity transactions based on person number -
refs
- return move quantity transactions based on either ids or person number
The startDateTime
and endDateTime
properties contain the date and time during which transactions are retrieved.
{
"where": {
"employees":
{
"ids": ["243"
],
"qualifiers": ["20335"
],
"refs":[
{
"id":243,
"qualifier":"20335"
}
] }, "startDateTime": "2024-04-10T06:00:00",
"endDateTime": "2024-04-20T19:00:00"
}
}
Example response
[
[
{
"employee": {
"id": 243,
"qualifier": "20335"
},
"form": {
"id": 53,
"qualifier": "MY STOP"
},
"formType": {
"id": 22,
"qualifier": "END_ACTIVITY_START_STOP"
},
"initiator": {
"id": 243,
"qualifier": "20335"
},
"fromActivity": {
"id": 102,
"qualifier": "203-5"
},
"fromActivityFullName": "101-22/203-5",
"toActivity": {
"id": 201,
"qualifier": "NewActivity1"
},
"toActivityFullName": "101-22/NewActivity1",
"moveQuantity": 10.0,
"employeeName": "Adams, Eliza",
"initiatedBy": "Adams, Eliza",
"deviceIPAddress": "10.7.194.16",
"initiatedDateTime": "2024-04-29 11:33:58"
}
]
]