This call returns a list of pay items for the specified job.
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": "49779959-0c77-4b08-bb1e-5aba18825233",
- "jobId": "766161c0-916a-4a1c-b772-be665e6d609c",
- "payItem": "PI1",
- "description": "Pay Item 1",
- "status": "active",
- "ownerCode": "OWNER1",
- "contractQuantity": 253.5,
- "unitOfMeasure": "SF",
- "unitPrice": 10.25,
- "stopOverruns": true,
- "notes": "This is a pay item.",
- "linkedCostCodes": [
- {
- "payItemId": "49779959-0c77-4b08-bb1e-5aba18825233",
- "payItemFactor": 1.25,
- "isPayItemDriver": true,
- "costCodeId": "feba9270-acb8-498e-bc50-8bde0d237780",
- "costCodeCode": "CC1",
- "costCodeDescription": "Cost Code 1"
}
], - "isDeleted": false
}
], - "metadata": {
- "nextCursor": "gCpeihFB1whbiZt1qIf1TbhL8TPbeRP2"
}
}
The combination of jobId and pay item code must be unique.
The pay item code will be uppercased. The pay item code, description, owner code, and unit of measure will be trimmed.
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.
{- "jobId": "962e2370-fbe4-4123-b163-73e557b12ca9",
- "payItem": "PI1",
- "status": "active",
- "description": "Pay Item 1",
- "ownerCode": "OWNER1",
- "contractQuantity": 525,
- "unitOfMeasure": "SF",
- "unitPrice": 10.25,
- "stopOverruns": true,
- "notes": "This is a pay item for OWNER1."
}
{- "id": "49779959-0c77-4b08-bb1e-5aba18825233",
- "jobId": "766161c0-916a-4a1c-b772-be665e6d609c",
- "payItem": "PI1",
- "description": "Pay Item 1",
- "status": "active",
- "ownerCode": "OWNER1",
- "contractQuantity": 253.5,
- "unitOfMeasure": "SF",
- "unitPrice": 10.25,
- "stopOverruns": true,
- "notes": "This is a pay item.",
- "linkedCostCodes": [
- {
- "payItemId": "49779959-0c77-4b08-bb1e-5aba18825233",
- "payItemFactor": 1.25,
- "isPayItemDriver": true,
- "costCodeId": "feba9270-acb8-498e-bc50-8bde0d237780",
- "costCodeCode": "CC1",
- "costCodeDescription": "Cost Code 1"
}
], - "isDeleted": false
}
The pay item code will be uppercased. The pay item code, description, owner code, and unit of measure will be trimmed.
The pay items.
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.
[- {
- "status": "active",
- "description": "string",
- "ownerCode": "string",
- "contractQuantity": 0,
- "unitOfMeasure": "string",
- "unitPrice": 0,
- "stopOverruns": true,
- "notes": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "payItem": "string",
- "accountingCode": "string"
}
]
VOLATILE
The query parameters and responses are likely to change. Do not use this operation for mission-critical applications yet.
This call returns a list of pay items for the specified job.
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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "payItem": "string",
- "description": "string",
- "status": "active",
- "ownerCode": "string",
- "contractQuantity": 0,
- "revisedQuantity": 0,
- "toDateQuantity": 0,
- "unitOfMeasure": "string",
- "unitPrice": 0,
- "stopOverruns": true,
- "notes": "string",
- "linkedCostCodes": [
- {
- "costCodeId": "ce2fe38c-f5a9-477c-ad3e-323596814295",
- "costCodeCode": "string",
- "costCodeDescription": "string",
- "payItemId": "b2d8a764-f85b-4480-b0d8-9a597eeacb8a",
- "payItemFactor": 0,
- "isPayItemDriver": true,
- "payItemOrder": "string"
}
], - "isDeleted": true,
- "deletedDate": "2019-08-24T14:15:22Z",
- "modifiedSince": "2019-08-24T14:15:22Z",
- "accountingCode": "string"
}
], - "metadata": {
- "nextCursor": "string"
}
}
VOLATILE
The query parameters and responses are likely to change. Do not use this operation for mission-critical applications yet.
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.
{- "id": "49779959-0c77-4b08-bb1e-5aba18825233",
- "jobId": "766161c0-916a-4a1c-b772-be665e6d609c",
- "payItem": "PI1",
- "description": "Pay Item 1",
- "status": "active",
- "ownerCode": "OWNER1",
- "contractQuantity": 253.5,
- "unitOfMeasure": "SF",
- "unitPrice": 10.25,
- "stopOverruns": true,
- "notes": "This is a pay item.",
- "linkedCostCodes": [
- {
- "payItemId": "49779959-0c77-4b08-bb1e-5aba18825233",
- "payItemFactor": 1.25,
- "isPayItemDriver": true,
- "costCodeId": "feba9270-acb8-498e-bc50-8bde0d237780",
- "costCodeCode": "CC1",
- "costCodeDescription": "Cost Code 1"
}
], - "isDeleted": false
}
VOLATILE
The query parameters and responses are likely to change. Do not use this operation for mission-critical applications yet.
Updates all the cost codes on all pay items for a job
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.