curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/designation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Designation Name",
"hysform": "001",
"emailset_id": 1,
"code": "D001",
"client_id": "1"
}'
{
"message": "Successfull"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Designation data that needs to be added
The body is of type object
.
Successful operation
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/designation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Designation Name",
"hysform": "001",
"emailset_id": 1,
"code": "D001",
"client_id": "1"
}'
{
"message": "Successfull"
}