C2 Personnel API (1.30.0)

Download OpenAPI specification:

API for accessing data related to Schedule, Work Rest, Timesheets.

Retrieve timesheet entries

Fetch timesheet entries with various filtering options. Data is always paginated. All parameters are optional.

query Parameters
page
integer
Example: page=1

Page number for pagination.

from
string <date>
Example: from=2024-01-01

Only include entries ON OR AFTER this date.

to
string <date>
Example: to=2024-01-31

Only include entries BEFORE this date.

crew
Array of strings <uuid> [ items <uuid > ]

Only includes entries where PersonId is in this list.

assets
Array of strings <uuid> [ items <uuid > ]

Only include entries where AssetId is in this list.

trips
Array of strings <uuid> [ items <uuid > ]

Only include entries where TripId is in this list.

earningCodes
Array of strings <uuid> [ items <uuid > ]

Only include entries where EarningCodeId is in this list.

costCenters
Array of strings <uuid> [ items <uuid > ]

Only include entries where CostCenterId is in this list.

positions
Array of strings <uuid> [ items <uuid > ]

Only include entries where PositionId is in this list.

Responses

Response samples

Content type
application/json
{
  • "TotalCount": 0,
  • "Page": 0,
  • "Results": [
    ]
}