On this Work Structure Position page you can use the method :
1. GET
- Get List of Positions based on active parameter
Objective : To get a list of positions in the company based on active parameters
Method : GET
API Endpoint : [[baseurl]]/api/integration/v1/positions?active=[[value]]
๐Notes Parameter [[value]] filled with “true” if the position data on the company is active or “false” if the position data for the company is not active.
HEADER
X-TenantID: [[tenantid]]
Authorization: Bearer [[accesstoken]]
CONSUME VIA CURL
curl --location --request GET '[[baseurl]]/api/integration/v1/positions?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": "b6932e88-49fa-4a6a-88f3-1c419acd8609",
"name": "Analyst.Consultant - IG",
"parentOrganizationId": "5f4ea6f2-929a-11eb-97ce-0adbcc9eaaa8",
"parentOrganizationName": "Analyst/Jr. Consultant - Technology",
"organizationId": "53addfb0-929a-11eb-97ce-0adbcc9eaaa8",
"organizationName": "Business Consultant",
"locationId": "5a1ee844-929a-11eb-97ce-0adbcc9eaaa8",
"locationName": "IDS-Pelindo",
"jobId": "56cd5d50-929a-11eb-97ce-0adbcc9eaaa8",
"jobName": "Analyst/Jr. Consultant - Business Consultant & a",
"positionLevelId": "5d185c31-929a-11eb-97ce-0adbcc9eaaa8",
"positionLevelName": "Senior Manager",
"fte": 1,
"incumbent": 0,
"active": true
}
]