Update a Timesheet
PUT/api/timesheets/{id}
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| id | Number | Timesheet unique ID |
| project_id | Number | optional Optional Project ID |
| user_id | Number | optional Optional User ID |
| task_id | Number | optional Optional Task ID |
| start_time | String | optional Optional Start time (Y-m-d H:i:s) |
| end_time | String | optional Optional End time (Y-m-d H:i:s) |
| hours | Number | optional Optional Manually logged hours |
| note | String | optional Optional Note |
curl -X PUT "https://yoursite.com/api/timesheets/123" \
-H "authtoken: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "field": "value" }'