On this Work Structure Grade page you can use the method :
1. GET
- Get List of Grades based on active parameter
Objective : To get a rank list based on the active parameter
Method : GET
API Endpoint : [[baseurl]]/api/integration/v1/grades?active=[[value]]
๐Notes Parameter [[value]] filled with “true” if the rank data is active or “false” if the rank data is not active.
HEADER
X-TenantID: [[tenantid]]
Authorization: Bearer [[accesstoken]]
CONSUME VIA CURL
curl --location --request GET '[[baseurl]]/api/integration/v1/grades?active=[[value]]'
--header 'X-TenantID: [[tenantid]]'
--header 'Authorization: Bearer [[accesstoken]]'
๐Notes To find out [[baseurl]], And [[tenantid]], You can learn about it on the page Integration Credential. And for [[accesstoken]] can be studied on the page Authorization Token.
API Response :
[
{
"id": "587d1e0a-929a-11eb-97ce-0adbcc9eaaa8",
"name": "Director/Partner",
"level": 9,
"active": true
},
{
"id": "587d1d38-929a-11eb-97ce-0adbcc9eaaa8",
"name": "Junior Manager/Senior Account Executive/Senior Consultant",
"level": 4,
"active": true
}
]