Pada halaman Employee ini Anda dapat menggunakan metode :
1. GET
- Get list of Employees with optional parameters
Tujuan : Untuk mendapatkan daftar Karyawan dengan parameter opsional.
Method : GET
API Endpoint : [[baseurl]]/api/integration/v1/employee/employees
HEADER
X-TenantID: [[tenantid]]
Authorization: Bearer [[accesstoken]]
CONSUME VIA CURL
curl --location --request GET '[[baseurl]]/api/integration/v1/employee/employees'
--header 'X-TenantID: [[tenantid]]'
--header 'Authorization: Bearer [[accesstoken]]'
📝Notes Untuk mengetahui [[baseurl]], And [[tenantid]], Anda dapat mempelajarinya pada halaman Integration Credential. Dan untuk [[accesstoken]] dapat dipelajari pada halaman Authorization Token.
API Response :
[
{
"id": "582f3962-cf2f-4dfe-ae55-cce2c3feabf9",
"firstName": "Jack",
"middleName": null,
"lastName": "Bauer",
"bloodType": "A+",
"birthDate": "1988-01-01",
"birthPlace": "Jakarta",
"religion": "Buddhism",
"gender": "Male",
"maritalStatus": "Married",
"maritalDate": null,
"officeEmail": "[email protected]",
"personalEmail": null,
"mainPhone": "888888888888",
"otherPhone": null,
"nationalIdentifier": "9999999999999",
"familyCardNo": "99999999999",
"employeeTaxNo": "333333333333333",
"bpjsTkNo": "777777777",
"bpjsKesehatanNo": "6666666",
"taxType": "L",
"maritalTaxStatus": "K0",
"bankName": "BCA",
"bankBranchName": null,
"bankAccountNo": "5270000879",
"bankAccountName": "Jack Baeur",
"effectiveDate": "2022-02-16",
"active": false,
"employeeNo": "0321039",
"nickname": null,
"employment": {
"id": "9593f977-ec9a-4a2c-a57e-b86eff9c20e3",
"employeeNo": "0321039",
"companyId": "47daf235-929a-11eb-97ce-0adbcc9eaaa8",
"companyName": "PT. Data Analitika Indonesia",
"hireDate": "2021-05-01",
"enterpriseHireDate": "2021-05-01",
"type": "Permanent",
"periodStart": null,
"periodEnd": null,
"terminationDate": "2022-02-28",
"terminationReason": "Others",
"terminationNote": null,
"payThruDate": "2023-02-28"
},
"assignment": {
"id": "a88b2a63-1a8b-400e-a32e-fc5b90ce49d2",
"organizationId": "53addc5b-929a-11eb-97ce-0adbcc9eaaa8",
"organizationName": "Business Development",
"jobId": "56cd5242-929a-11eb-97ce-0adbcc9eaaa8",
"jobName": "Business Development",
"gradeId": "587d1b84-929a-11eb-97ce-0adbcc9eaaa8",
"gradeName": "Operational",
"locationId": "5a1eed4a-929a-11eb-97ce-0adbcc9eaaa8",
"locationName": "IDS-Maybank",
"positionId": "5f4ea2d0-929a-11eb-97ce-0adbcc9eaaa8",
"positionName": "Business Development",
"payrollGroupId": "41af8050-b382-480b-91c3-955a1c2a583f",
"payrollGroupName": "Dummy",
"attendanceGroupId": "e9363718-9296-11eb-97ce-0adbcc9eaaa8",
"attendanceGroupName": "National 5 Working Days",
"actionReason": null,
"actionType": "New Hire",
"managerEmploymentId": "b1794e99-929d-11eb-97ce-0adbcc9eaaa8",
"managerName": "Fredy",
"assignmentGroup": null,
"assignmentClassification": null,
"organizationLevelId": null,
"organizationLevelName": null,
"positionLevelId": "5d185b79-929a-11eb-97ce-0adbcc9eaaa8",
"positionLevelName": "Staff",
"locationGroupId": "e53d4b91-f065-4324-94b8-ef9dd9a7c3ee",
"locationGroupName": "Head Office"
}
}
]