Timesheets
Create a timesheet activity for a resource
Create a new timesheet activity for a resource. For StartWork events, a subsequent EndWork will set this record's end date. For EndWork events, the startedAt timestamp is applied as the end date of the most recent preceding StartWork record with no end date. (required scope resources:write)
post/v1/resources/{resourceId}/timesheets
Path parameters
resourceIdinteger required
The ID of the resource
Headers
Customer-Idinteger required
The customer identifier
Request body
Example request
{
"eventType": "startWork"
}Response
Created