curl --request GET \
--url http://localhost:3000/v1/scanner/approvals{
"approvals": [
{
"id": 123,
"type": "timesheet",
"employeeName": "<string>",
"employeeId": 123,
"title": "<string>",
"description": "<string>",
"submittedAt": "<string>",
"status": "<string>"
}
],
"deputy_configured": true,
"message": "<string>",
"error": "<string>"
}Returns pending timesheets and leave requests from Deputy.
curl --request GET \
--url http://localhost:3000/v1/scanner/approvals{
"approvals": [
{
"id": 123,
"type": "timesheet",
"employeeName": "<string>",
"employeeId": 123,
"title": "<string>",
"description": "<string>",
"submittedAt": "<string>",
"status": "<string>"
}
],
"deputy_configured": true,
"message": "<string>",
"error": "<string>"
}