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.
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 a customer | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
contractDate required | string <date> Contract date Example: "2023-10-15" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
id | string Unique identifier of the 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. Example: "CONTRACT-01" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||
description | string Description Example: "NW Food Warehouse - Entry lobby renovation" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
object Reference to a project contract type | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object Reference to an architect contact | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
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 Billing | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
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"
}, - "verbalBy": {
- "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",
- "verbalBy": {
- "name": "Johnson"
}, - "approvedBy": {
- "name": "Jagadish"
}, - "approvedOnDate": "2023-11-03",
- "signedBy": {
- "name": "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. |
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"
}, - "verbalBy": {
- "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",
- "verbalBy": {
- "key": "6",
- "name": "Johnson",
- "href": "/objects/company-config/contact/6"
}, - "approvedBy": {
- "key": "69",
- "name": "Jagadish",
- "href": "/objects/company-config/contact/69"
}, - "approvedOnDate": "2023-11-03",
- "signedBy": {
- "key": "200",
- "name": "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. |
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 a customer | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
contractDate | string <date> Contract date Example: "2023-10-15" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
description | string Description Example: "NW Food Warehouse - Entry lobby renovation" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
object Reference to a project contract type | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
object Reference to an architect contact | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
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 Billing | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
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. |
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
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "construction/project-contract" | ||||||||
fields | Array of strings List of fields to include in the response. Can be any combination of these:
Example: ["key","id","max:vendor.creditLimit"] | ||||||||
Array of equal (object) or not equal (object) or less than (object) or (less than or equal (object)) or greater than (object) or (greater than or equal (object)) or in (object) or not in (object) or between (object) or not between (object) or contains (object) or does not contain (object) or starts with (object) or does not start with (object) or ends with (object) or does not end with (object) Filter conditions to select the objects to return based on their field values. You use operators and conditions to build your filter, such as Example: [{"$eq":{"status":"active"}},{"$gt":{"totalDue":"1000"}},{"$contains":{"name":"Acme"}}] | |||||||||
Array Any of: Field value must be equal to this specified value. For date fields, you can use these macro values that are relative to the current date or the
These are most useful for queries that you want to save and use repeatedly, such as for views or reports. Just change the For example,
| |||||||||
filterExpression | string Default: "and" Logical operators to apply when there are multiple filter conditions. The conditions in the Shortcuts:
Example: "(1 and 2) or 3" | ||||||||
| |||||||||
Array of objects Set the order of the results by specifying field names to sort by and whether they should be in ascending or descending order. Example: [{"totalDue":"asc"},{"lastPaymentMadeDate":"desc"}] | |||||||||
Array
| |||||||||
start | integer First record of the result set to include in the response. Example: 1 | ||||||||
size | integer Number of records to include in the response. Example: 100 |
OK
Bad Request
{- "object": "accounts-payable/vendor",
- "fields": [
- "id",
- "name",
- "status",
- "href"
], - "filters": [
- {
- "$eq": {
- "status": "active"
}
}, - {
- "$eq": {
- "billingType": "openItem"
}
}
], - "filterExpression": "1 and 2",
- "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "id": "Vend-00002",
- "name": "Test vendor",
- "status": "active",
- "href": "/objects/accounts-payable/vendor/85"
}, - {
- "id": "VEND-00010",
- "name": "Design Works",
- "status": "active",
- "href": "/objects/accounts-payable/vendor/111"
}
], - "ia::meta": {
- "totalCount": 2,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}