Appearance
Issued Document
sfc.generated_document · every change is kept in the audit log · numbered DOC-{YYYY}-{######}
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
application | application | link → sfc.application | required |
student | student | link → core.student | required |
recipient | recipient | link → sfc.recipient | |
doc_type | doc type | text | required |
file | file | file | required |
not_for_print_copy | not for print copy | file | |
verification_token | verification token | text | unique |
signed | signed | check | default false |
signed_by | signed by | link → core.user | |
signed_at | signed at | datetime | |
outward_no | outward no | text |
Permissions
| Role | Can |
|---|---|
sfc:admin | read, create, update, delete |
sfc:signatory | read, create, update |
sfc:verifier | read |
sfc:printer | read |
sfc:dispatcher | read |
sfc:student | read — only own rows (via student) |
API
http
GET /api/sfc/generated_document?<field>=<value>&limit=100&offset=0
POST /api/sfc/generated_document
GET /api/sfc/generated_document/:id
PATCH /api/sfc/generated_document/:id
DELETE /api/sfc/generated_document/:id