Skip to content

Delivery / Dispatch ​

sfc.delivery · every change is kept in the audit log

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
applicationapplicationlink → sfc.applicationrequired
studentstudentlink → core.studentrequired
recipientrecipientlink → sfc.recipient
modemodeselectrequired; one of: Digital, Courier, Pickup
statusstatusselectone of: Ready, Dispatched, Delivered, Collected, Emailed, Failed; default "Ready"
courier_namecourier nametext
tracking_notracking notext
barcodebarcodetext
weightweighttext
addressee_nameaddressee nametextpersonal data
addressaddresslongtextpersonal data
citycitytext
districtdistricttext
statestatetext
pincodepincodetext
emailemailemailpersonal data
mobilemobilephonepersonal data
sender_mobilesender mobilephonepersonal data
collector_namecollector nametextpersonal data
collector_id_documentcollector id documentfilepersonal data
dispatched_atdispatched atdatetime
delivered_atdelivered atdatetime

Permissions ​

RoleCan
sfc:adminread, create, update, delete
sfc:dispatcherread, create, update
sfc:printerread
sfc:verifierread
sfc:studentread — only own rows (via student)

API ​

http
GET    /api/sfc/delivery?<field>=<value>&limit=100&offset=0
POST   /api/sfc/delivery
GET    /api/sfc/delivery/:id
PATCH  /api/sfc/delivery/:id
DELETE /api/sfc/delivery/:id

Edulab Bench developer documentation