Register an uploaded PDF as a template

Associates an already-uploaded PDF file-manager record with a new document template and queues field detection for the active school.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
file_manager_idintegerRequired

Uploaded PDF file-manager identifier.

namestringRequired<=255 characters
entity_typeenumRequired
descriptionstring or nullOptional<=1000 characters

Response

Template created and returned.

Errors

422
Unprocessable Entity Error
500
Internal Server Error