Admin

Apply a historical class membership import

Changed on

Requires permission: IT

Runs the same plan the preview reports and writes it: classes first, then class students and class staff. Every row carries one BatchId. Imported class staff are ReportWriter = false and ParentsEvening = false, because those flags drive live workflows and a class from years ago must not feed this year's.

post/Admin/Mis/Import/ClassMembership/Apply

Request

  • Base URL: https://api.tonbridge.school
  • URL: https://api.tonbridge.school/Admin/Mis/Import/ClassMembership/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