Create a custom column

Creates a SchoolSet custom column and optionally attaches it to a module and scope in the active school.

Authentication

AuthorizationBearer

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

Query parameters

modulestringOptional
Module system name to attach the new field to
scope_idintegerOptional
Optional module scope identifier

Request

This endpoint expects an object.
namestringRequired<=255 characters
type_dataenumRequired
optionslist of objects or nullOptional

Response

Custom column created and returned as a resource
statusstring
messagestring
dataobject

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error