Timesheets

List of timesheets by contract

Changed on

Lists the timesheet entries of one contract, for when you already know the contract. It applies the same access rules as GET /timesheets, which is the cross-contract list. Use GET /timesheets/{timesheet_id} when you already have an id.

Token scopes: timesheets:read

get/contracts/{contract_id}/timesheets

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Path parameters

contract_id, string required

Deel contract id.

Query parameters

contract_types, ContractsContractIdTimesheetsGetParametersContractTypesSchemaItems[]

Filter results to timesheets associated with the specified contract types.

statuses, ContractsContractIdTimesheetsGetParametersStatusesSchemaItems[]

Filter results to timesheets with the specified statuses.

reporter_id, string uuid

Filter results to timesheets submitted by this user ID.

date_from, string date

Filter results to timesheets submitted on or after this date (inclusive). Short date in format ISO-8601 (YYYY-MM-DD). For example: 2022-12-31.

date_to, string date

Filter results to timesheets submitted before this date (exclusive). Short date in format ISO-8601 (YYYY-MM-DD). For example: 2022-12-31.

limit, string

Maximum number of records to return per page. NOTE: query parameters are passed as strings.

offset, string

Number of records to skip before starting to return results. NOTE: query parameters are passed as strings.

Response

Successful operation.

TimesheetsGetContractTimesheetsResponse200 required
data, ContractsContractIdTimesheetsGetResponsesContentApplicationJsonSchemaDataItems[] required

List of timesheet entries associated with the specified contract.

page, ContractsContractIdTimesheetsGetResponsesContentApplicationJsonSchemaPage required

Pagination metadata for the response.

Changes

    • info

      api tag Timesheets added

    • info

      api tag timesheets removed

    • info

      added the optional property data/items/attachment/oneOf[subschema #1: ContractsContractIdTimesheetsGetResponsesContentApplicationJsonSchemaDataItemsAttachment]/download_url to the response with the status