Update State
Put
/employers/{employerId}/employees/{employeeId}/autoenrolment/state
Updates the AutoEnrolment state for an Employee.
You would use this API call to process notices such as Opt Out, Opt In, etc.
A new assessment is returned showing the result of the state change.
Possible Responses
| 201 |
Assessment created successfully |
AeAssessment |
text/plain
|
| 400 |
Bad Request - Invalid parameters or state transition |
|
|
| 404 |
Employee or Employer not found |
|
|