Position

Pada halaman Work Structure Position ini Anda dapat menggunakan metode :

1. GET
  • Get List of Positions based on active parameter

Tujuan : Untuk mendapatkan daftar posisi pada perusahaan berdasarkan parameter active

Method : GET
API Endpoint : [[baseurl]]/api/integration/v1/positions?active=[[value]]

๐Ÿ“Catatan Parameter [[value]] diisi dengan “true” jika data posisi pada perusahaan tersebut aktif atau “false” jika data posisi pada perusahaan tersebut tidak aktif.

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]]'

๐Ÿ“Catatan Untuk mengetahui [[baseurl]], dan [[tenantid]], Anda dapat mempelajarinya pada halaman Integration Credential. Dan untuk [[accesstoken]] dapat dipelajari pada halaman 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
  }
]