This call returns job costs for the specified job, effective date or start date.
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.
The specified resource is not found.
{- "jobId": "61300b34-5fc7-4271-a638-6af37ad1813b",
- "totalCost": 556867.4,
- "costCodeCosts": [
- {
- "costCodeId": "7261c280-1124-433f-abf8-b04f657cf5b4",
- "equipmentCost": 1000.5,
- "equipmentHours": 10.2,
- "laborCost": 2000.6,
- "laborHours": 25.3,
- "materialCost": 3000.1,
- "subcontractCost": 4000.6,
- "truckingCost": 300.5,
- "quantity": 100.6,
- "customCostTypeValues": [
- {
- "costCategoryCode": "HAUL",
- "costCategoryDescription": "Debris removal",
- "costCategoryId": "ea4d944a-a10f-46f8-984d-69673b47a994",
- "cost": 546565.1
}
]
}
]
}
This call returns a paginated list of job costs associated with a cost code for a specified cost code, effective date or start date.
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": [
- {
- "costCodeId": "caa64fa0-6ac7-4bb8-af0c-354ca3475338",
- "foremanId": "04d4e7ba-1793-45e0-bff1-df6d38f6bcfa",
- "date": "2019-12-13T00:00:00Z",
- "quantity": 10.5,
- "equipmentCost": 518,
- "equipmentHours": 7,
- "laborCost": 318.87,
- "laborHours": 8.75,
- "materialCost": 2,
- "subcontractCost": 3,
- "truckingCost": 4.5
}
], - "metadata": {
- "nextCursor": "gCpeihFB1whbiZt1qIf1TbhL8TPbeRP2"
}
}
This call returns a paginated list of costs and hours spent per cost code for the specified business unit, cost codes, jobs, foremen, or date range.
Set of filters for the request.
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.
{- "businessUnitId": "81aa06f2-46ec-457f-9b35-ae6e05d4dbef",
- "costCodeIds": [
- "5d05001a-acde-4203-a38c-684bb5f47a33"
], - "jobIds": [
- "565947f8-528c-4667-9351-8db02eab1157"
], - "jobTagIds": [
- "39bda327-ada0-4aab-ab03-a3fe621cc547"
], - "foremanIds": [
- "c28aee2e-6e0e-4c91-a82a-931417c12f9e"
], - "startDate": "2022-08-06T00:00:00",
- "endDate": "2022-08-06T00:00:00",
- "cursor": "gCpeihFB1whbiZt1qIf1TbhL8TPbeRP2",
- "limit": 500
}
{- "results": [
- {
- "costCodeId": "caa64fa0-6ac7-4bb8-af0c-354ca3475338",
- "foremanId": "04d4e7ba-1793-45e0-bff1-df6d38f6bcfa",
- "date": "2019-12-13T00:00:00Z",
- "quantity": 10.5,
- "equipmentCost": 518,
- "equipmentHours": 7,
- "laborCost": 318.87,
- "laborHours": 8.75,
- "materialCost": 2,
- "subcontractCost": 3,
- "truckingCost": 4.5
}
], - "metadata": {
- "nextCursor": "gCpeihFB1whbiZt1qIf1TbhL8TPbeRP2"
}
}
This call returns a paginated list of job costs.
The request object for getting job costs.
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.
{- "businessUnitId": "81aa06f2-46ec-457f-9b35-ae6e05d4dbef",
- "costCodeIds": [
- "5d05001a-acde-4203-a38c-684bb5f47a33"
], - "jobIds": [
- "565947f8-528c-4667-9351-8db02eab1157"
], - "jobTagIds": [
- "39bda327-ada0-4aab-ab03-a3fe621cc547"
], - "foremanIds": [
- "c28aee2e-6e0e-4c91-a82a-931417c12f9e"
], - "startDate": "2022-08-06T00:00:00",
- "endDate": "2022-08-06T00:00:00",
- "cursor": "gCpeihFB1whbiZt1qIf1TbhL8TPbeRP2",
- "limit": 500
}
{- "results": [
- {
- "job": {
- "jobId": "921fc6c2-2f7e-427f-8928-8f39258fc048",
- "jobCode": "Job1",
- "jobDescription": "Job1 in BU 1"
}, - "costCode": {
- "costCodeId": "821b1f09-fe76-4cb4-850f-a0f2d695ed5e",
- "costCodeCode": "cost code 1",
- "costCodeDescription": "cc1 desc"
}, - "foreman": {
- "employeeId": "f698213f-aa83-4851-b55d-c88baca6e3bd",
- "employeeCode": "Employee 1",
- "employeeFirstName": "James",
- "employeeLastName": "Smith"
}, - "entryType": "foreman",
- "date": "2019-12-12T00:00:00Z",
- "quantity": 0.25,
- "equipmentCost": 370,
- "equipmentHours": 5,
- "laborCost": 208.17,
- "laborHours": 6.25,
- "materialCost": 0,
- "subcontractCost": 0,
- "truckingCost": 0
}, - {
- "job": {
- "jobId": "921fc6c2-2f7e-427f-8928-8f39258fc048",
- "jobCode": "Job1",
- "jobDescription": "Job1 in BU 1"
}, - "costCode": {
- "costCodeId": "821b1f09-fe76-4cb4-850f-a0f2d695ed5e",
- "costCodeCode": "cost code 1",
- "costCodeDescription": "cc1 desc"
}, - "foreman": {
- "employeeId": "f698213f-aa83-4851-b55d-c88baca6e3bd",
- "employeeCode": "Employee 1",
- "employeeFirstName": "James",
- "employeeLastName": "Smith"
}, - "entryType": "foreman",
- "date": "2019-12-13T00:00:00Z",
- "quantity": 10.5,
- "equipmentCost": 518,
- "equipmentHours": 7,
- "laborCost": 318.87,
- "laborHours": 8.75,
- "materialCost": 2,
- "subcontractCost": 3,
- "truckingCost": 4.5
}
], - "metadata": {
- "nextCursor": "gCpeihFB1whbiZt1qIf1TbhL8TPbeRP2"
}
}
This call returns a paginated list of costs and hours spent per cost code for the specified business unit, cost codes, jobs, or foremen. You must request at least one of the following: businessUnitId, jobIds, jobTagIds, or costCodeIds.
Set of filters for the request.
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.
{- "businessUnitId": "214dd610-35bc-4504-9246-7073493e0400",
- "jobIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "jobTagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "foremanIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "costCodeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "costCodeTagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "cursor": "string",
- "limit": 0
}
{- "results": [
- {
- "job": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobCode": "string",
- "jobDescription": "string"
}, - "costCode": {
- "costCodeId": "ce2fe38c-f5a9-477c-ad3e-323596814295",
- "costCodeCode": "string",
- "costCodeDescription": "string"
}, - "foreman": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "employeeCode": "string",
- "employeeFirstName": "string",
- "employeeLastName": "string"
}, - "totalQuantity": 0,
- "reworkQuantity": 0,
- "totalEquipmentCost": 0,
- "totalEquipmentHours": 0,
- "totalLaborCost": 0,
- "totalLaborHours": 0,
- "totalMaterialCost": 0,
- "totalSubcontractCost": 0,
- "totalTruckingCost": 0
}
], - "metadata": {
- "nextCursor": "string"
}
}
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.
{- "businessUnitId": "81aa06f2-46ec-457f-9b35-ae6e05d4dbef",
- "costCodeIds": [
- "5d05001a-acde-4203-a38c-684bb5f47a33"
], - "jobIds": [
- "565947f8-528c-4667-9351-8db02eab1157"
], - "jobTagIds": [
- "39bda327-ada0-4aab-ab03-a3fe621cc547"
], - "foremanIds": [
- "c28aee2e-6e0e-4c91-a82a-931417c12f9e"
], - "startDate": "2022-08-06T00:00:00",
- "endDate": "2022-08-06T00:00:00",
- "cursor": "gCpeihFB1whbiZt1qIf1TbhL8TPbeRP2",
- "limit": 500
}
{- "results": [
- {
- "job": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobCode": "string",
- "jobDescription": "string"
}, - "costCode": {
- "costCodeId": "ce2fe38c-f5a9-477c-ad3e-323596814295",
- "costCodeCode": "string",
- "costCodeDescription": "string"
}, - "foreman": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "employeeCode": "string",
- "employeeFirstName": "string",
- "employeeLastName": "string"
}, - "entryType": "trueUp",
- "businessUnitCostType": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "businessUnitId": "214dd610-35bc-4504-9246-7073493e0400",
- "description": "string",
- "isDeleted": true
}, - "date": "2019-08-24T14:15:22Z",
- "cost": 0
}
], - "metadata": {
- "nextCursor": "string"
}
}
This list returns a list of cost code costs.
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.
{- "costCodeId": "7261c280-1124-433f-abf8-b04f657cf5b4",
- "equipmentCost": 1000.5,
- "equipmentHours": 10.2,
- "laborCost": 2000.6,
- "laborHours": 25.3,
- "materialCost": 3000.1,
- "subcontractCost": 4000.6,
- "truckingCost": 300.5,
- "quantity": 100.6,
- "customCostTypeValues": [
- {
- "costCategoryCode": "HAUL",
- "costCategoryDescription": "Debris removal",
- "costCategoryId": "ea4d944a-a10f-46f8-984d-69673b47a994",
- "cost": 546565.1
}
]
}
To adjust the trucking cost, use the associated custom cost type from the business unit preferences.
The cost.
Accepted
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.
{- "effectiveDate": "2019-01-01",
- "equipmentCost": 100.5,
- "equipmentHours": 150.2,
- "laborCost": 20220.6,
- "laborHours": 25.6,
- "materialCost": 300.1,
- "subcontractCost": 400.6,
- "quantity": 100.6,
- "customCostTypeValues": [
- {
- "costCategoryId": "a20517ce-113f-442d-9e7b-e1ee7c786d4d",
- "cost": 46565.1
}
]
}