Create a new enrolment intent for a group policy
Creates a new enrolment_intent to manage the enrolment of an employee into a group. An enrolment intent represents the intention to enrol an employee into a specific group, and tracks the status and progress of that enrolment process.
Authentication
Request
Identifier for the employee associated with this enrolment intent. Prefixed with ee_.
Identifier for the group associated with this enrolment intent. Prefixed with gr_.
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.
Response
Unique identifier for the enrolment intent. Prefixed with ei_.
Identifier for the employee associated with this enrolment intent. Prefixed with ee_.
Identifier for the group associated with this enrolment intent. Prefixed with gr_.
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.
If the enrolment intent status is ineligible, this field provides details about the reason for employees ineligibility.
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.
If the enrolment intent status is pending_confirmation, this field provides details about the pending confirmation state.

