curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/designation \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"name": "Designation Name",
"hysform": "001",
"emailset_id": 1,
"code": "D001",
"client_id": "1"
}
'{
"message": "Successfull"
}API key generated from Developer Settings. Format: hys_...
Designation data that needs to be added
Successful operation
"Successfull"
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/designation \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"name": "Designation Name",
"hysform": "001",
"emailset_id": 1,
"code": "D001",
"client_id": "1"
}
'{
"message": "Successfull"
}