Appearance
Agent
sfc.agent · every change is kept in the audit log
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
user | user | link → core.user | required; unique |
company_name | company name | text | |
gst_number | gst number | text | |
pan | pan | text | personal data |
registration_document | registration document | file | personal data |
verified | verified | check | default false |
Permissions
| Role | Can |
|---|---|
sfc:admin | read, create, update, delete |
sfc:agent | read, create, update — only own rows (via user) |
API
http
GET /api/sfc/agent?<field>=<value>&limit=100&offset=0
POST /api/sfc/agent
GET /api/sfc/agent/:id
PATCH /api/sfc/agent/:id
DELETE /api/sfc/agent/:id