Associate a project contract and its corresponding project contract lines with a project to capture a mix of billable details and include those details into your construction project billing.
Returns up to 100 object references from the collection with a key, ID, and link for each object. This operation is mostly for use in testing; use the query service to find objects that meet certain criteria and specify the properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "1",
- "id": "BTI-01",
- "href": "/objects/construction/project-contract/1"
}, - {
- "key": "2",
- "id": "BTI-02",
- "href": "/objects/construction/project-contract/2"
}
], - "ia::meta": {
- "totalCount": 2,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new project contract. You must specify a unique ID when creating a project contract unless document sequencing is configured, in which case the ID is auto-generated.
Project contract to create
name required | string Project contract name. Example: "CONTRACT-01 - NW Food Warehouse" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object Reference to an active project that this contract is associated with. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object Reference to the customer for the project contract. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
contractDate required | string <date> Contract date. Example: "2023-10-15" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
id | string Unique identifier of the project contract. Example: "CONTRACT-01" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
description | string Description of the project contract. Example: "NW Food Warehouse - Entry lobby renovation" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
object Project contract type. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object The architect contact on the project contract. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
isBillable | boolean Default: false Set to Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||
object Supporting document ID. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
object Calculated billing amounts. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
excludeFromWIPReporting | boolean Default: false Set to `true to exclude the contract from work-in-progress reports. Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||
scope | string Scope. Example: "Design" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
inclusions | string Inclusions. Example: "Original plan" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
exclusions | string Exclusions. Example: "Hardware accessories" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
terms | string Terms Example: "Standard terms and conditions" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Created
Bad Request
{- "id": "BTI-05",
- "name": "Berkeley Technology Inc - Contract 05",
- "project": {
- "id": "DIM - BTI"
}, - "customer": {
- "id": "BTI"
}, - "contractDate": "2023-09-30",
- "description": "Project contract for Berkeley Technology Inc",
- "architect": {
- "id": "Eberhardt"
}, - "projectContractType": {
- "id": "COM"
}, - "attachment": {
- "id": "pc-att-2"
}, - "isBillable": true,
- "scope": "Project scope only",
- "inclusions": "Per original contract",
- "exclusions": "Plumbing",
- "terms": "Per original contract",
- "schedule": {
- "scheduledStartDate": "2023-06-15",
- "actualStartDate": "2023-06-30",
- "scheduledCompletionDate": "2022-11-15",
- "revisedCompletionDate": "2023-12-15",
- "substantialCompletionDate": "2023-09-30",
- "actualCompletionDate": "2023-12-15",
- "noticeToProceedDate": "2023-05-30",
- "responseDueDate": "2023-06-05",
- "executedOnDate": "2023-06-01",
- "scheduleImpact": "NA"
}, - "internalReference": {
- "referenceNumber": "INT-01",
- "initiatedBy": {
- "id": "2"
}, - "verbalApprovalBy": {
- "id": "2"
}, - "issuedBy": {
- "id": "123"
}, - "issuedOnDate": "2023-05-30",
- "approvedBy": {
- "id": "1"
}, - "approvedOnDate": "2023-10-02",
- "signedBy": {
- "id": "Robert"
}, - "signedOnDate": "2023-05-31",
- "source": "NA",
- "sourceReferenceNumber": "REF-01"
}, - "externalReference": {
- "referenceNumber": "A23",
- "verbalApprovalBy": {
- "id": "Johnson"
}, - "approvedBy": {
- "id": "Jagadish"
}, - "approvedOnDate": "2023-11-03",
- "signedBy": {
- "id": "Modulus Industries"
}, - "signedOnDate": "2023-12-01"
}
}
{- "ia::result": {
- "key": "1",
- "id": "BTI-01",
- "href": "/objects/construction/project-contract/1"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified project contract.
key required | string System-assigned key for the project contract. Example: 44 |
OK
Bad Request
{- "ia::result": {
- "key": "1",
- "id": "BTI-01",
- "name": "Berkeley Technology Inc - Contract 01",
- "project": {
- "id": "DIM - BTI",
- "name": "Dimensions - Berkeley Technology Inc",
- "key": "1",
- "href": "/objects/projects/project/1"
}, - "location": {
- "id": "1",
- "name": "United States of America",
- "key": "1",
- "href": "/objects/company-config/location/1"
}, - "customer": {
- "id": "BTI",
- "name": "Berkeley Technology Inc",
- "key": "14",
- "href": "/objects/accounts-receivable/customer/14"
}, - "contractDate": "2023-05-15",
- "description": "BTI Project - Main lobby renovation contract",
- "projectContractType": {
- "id": "COM",
- "key": "2",
- "href": "/objects/construction/project-contract-type/2"
}, - "architect": {
- "id": "Eberhardt",
- "key": "12",
- "href": "/objects/company-config/contact/12"
}, - "isBillable": true,
- "attachment": {
- "id": "pc-att-2",
- "key": "7",
- "href": "/objects/company-config/attachment/7"
}, - "status": "active",
- "summary": {
- "totalPrice": "2810.65",
- "originalPrice": "1100.00",
- "revisionPrice": "210.65",
- "approvedChangePrice": "1500.00",
- "pendingChangePrice": "311.85",
- "otherPrice": "900.00",
- "forecastPrice": "750.00"
}, - "billing": {
- "billedPrice": "0.00",
- "totalBilledNetRetainage": "0.00",
- "percentBilled": "0.00",
- "percentBilledNetRetainage": "0.00",
- "totalRetainageHeld": "0.00",
- "totalRetainageReleased": "0.00",
- "retainageBalance": "0.00",
- "balanceToBill": "2810.65",
- "balanceToBillNetRetainage": "2810.65",
- "totalPaymentsReceived": "0.00",
- "netTotalBilled": "2810.65",
- "netTotalPaymentsReceived": "1000.00",
- "subtotalBilledAsTax": "0.00",
- "subtotalBilledAsDiscount": "0.00",
- "subtotalBilledAsCharge": "0.00",
- "lastApplicationNumber": "A-122"
}, - "excludeFromWIPReporting": false,
- "scope": "Project scope only",
- "inclusions": "Per original contract",
- "exclusions": "Plumbing",
- "terms": "Per original contract",
- "schedule": {
- "scheduledStartDate": "2023-06-15",
- "actualStartDate": "2023-06-30",
- "scheduledCompletionDate": "2022-11-15",
- "revisedCompletionDate": "2023-12-15",
- "substantialCompletionDate": "2023-09-30",
- "actualCompletionDate": "2023-12-15",
- "noticeToProceedDate": "2023-05-30",
- "responseDueDate": "2023-06-05",
- "executedOnDate": "2023-06-01",
- "scheduleImpact": "NA"
}, - "internalReference": {
- "referenceNumber": "INT-01",
- "initiatedBy": {
- "key": "2",
- "id": "2",
- "name": "Hatcher",
- "href": "/objects/company-config/employee/2"
}, - "verbalApprovalBy": {
- "key": "2",
- "id": "2",
- "name": "Hatcher",
- "href": "/objects/company-config/employee/2"
}, - "issuedBy": {
- "key": "25",
- "id": "123",
- "name": "Marquess",
- "href": "/objects/company-config/employee/25"
}, - "issuedOnDate": "2023-05-30",
- "approvedBy": {
- "key": "1",
- "id": "1",
- "name": "Reser",
- "href": "/objects/company-config/employee/1"
}, - "approvedOnDate": "2023-10-02",
- "signedBy": {
- "key": "32",
- "id": "Robert",
- "name": "Robert",
- "href": "/objects/company-config/employee/32"
}, - "signedOnDate": "2023-05-31",
- "source": "NA",
- "sourceReferenceNumber": "REF-01"
}, - "externalReference": {
- "referenceNumber": "A23",
- "verbalApprovalBy": {
- "key": "6",
- "id": "Johnson",
- "href": "/objects/company-config/contact/6"
}, - "approvedBy": {
- "key": "69",
- "href": "/objects/company-config/contact/69"
}, - "approvedOnDate": "2023-11-03",
- "signedBy": {
- "key": "200",
- "id": "Modulus Industries",
- "href": "/objects/company-config/contact/200"
}, - "signedOnDate": "2023-12-01"
}, - "audit": {
- "modifiedDateTime": "2022-01-19T00:00:00Z",
- "createdDateTime": "2023-12-01T00:00:00Z",
- "modifiedBy": "1",
- "createdBy": "1"
}, - "href": "/objects/construction/project-contract/1"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing project contract by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned key for the project contract. Example: 44 |
name | string Project contract name. Example: "CONTRACT-01 - NW Food Warehouse" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
object Reference to an active project that this contract is associated with. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object Reference to the customer for the project contract. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
contractDate | string <date> Contract date. Example: "2023-10-15" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
description | string Description of the project contract. Example: "NW Food Warehouse - Entry lobby renovation" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
object Project contract type. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object The architect contact on the project contract. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
isBillable | boolean Default: false Set to Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||
object Supporting document ID. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
object Calculated billing amounts. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
excludeFromWIPReporting | boolean Default: false Set to `true to exclude the contract from work-in-progress reports. Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||
scope | string Scope. Example: "Design" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
inclusions | string Inclusions. Example: "Original plan" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
exclusions | string Exclusions. Example: "Hardware accessories" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
terms | string Terms Example: "Standard terms and conditions" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
OK
Bad Request
{- "name": "Berkeley Technology Inc - Contract 05[Revised]",
- "contractDate": "2023-10-15",
- "description": "BTI Project - Main lobby renovation contract",
- "scope": "Project scope only [updated]",
- "inclusions": "Per original contract [updated]",
- "exclusions": "Plumbing [updated]",
- "terms": "Per revised contract",
- "schedule": {
- "scheduledStartDate": "2023-11-15",
- "scheduledCompletionDate": "2022-11-15"
}, - "internalReference": {
- "signedBy": {
- "id": "Robert"
}, - "signedOnDate": "2023-10-15"
}, - "projectContractType": {
- "id": "COM"
}
}
{- "ia::result": {
- "key": "1",
- "id": "BTI-01",
- "href": "/objects/construction/project-contract/1"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a project contract.
key required | string System-assigned key for the project contract. Example: 44 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}