Create a staff member

Creates a staff member, optionally including addresses, parent-student linkage, and academic-year positions.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Request

This endpoint expects an object.
firstnamestringRequired
lastnamestringRequired
emailstringOptionalformat: "email"
genderenumOptional
Allowed values:
dobdateOptional
school_staff_idstringOptional
phonestringOptional
positionobjectOptional
addresslist of objectsOptional

Response

The staff member was created and the saved staff resource was returned.
statusstringOptional
messagestringOptional
datamap from strings to anyOptional

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error