immigration

Retrieve the legacy onboarding right-to-work case for a worker

Changed on

Returns the right-to-work onboarding case for a worker, including any associated documents; returns an empty response if no open case exists. When a worker is associated with multiple contracts, supply contract_id to target a specific contract.

Token scopes: worker:read

get/immigration/workers/{worker_id}/onboarding-case

Request

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

Path parameters

worker_id, string required

The hris profile oid (public id) of the worker.

Query parameters

contract_id, string

Filters the worker's onboarding case to a specific contract. If the worker has multiple contracts and this parameter is omitted, the response may return a case from any associated contract; the response includes contract.id to indicate which contract was used. Provide this parameter for deterministic results.

Response

Successful operation.

ImmigrationGetWorkerOnboardingCaseResponse200 required
data, ImmigrationWorkersWorkerIdOnboardingCaseGetResponsesContentApplicationJsonSchemaData

Changes