Pos Get kpi by target
GET/api/v3/remote-pos/{source_pid}/pos/{target_pid}/kpi-remote-actions
Get Some statistics for a target.
Request
Responses
- 200
- 422
Example
{
"success": true,
"data": {
"targetPid": "200200010004",
"filterTime": "last_24_hours",
"total": 7,
"byType": {
"10": 5,
"20": 1,
"30": 1
},
"byStatus": {
"1": 1,
"100": 6
}
}
}
Example
{
"message": "The groupBy field must be one of the following values: id, name.",
"errors": {
"groupBy": [
"The groupBy field must be one of the following values: id, name."
]
}
}