Superadmin APIs/Master Data Catalogs
Create Document Type
POST
/superadmin/documenttypesBearer token required
SUPERADMINContent-Type:
application/jsonRequest Body
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Required | |
docFor | string | Required | USERDRIVERVEHICLE |
Request Example
JSON
{
"name": "Driver License",
"docFor": "DRIVER"
}Code Examples
curl -X POST 'https://<your-domain>:3001/superadmin/documenttypes' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Driver License",
"docFor": "DRIVER"
}'