Skip to main content

linkResidentialParkToHrWorks

Links a residential park to an HR WORKS organisation unit, or points an existing link at a different unit.

The synchronisation only imports people whose organisation unit is linked to a park. People in an unlinked unit are skipped and reported, so linking is what makes them appear. A residential park is never created automatically from an organisation unit, because HR WORKS does not hold the institution codes, addresses and billing data a park requires.

Fails if another residential park is already linked to the same organisation unit.

Requires authorization features: park:hrworks:edit

linkResidentialParkToHrWorks(
input: LinkResidentialParkToHrWorksInput!
): HrWorksParkLink!

Directives​

auth​

Requires authorization features: park:hrworks:edit

Arguments​

linkResidentialParkToHrWorks.input ● LinkResidentialParkToHrWorksInput! non-null input​

Type​

The connection between a residential park and an HR WORKS organisation unit.

The identifier is the only part of this that is stored on the park. The number and the name are read from HR WORKS on each request, so a unit renamed there is never reported under an old name.