workerRelations

Fetch Worker Relations of a given HrisProfile by external id

Lists the parent and child worker relations of a profile that is identified by its external id, with external ids included alongside the Deel ids. Use it when your system holds the external id rather than the Deel id; to look the profile up by its Deel id, use GET /hris/worker_relations/profile/{hris_profile_oid} instead, which lists the same relations for a profile addressed by its Deel id.

Token scopes: profile:read

get/hris/worker_relations/profile/external/{profile_id}

Request

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

Path parameters

profile_id, string required

HrisProfile external ID

Response

Successful operation

WorkerRelationsGetWorkerRelationProfileByExternalIdResponse200 required
data, HrisWorkerRelationsProfileExternalProfileIdGetResponsesContentApplicationJsonSchemaDataItems[]

An array containing the Worker Relations of the profile. It includes either the parent or child relations.

Changes

No recorded changes to this operation across all 23 revisions of this API.