Retrieve an enrolment intent

Retrieves an enrolment_intent object.

Authentication

AuthorizationBearer
Authorization header using the Bearer scheme

Path Parameters

enrolment_intent_idstringRequiredformat: "ei_.+"

Response

OK
idstringformat: "ei_.+"

Unique identifier for the enrolment intent. Prefixed with ei_.

employee_idstringformat: "ee_.+"

Identifier for the employee associated with this enrolment intent. Prefixed with ee_.

group_idstringformat: "gr_.+"

Identifier for the group associated with this enrolment intent. Prefixed with gr_.

statusenum
Current status of the enrolment intent.
force_confirmationboolean

If set to true, the system will always force the PendingConfirmation state before enrolling the employee, even if no action is required. This can be useful in scenarios where you want to ensure that the employee explicitly confirms their enrolment, regardless of their eligibility or any other factors. Defaults to false.

policieslist of objects or null
Policies to be created as part of this enrolment intent.
objectstring or null
The object type
ineligibility_reasonobject or null

If the enrolment intent status is ineligible, this field provides details about the reason for employees ineligibility.

policy_configurationobject or null
Policy configuration associated with this enrolment intent.
action_requiredobject or null

If the enrolment intent status is action_required, this field provides details about the action that needs to be taken to proceed with the enrolment.

pending_confirmationobject or null

If the enrolment intent status is pending_confirmation, this field provides details about the pending confirmation state.

Errors