Appearance
Recipient (Purpose)
sfc.recipient · every change is kept in the audit log
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 |
entered_by | entered by | link → core.user | |
purpose | purpose | link → sfc.purpose | |
purpose_name | purpose name | text | |
type | type | text | |
name | name | text | |
email | personal data | ||
reference_no | reference no | text | |
university_name | university name | text | |
country | country | text | |
contact_person | contact person | text | personal data |
contact_phone | contact phone | phone | personal data |
address | address | longtext | personal data |
wes_email | wes email | personal data | |
wes_surname | wes surname | text | personal data |
wes_reference_no | wes reference no | text | |
delivery_type | delivery type | select | one of: Digital, Courier, Pickup |
copies | copies | number | min 0 |
verification_type | verification type | text | |
verified | verified | check | default false |
errata | errata | check | default false |
extra_fields | extra fields | json |
Permissions
| Role | Can |
|---|---|
sfc:admin | read, create, update, delete |
sfc:verifier | read, update |
sfc:signatory | read |
sfc:printer | read |
sfc:dispatcher | read |
sfc:student | read, create, update — only own rows (via student) |
sfc:agent | read, create, update — only own rows (via entered_by) |
API
http
GET /api/sfc/recipient?<field>=<value>&limit=100&offset=0
POST /api/sfc/recipient
GET /api/sfc/recipient/:id
PATCH /api/sfc/recipient/:id
DELETE /api/sfc/recipient/:id