Track provider work hours with check-in/check-out and manual entries.
Time logs track the actual hours worked by the provider. They can be generated automatically via check-in/check-out or created manually.
GET /workorders/{id}/time_logs
{
"results": [
{
"id": 1001,
"user_id": 12345,
"start": { "utc": "2024-01-15 09:00:00" },
"end": { "utc": "2024-01-15 11:30:00" },
"hours": 2.5,
"type": "check_in",
"verified": true
}
],
"total_hours": 2.5
}POST /workorders/{id}/time_logs
{
"user_id": 12345,
"start": { "utc": "2024-01-15 09:00:00" },
"end": { "utc": "2024-01-15 11:00:00" }
}PUT /workorders/{id}/time_logs/{time_log_id}
{
"out": { "utc": "2024-01-15 12:00:00" }
}DELETE /workorders/{id}/time_logs/{time_log_id}
Providers typically check in and out via the mobile app, which automatically creates time logs.
POST /workorders/{id}/check_in
{
"user_id": 12345,
"location": {
"lat": 44.9778,
"lng": -93.2650
}
}POST /workorders/{id}/check_out
{
"user_id": 12345
}GPS Verification: Check-in location is compared against the work order location to verify the provider is on-site.
| Status | Description |
|---|---|
pending | Awaiting verification |
verified | Confirmed by buyer |
disputed | Under review |
Last updated on