action payrun_get_aeassessment_from_employee { label: "Get the auto enrolment assessment" description: "Gets the auto enrolment assessment from the specified employee" provider: payrun method: GET path: "/Employer/{EmployerId}/Employee/{EmployeeId}/AEAssessment/{AEAssessmentId}" encoding: json input: { type: "object" properties: { AEAssessmentId: { type: "string" } "Api-Version": { type: "string" format: "string" } Authorization: { type: "string" format: "string" } EmployeeId: { type: "string" } EmployerId: { type: "string" } } required: ["AEAssessmentId", "Api-Version", "Authorization", "EmployeeId", "EmployerId"] additionalProperties: false } output: { type: "object" properties: { AEAssessment: { type: "object" properties: { Age: { type: "integer" format: "int32" description: "The a e assessments' age" } AssessmentCode: { type: "string" description: "The a e assessments' assessment code" enum: ["Excluded", "EligibleJobHolder", "NonEligibleJobHolder", "EntitledWorker"] } AssessmentDate: { type: "string" format: "date" description: "The a e assessments' assessment date" } AssessmentEvent: { type: "string" description: "The a e assessments' assessment event" enum: ["NonEnrolmentEvent", "AutomaticEnrolment", "OptIn", "VoluntaryJoiner", "ContractualEnrolment"] } AssessmentOverride: { type: "string" description: "The a e assessments' assessment override" enum: ["None", "OptOut", "OptIn", "VoluntaryJoiner", "ContractualPension", "CeasedMembership", "Leaver", "Excluded"] } AssessmentResult: { type: "string" description: "The a e assessments' assessment result" enum: ["Inconclusive", "NoChange", "Enrol", "Exit"] } IsMemberOfAlternativePensionScheme: { type: "boolean" description: "The a e assessments' is member of alternative pension scheme" } OptOutWindowEndDate: { type: "string" format: "date" description: "The a e assessments' opt out window end date" } QualifyingEarnings: { type: "number" format: "double" description: "The a e assessments' qualifying earnings" } ReenrolmentDate: { type: "string" format: "date" description: "The a e assessments' reenrolment date" } StatePensionAge: { type: "integer" format: "int32" description: "The a e assessments' state pension age" } StatePensionDate: { type: "string" format: "date" description: "The a e assessments' state pension date" } TaxPeriod: { type: "integer" format: "int32" description: "The a e assessments' tax period" } TaxYear: { type: "integer" format: "int32" description: "The a e assessments' tax year" } } } } } }