Pada halaman Employee Competencies ini Anda dapat menggunakan metode :
1. GET
- Get detail Employee Competencies with employeeNo parameter
Tujuan : Untuk mendapatkan detail kompetensi dari Karyawan dengan parameter employeeNo
Method : GET
API Endpoint : [[baseurl]]/api/integration/v1/employee/competencies?active=[[value]]&employeeNo=[[employeenumber]]
๐Catatan Parameter [[value]] diisi dengan “true” jika data karyawan tersebut aktif atau “false” jika data karyawan tersebut tidak aktif. Dan parameter [[employeenumber]] diisi dengan nomor karyawan yang diinginkan.
HEADER
X-TenantID: [[tenantid]]
Authorization: Bearer [[accesstoken]]
CONSUME VIA CURL
curl --location --request GET '[[baseurl]]/api/integration/v1/employee/competencies?active=[[value]]&employeeNo=[[employeenumber]]'
--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 :
[
{
"employeeId": "eba2b46b-929c-11eb-97ce-0adbcc9eaaa8",
"employeeNo": "1219003",
"details": [
{
"id": "93c263da-ca64-11eb-9420-560003594849",
"name": "Betrayal of Trust",
"description": "Betrayal of Trust",
"ratingId": "8f813da3-ca60-11eb-9420-560003594849",
"ratingName": "4",
"active": true
},
{
"id": "92a611f1-ca64-11eb-9420-560003594849",
"name": "Business Acumen",
"description": "Business Acumen",
"ratingId": "8f85321c-ca60-11eb-9420-560003594849",
"ratingName": "5",
"active": true
},
{
"id": "93a7f107-ca64-11eb-9420-560003594849",
"name": "Work/Life Balance",
"description": "Work/Life Balance",
"ratingId": "8f893a30-ca60-11eb-9420-560003594849",
"ratingName": "6",
"active": true
},
{
"id": "92959d63-ca64-11eb-9420-560003594849",
"name": "Action Oriented",
"description": "Action Oriented",
"ratingId": "8f7d43e8-ca60-11eb-9420-560003594849",
"ratingName": "3",
"active": true
},
{
"id": "9319c1bf-ca64-11eb-9420-560003594849",
"name": "Listening",
"description": "Listening",
"ratingId": "8f7d43e8-ca60-11eb-9420-560003594849",
"ratingName": "3",
"active": true
},
{
"id": "92b612a9-ca64-11eb-9420-560003594849",
"name": "Command Skills",
"description": "Command Skills",
"ratingId": "8f85321c-ca60-11eb-9420-560003594849",
"ratingName": "5",
"active": true
},
{
"id": "929990ad-ca64-11eb-9420-560003594849",
"name": "Dealing with Ambiguity",
"description": "Dealing with Ambiguity",
"ratingId": "8f85321c-ca60-11eb-9420-560003594849",
"ratingName": "5",
"active": true
},
{
"id": "929e227c-ca64-11eb-9420-560003594849",
"name": "Approachability",
"description": "Approachability",
"ratingId": "8f794bb0-ca60-11eb-9420-560003594849",
"ratingName": "2",
"active": true
},
{
"id": "938ef17b-ca64-11eb-9420-560003594849",
"name": "Building Effective Teams",
"description": "Building Effective Teams",
"ratingId": "8f85321c-ca60-11eb-9420-560003594849",
"ratingName": "5",
"active": true
},
{
"id": "92a20ffd-ca64-11eb-9420-560003594849",
"name": "Boss Relationships",
"description": "Boss Relationships",
"ratingId": "8f7d43e8-ca60-11eb-9420-560003594849",
"ratingName": "3",
"active": true
}
]
}
]