DEPRECATED Please use the endpoint "/api/v1/vendorContracts"
This call returns a list of vendor contracts 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.
[- {
- "id": "e2564621-aa1c-4d67-98d5-35f097c18345",
- "jobId": "903d1670-5164-4eb3-b165-2163e11d287c",
- "orderStatus": "inProgress",
- "dateIssued": "2019-01-01",
- "vendorName": "Smith Company",
- "vendorDescription": "Smith & Sons Contracting Company",
- "vendorContract": "VC2",
- "description": "Unassigned Subcontracts",
- "vendorId": "48388ca5-5175-4f7c-825e-200d781ad570"
}
]
The vendor contract 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.
{- "vendorContract": "VCConcrete",
- "orderStatus": "inProgress",
- "dateIssued": "2019-01-01",
- "description": "Subcontract for concrete pour",
- "vendorId": "563a5017-2405-4c07-85d3-518caae7d374"
}
{- "id": "eb918b91-acac-4498-9db8-35248ebb1bce",
- "jobId": "d805eafa-bcd2-41a9-9f82-264cd2d6a104",
- "orderStatus": "inProgress",
- "dateIssued": "2019-01-01",
- "vendorName": "Smith Company",
- "vendorDescription": "Smith & Sons Contracting Company",
- "vendorContract": "VCConcrete",
- "description": "Subcontract for concrete pour",
- "vendorId": "563a5017-2405-4c07-85d3-518caae7d374"
}
This call returns a list of vendor contracts for a specified job, business unit, vendor contract or modified since 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": [
- {
- "id": "98ba5148-da4b-4a70-b8cc-183b173b0fb1",
- "jobId": "bc66ef22-ed8b-4c6b-b9d2-3aca86e684ce",
- "job": {
- "jobId": "bc66ef22-ed8b-4c6b-b9d2-3aca86e684ce",
- "jobCode": "Job1",
- "jobDescription": "Job1 in BU 1"
}, - "vendorContract": "VC-1",
- "description": "Vendor Contract 1",
- "orderStatus": "inProgress",
- "dateIssued": "2022-09-20",
- "vendorId": "719d406e-ceb5-4618-820a-167af0d9d1ca",
- "vendor": {
- "id": "719d406e-ceb5-4618-820a-167af0d9d1ca",
- "name": "Vendor1 Name",
- "description": "Vendor 1"
}, - "isDeleted": false
}
], - "metadata": {
- "nextCursor": "gCpeihFB1whbiZt1qIf1TbhL8TPbeRP2"
}
}
This call updates an existing vendor contract by its id. Cancelling a vendor contract is not supported yet.
The vendor contract details 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.
{- "orderStatus": "inProgress",
- "dateIssued": "2019-01-01",
- "description": "Subcontract for concrete pour",
- "vendorContract": "VCConcrete",
- "vendorId": "563a5017-2405-4c07-85d3-518caae7d374"
}
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": "70d6d634-66c6-45d2-8b79-a6a5276ec88f",
- "vendorContractId": "15d98e0f-9b7d-423d-ad51-24394749a6d3",
- "jobSubcontractId": "dd27f2a2-3061-44bc-9b08-1b1cae6fed9c",
- "sequence": 10.1,
- "isComplete": false,
- "note": "Note 1",
- "quantity": 100.5,
- "unitCost": 10.5,
- "unitOfMeasure": "EA",
- "salesTaxPercent": 8.25,
- "isCancelled": false,
- "alternateDescription": "alt description",
- "vendorItemNumber": "180.00.1"
}
]
This call creates a new vendor contract detail.
The vendor contract detail 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.
{- "jobSubcontractId": "943b4d54-a063-4587-8241-69877ab20ed0",
- "sequence": 15.5,
- "note": "Vendor contract detail note",
- "quantity": 245.5,
- "unitCost": 14.75,
- "unitOfMeasure": "TON",
- "salesTaxPercent": 10.25,
- "isCancelled": false,
- "alternateDescription": "Alternate description",
- "vendorItemNumber": "VCI-1",
- "isComplete": false
}
{- "id": "70d6d634-66c6-45d2-8b79-a6a5276ec88f",
- "vendorContractId": "15d98e0f-9b7d-423d-ad51-24394749a6d3",
- "jobSubcontractId": "dd27f2a2-3061-44bc-9b08-1b1cae6fed9c",
- "sequence": 20.1,
- "isComplete": false,
- "note": "Note 1",
- "quantity": 100.5,
- "unitCost": 10.5,
- "unitOfMeasure": "EA",
- "salesTaxPercent": 8.25,
- "isCancelled": false,
- "alternateDescription": "alt5",
- "vendorItemNumber": "180.00.5"
}
This call returns a list of vendor contract items for the specified job, business unit, vendor contract, and modified since 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": [
- {
- "id": "5b682097-2fd9-4e84-b748-3ee7ccb552d1",
- "vendorContractId": "62e17f59-a998-47ac-a486-f3dd5fe422d4",
- "jobSubcontractItemId": "ed3c99f6-b0d6-42ca-a738-82d93debb279",
- "subcontractItem": {
- "id": "b4740609-63fd-4f8e-8e0e-f77a8d15ef55",
- "code": "SUB1",
- "description": "Subcontract Item 1"
}, - "sequence": 10.5,
- "isCompleted": false,
- "note": "VCI-1",
- "description": "Vendor Contract Item 1",
- "quantity": 250,
- "unitCost": 25.15,
- "unitOfMeasure": "SF",
- "salesTaxPercent": 10.25,
- "isCancelled": false,
- "isDeleted": false,
- "vendorItemNumber": "VI-1"
}
], - "metadata": {
- "nextCursor": "gCpeihFB1whbiZt1qIf1TbhL8TPbeRP2"
}
}
This call updates an existing vendor contract detail by its id. Currently, update is limited to IsCompleted field only.
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.
{- "isComplete": true
}