This call returns a list of job employees for the specified business unit, job or employee.
Success
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
{- "results": [
- {
- "id": "37bbda8f-8cc7-410d-af60-b816bc145a64",
- "businessUnitId": "2b7b8263-ea30-4932-b9ab-c9cb06f2f46b",
- "businessUnitCode": "manager",
- "jobId": "275aee00-8d59-4827-aeeb-6726fff95370",
- "jobCode": "sugar land job",
- "employeeId": "88796442-9f86-4f51-b17c-91d2880f8341",
- "employeeCode": "01-CHARLES, C",
- "employeeFirstName": "Charles",
- "employeeLastName": "Dowan",
- "defaultPayClassId": "343c6d3f-9f0c-4f5b-8050-febb06ac249f",
- "defaultPayClassCode": "OP-1",
- "defaultPayClassDescription": "Loader Operator",
- "assignedEquipmentId": "266643dc-dfe9-4e67-b76c-717a567a124f",
- "assignedEquipmentCode": "00.00DAWN",
- "assignedEquipmentDescription": "2017 Loader",
- "isActive": true,
- "costAdjustmentStatus": "none"
}
], - "metadata": {
- "nextCursor": "gCpeihFB1whbiZt1qIf1TbhL8TPbeRP2"
}
}
Either jobId or employeeId need to be provided
No Content
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
Note that passing a null value for defaultPayClassId or assignedEquipmentId will not null out and reset an already filled in value, since this is a PATCH request.
The list of job-employee relations to be created or updated.
No Content
Bad Request. See https://developer.hcssapps.com/getting-started/troubleshoot-bad-request for more information.
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
[- {
- "jobId": "275aee00-8d59-4827-aeeb-6726fff95370",
- "employeeId": "88796442-9f86-4f51-b17c-91d2880f8341",
- "defaultPayClassId": "343c6d3f-9f0c-4f5b-8050-febb06ac249f",
- "assignedEquipmentId": "266643dc-dfe9-4e67-b76c-717a567a124f"
}
]