latestOpenAPI 3.0.02026-08-1284111344.5 KB
14666f4db0f8
TimeSheets
Create a new Time Sheet
Creates a new Time Sheet and returns the created Time Sheet object.
post/v2/timeSheet
Headers
Authorizationstring required
Example:Bearer <token>
Bearer Token
Request body
Example request
{
"techId": "USR-81ce48127c24fd23",
"jobId": "JOB-BA5r7o4bqzR9MONa",
"laborCost": 25,
"startDate": "2024-07-25 09:00:00",
"endDate": "2024-07-25 09:00:00",
"notes": "This is a note"
}Response
The created Time Sheet.
Example response
{
"id": "TS-de9750285414508f",
"techId": "USR-81ce48127c24fd23",
"techName": "John Doe",
"startDate": "2024-01-24 08:00:00",
"endDate": "2024-01-24 16:00:00",
"notes": "This is a note",
"jobId": "JOB-BA5r7o4bqzR9MONa",
"laborCost": 34.75,
"shiftLength": "08:00"
}