POST
/
admin
/
designation
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
Designation data that needs to be added
name
string
Example:

"Designation Name"

hysform
string
Example:

"001"

emailset_id
integer
Example:

1

code
string
Example:

"D001"

client_id
string
Example:

"1"

Response

200
application/json
Successful operation
message
string
Example:

"Successfull"