Appearance
Service (Document Type)
sfc.service · every change is kept in the audit log · numbered {code}
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
code | code | text | required; unique; max 40 characters |
title | title | text | required |
description | description | longtext | |
generator | generator | select | required; one of: Attestation, Migration Certificate, Transfer Certificate, Provisional Degree Certificate, Convocation, Verification Letter, Transcript, Transcript Certificate, Medium of Instruction, Affiliation Letter, Internship, Custom Template |
purpose_model | purpose model | select | one of: Purpose list, Custom fields; default "Custom fields" |
delivery_types | delivery types | table of service_delivery | |
fees | fees | table of service_fee | |
is_disabled | is disabled | check | default false |
auto_process | auto process | check | default false |
allow_ocr | allow ocr | check | default false |
allow_import | allow import | check | default true |
needs_college_confirmation | needs college confirmation | check | default false |
candidate_remark | candidate remark | check | default false |
one_application_per_student | one application per student | check | default false |
block_duplicate_prn | block duplicate prn | check | default false |
one_education_row | one education row | check | default false |
one_purpose | one purpose | check | default false |
outward_register | outward register | check | default false |
outward_auto_number | outward auto number | check | default false |
auto_document_type | auto document type | check | default false |
agents_allowed | agents allowed | check | default false |
fetch_education_from_exam | fetch education from exam | check | default false |
application_no_prefix | application no prefix | text | max 32 characters |
certificate_date | certificate date | text | max 7 characters |
sla_days | sla days | number | min 0 |
sla_stage_days | sla stage days | json | |
signatory_name | signatory name | text | |
signatory_title | signatory title | text | |
letterhead | letterhead | file | |
signature | signature | image | |
stamp | stamp | image | |
not_for_print_watermark | not for print watermark | image | |
sample_document | sample document | file | |
education_form | education form | json | |
document_form | document form | json | |
purpose_form | purpose form | json | |
what_to_attest | what to attest | json | |
extra_registration_fields | extra registration fields | json | |
instructions_overall | instructions overall | longtext | |
instructions_education | instructions education | longtext | |
instructions_documents | instructions documents | longtext | |
instructions_purpose | instructions purpose | longtext | |
instructions_payment | instructions payment | longtext | |
instructions_preview | instructions preview | longtext | |
contact_email | contact email | personal data | |
contact_phone | contact phone | phone | personal data |
Permissions
| Role | Can |
|---|---|
sfc:admin | read, create, update, delete |
sfc:verifier | read |
sfc:signatory | read |
sfc:printer | read |
sfc:dispatcher | read |
sfc:accounts | read |
sfc:student | read |
sfc:agent | read |
API
http
GET /api/sfc/service?<field>=<value>&limit=100&offset=0
POST /api/sfc/service
GET /api/sfc/service/:id
PATCH /api/sfc/service/:id
DELETE /api/sfc/service/:id