latestOpenAPI 3.0.02026-08-1284111344.5 KB

14666f4db0f8

TimeSheets

Retrieve a single Time Sheet

Retrieves a single Time Sheet by its ID.

get/v2/timeSheet/{id}

Path parameters

idstring required
Example:TS-f4e29a5a3f8a01a6

The time sheet ID (prefix TS-).

Headers

Authorizationstring required
Example:Bearer <token>

Bearer Token

Response

The requested Time Sheet.

idstring

The ID of the time sheet (prefix TS-).

techIdstring

The ID of the user logged to this shift (prefix USR-).

techNamestring

The name of the user logged to this shift.

startDatestring

The start date and time of the shift.

endDatestring

The end date and time of the shift.

notesstring

The notes of the shift.

jobIdstring

The ID of the job associated with this shift (prefix JOB-).

laborCostnumber

The labor cost per hour of this shift.

shiftLengthstring

The length of the shift in hours.

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"
}