contractorAmendments

List contract amendments

Changed on

Returns the amendments of a contract. For Individual Contractor contracts this may include several amendments; for Global Payroll contracts it returns only the current pending amendment, if any.

Token scopes: contracts:read

get/contracts/{contract_id}/amendments

Request

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

Path parameters

contract_id, string required

Unique identifier of the contract

Query parameters

statuses, ContractsContractIdAmendmentsGetParametersStatusesSchemaItems[]

Filter by work statement status.

sign_statuses, ContractsContractIdAmendmentsGetParametersSignStatusesSchemaItems[]

Filter by work statement sign status.

limit, integer

Maximum number of work statements to return.

cursor, string

Cursor for pagination.

Response

Successful operation.

ContractorAmendmentsGetContractAmendmentsResponse200 required
data, ContractsContractIdAmendmentsGetResponsesContentApplicationJsonSchemaDataItems[] required

List of amendments. IC contracts may return multiple; Global Payroll contracts return at most one (the current pending amendment).

cursor, string nullable required

Cursor for the next page of results.

has_more, boolean required

Indicates if there are more work statements available.

total_count, integer required

Total number of work statements matching the filters.

Changes

    • breaking

      added to the data/items response property oneOf list for the response status

    • breaking

      the data/items response's property type changed from object to no type for status

    • breaking

      removed the required property data/items/created_at from the response with the status

    10 more changes in this revision