Admin

Apply a historical enrolment import

Changed on

Requires permission: IT

Runs the same plan the preview reports and writes it. Every row written carries one BatchId, and a MisImport_Batches row records the run, so a mistaken import is a single action to undo.

post/Admin/Mis/Import/Enrolments/Apply

Request

  • Base URL: https://api.tonbridge.school
  • URL: https://api.tonbridge.school/Admin/Mis/Import/Enrolments/Apply
  • Auth: HTTP bearer

Query parameters

pageinteger required
pageSizeinteger required
includesstring[] nullable
sortstring nullable
filterstring nullable

Response

Success - imported

kindstring
fileNamestring nullable
sheetNamestring nullable
rowsReadinteger
matchedinteger
unmatchedinteger
wouldInsertinteger
wouldUpdateinteger
currentYearRowsIgnoredinteger
yearsAffectedstring[]
warningsstring[]
batchIdstring guid nullable
rowsWritteninteger nullable

Changes