curl --request POST \
--url http://localhost:3000/v1/auth/clock \
--header 'Content-Type: application/json' \
--data '
{
"action": "clock_in",
"staff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"success": true,
"action": "clock_in",
"timesheet_id": 123,
"start_time": "2023-11-07T05:31:56Z",
"operational_unit_id": 123
}Perform a clock in or clock out action via Deputy
curl --request POST \
--url http://localhost:3000/v1/auth/clock \
--header 'Content-Type: application/json' \
--data '
{
"action": "clock_in",
"staff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"success": true,
"action": "clock_in",
"timesheet_id": 123,
"start_time": "2023-11-07T05:31:56Z",
"operational_unit_id": 123
}