get https://dc1demogwext.paylocity.com/apiHub/payroll/v1/companies//employees//earnings//
Summary Description
This function will allow the API user to get details for a particular earning code that occurs in the past/present/future.
Response
Summary Description
This function will allow the API user to get details for a particular earning code that occurs in the past/present/future.
xxxxxxxxxx
curl --request GET \
--url https://dc1demogwext.paylocity.com/apiHub/payroll/v1/companies/companyId/employees/employeeId/earnings/earningCode/resourceId \
--header 'accept: application/json'
xxxxxxxxxx
40}
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"companyId": "string",
"employeeId": "string",
"code": "string",
"frequency": "string",
"selfInsured": true,
"recordType": "Current",
"amount": 0,
"rate": 0,
"calculationCode": "string",
"units": 0,
"rateCode": "string",
"agency": "string",
"miscellaneousInfo": "string",
"effectiveDate": "2025-04-07T23:12:35.338Z",
"beginCheckDate": "2025-04-07T23:12:35.338Z",
"endCheckDate": "2025-04-07T23:12:35.338Z",
"distribution": {
"jobCode": "string",
"costCenters": [
{
"level": 0,
"code": "string",
"additionalProp": {}