Get employee logged hours with work order info if one was in execution.
GET
/api/v1/EmployeeHours
EmployeeHours
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.plantscanner.io/api/v1/EmployeeHours'
Response Response Example
200 - Exemplo 1
{
"employeeHours": [
{
"login": "2019-08-24T14:15:22Z",
"logout": "2019-08-24T14:15:22Z",
"status": "string",
"employee": {
"registration": "string",
"fullName": "string",
"shortName": "string"
},
"workOrder": {
"code": "string",
"operationCode": "string"
},
"workStation": {
"code": "string",
"description": "string",
"shortName": "string"
},
"note": "string"
}
],
"workOrder": {
"code": "string",
"operationCode": "string"
}
}
Requisição
Parâmetros Query
StartDate
string <date-time>
opcional
EndDate
string <date-time>
opcional
LastUpdatedBegin
string <date-time>
opcional
LastUpdatedEnd
string <date-time>
opcional