Generate a NEST enrol workers (ME) file
Builds the ME for every enrolment in a NEST scheme with submission method FILE that NEST does not hold yet: not in an uploaded file, not in the baseline, and not rejected and awaiting a fix in NEST. When records have problems NEST would reject, the file is stored as FAILED with every problem listed and no CSV. Warnings return 422 NEST_FILE_WARNINGS unless overwrite_soft_validation is true; the acknowledged warnings are kept on the file. A new file replaces an earlier one that was never marked uploaded. Files are uploaded by the client on the NEST website; Intermezzo cannot see the outcome, so the client reports it with mark-uploaded.
Body
Response
Successful Response
Lifecycle of one generated NEST file.
Uploads happen on the NEST website, so the UPLOADED states are set by the client. An ME is UPLOADED_ALL_ACCEPTED or UPLOADED_WITH_ERRORS; a CS, whose row errors are fixed online in NEST, is UPLOADED and then APPROVED_IN_NEST once the employer approves the schedule.
GENERATED, FAILED, SUPERSEDED, UPLOADED_ALL_ACCEPTED, UPLOADED_WITH_ERRORS, UPLOADED, APPROVED_IN_NEST