Returns a list of custom cost type items for the specified business unit.
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.
[- {
- "id": "58236983-650d-4528-a9f3-f773a0366ecd",
- "businessUnitId": "07c00dc0-aecf-45bd-bf9e-74628188b3c7",
- "isDeleted": false,
- "costCategoryId": "7f23623b-e127-469d-a613-f9942d24e112",
- "code": "IF-Z",
- "description": "Import Fill"
}
]Creates a cost type item for the specified business unit.
The cost type item to create.
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.
{- "costCategoryId": "7f23623b-e127-469d-a613-f9942d24e112",
- "code": "CustomCostTypeItem1",
- "description": "Custom cost type item description"
}{- "id": "5561186e-0491-49de-9646-c4dede646375",
- "businessUnitId": "c94c60d5-ecce-4645-a5b0-b305b42ba74e",
- "isDeleted": false,
- "costCategoryId": "52b33d24-89c8-4810-a5a2-ab91b6eb6ab0",
- "code": "Custom-Z",
- "description": "Custom Fill"
}Updates an existing custom cost type item with the specified id.
The custom cost type item to be 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.
The specified resource is not found.
{- "costCategoryId": "7f23623b-e127-469d-a613-f9942d24e112",
- "code": "CustomCostTypeItem1",
- "description": "Custom cost type item description"
}Deletes a custom cost type item with the specified id.
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.
The specified resource is not found.
Returns a list of job custom cost type items.
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.
[- {
- "id": "035d0528-c9ae-4438-a669-a74d47284a3d",
- "code": "CCTI1",
- "jobId": "ad07638c-518f-4138-b3a2-39889ae5091d",
- "businessUnitCostType": {
- "id": "306e8b2a-fe5a-4567-ac3b-6f80d1f2d9ba",
- "code": "U",
- "businessUnitId": "0f48f039-3a1a-4dd1-b60e-4af518c65767",
- "description": "Supplies",
- "isDeleted": false
}, - "businessUnitCostTypeItem": {
- "isDeleted": false,
- "id": "610e82d8-4147-46b4-9b51-ac1c4b658696",
- "type": "customType",
- "code": "CCTI1",
- "description": "Custom Fill"
}, - "isDiscontinued": false,
- "isDeleted": false,
- "customCostTypeItemId": "082ee747-94ed-4a44-b206-2aeb257684c8",
- "description": "Custom Fill",
- "salesTaxPercent": 8.25,
- "unitCost": 20.3,
- "unitOfMeasure": "TON",
- "accountingCode": "CC-ACC"
}
]Creates a job custom cost type item on the specified job.
The job custom cost type item to be created.
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.
{- "customCostTypeItemId": "cbd3af49-7d59-4a48-a5f6-a5d523c8386b",
- "description": "Custom cost type item description",
- "salesTaxPercent": 7.5,
- "unitCost": 10.14,
- "unitOfMeasure": "FT",
- "accountingCode": "Acct Code"
}{- "customCostTypeItemId": "1c0ed890-b1f2-4cbf-8d29-9229f00f8595",
- "description": "string",
- "salesTaxPercent": 0,
- "unitCost": 0,
- "unitOfMeasure": "string",
- "accountingCode": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "heavyBidCode": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "businessUnitCostType": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "businessUnitId": "214dd610-35bc-4504-9246-7073493e0400",
- "description": "string",
- "isDeleted": true
}, - "businessUnitCostTypeItem": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "unknown",
- "code": "string",
- "description": "string",
- "isDeleted": true
}, - "isDiscontinued": true,
- "isDeleted": true
}Returns a job custom cost type item with the specified id.
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.
{- "customCostTypeItemId": "1c0ed890-b1f2-4cbf-8d29-9229f00f8595",
- "description": "string",
- "salesTaxPercent": 0,
- "unitCost": 0,
- "unitOfMeasure": "string",
- "accountingCode": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "heavyBidCode": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "businessUnitCostType": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "businessUnitId": "214dd610-35bc-4504-9246-7073493e0400",
- "description": "string",
- "isDeleted": true
}, - "businessUnitCostTypeItem": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "unknown",
- "code": "string",
- "description": "string",
- "isDeleted": true
}, - "isDiscontinued": true,
- "isDeleted": true
}Updates an existing job custom cost type item with the specified id.
The job custom cost type item to be 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.
The specified resource is not found.
{- "customCostTypeItemId": "cbd3af49-7d59-4a48-a5f6-a5d523c8386b",
- "description": "Custom cost type item description",
- "salesTaxPercent": 7.5,
- "unitCost": 10.14,
- "unitOfMeasure": "FT",
- "accountingCode": "Acct Code"
}Deletes the job custom cost type item with the specified id.
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.
The specified resource is not found.
Returns a list of installed custom cost type items.
The request object for getting installed custom cost type items.
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.
{- "jobIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "jobTagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "foremanIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "cursor": "string",
- "limit": 0,
- "businessUnitId": "214dd610-35bc-4504-9246-7073493e0400",
- "costCodeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "modifiedSince": "2019-08-24T14:15:22Z",
- "onlyTM": true
}{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "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"
}, - "date": "2019-08-24T14:15:22Z",
- "jobCustomCostTypeItemId": "5997e37f-1f9f-43d2-85ab-510b4f512322",
- "jobCustomCostTypeItem": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "legacyTypeCode": "string",
- "code": "string",
- "description": "string",
- "typeDescription": "string",
- "type": "unknown"
}, - "consumedQuantity": 0,
- "installedQuantity": 0,
- "consumedCost": 0,
- "unitOfMeasure": "string",
- "purchaseOrder": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string"
}, - "purchaseOrderItemId": "1dcac19c-bf9a-4a75-a291-f5e2fabfc5d7",
- "purchaseOrderId": "84a099d9-2935-4997-a6ac-0d3ee9bbef72",
- "referenceNumber": "string",
- "invoiceNumber": "string",
- "isInvoiced": true,
- "isTm": true,
- "vendor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string"
}, - "costCodeTransactionTags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "description": "string",
- "note": "string",
- "groupId": "eb54e96e-21b8-4f54-9cd4-80fccbd06f55",
- "groupCode": "string"
}
], - "lastModifiedDateTime": "2019-08-24T14:15:22Z",
- "lastModifiedPreciseDateTime": "2019-08-24T14:15:22Z",
- "loads": 0,
- "note": "string",
- "unitCost": 0,
- "salesTax": 0,
- "linkedReceivedCostTypeItemIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
], - "metadata": {
- "nextCursor": "string"
}
}Returns a list of received custom cost type items.
The request object for getting received custom cost type items.
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.
{- "jobIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "jobTagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "foremanIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "cursor": "string",
- "limit": 0,
- "modifiedSince": "2019-08-24T14:15:22Z",
- "businessUnitId": "214dd610-35bc-4504-9246-7073493e0400"
}{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "jobCustomCostTypeItem": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "legacyTypeCode": "string",
- "code": "string",
- "description": "string",
- "typeDescription": "string",
- "type": "unknown"
}, - "foreman": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "employeeCode": "string",
- "employeeFirstName": "string",
- "employeeLastName": "string"
}, - "job": {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobCode": "string",
- "jobDescription": "string"
}, - "businessUnitId": "214dd610-35bc-4504-9246-7073493e0400",
- "date": "2019-08-24T14:15:22Z",
- "referenceNumber": "string",
- "invoiceNumber": "string",
- "isInvoiced": true,
- "quantity": 0,
- "unitOfMeasure": "string",
- "purchaseOrder": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string"
}, - "purchaseOrderDetailId": "85558881-5978-47d4-9ba2-d0406f671a77",
- "vendor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string"
}, - "costCodeTransactionTags": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "description": "string",
- "note": "string",
- "groupId": "eb54e96e-21b8-4f54-9cd4-80fccbd06f55",
- "groupCode": "string"
}
], - "loads": 0,
- "note": "string",
- "unitCost": 0,
- "salesTax": 0,
- "linkedInstalledCostTypeItemIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
], - "metadata": {
- "nextCursor": "string"
}
}