On an AP bill that has retainage, an AP retainage release is used to release that retainage for payment.
Returns up to 100 object references from the collection with a key, ID, and link for each AP retainage release object. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "1",
- "id": "1",
- "href": "/objects/construction/ap-retainage-release/1"
}, - {
- "key": "2",
- "id": "2",
- "href": "/objects/construction/ap-retainage-release/2"
}, - {
- "key": "3",
- "id": "3",
- "href": "/objects/construction/ap-retainage-release/3"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new AP retainage release with lines.
AP retainage release object to create.
description required | string Description of AP retainage release. Example: "October retainage release" | ||||||
releaseDate | string <date> Release date. Example: "2025-01-23" | ||||||
glPostingDate | string <date> GL posting date. Example: "2025-01-23" | ||||||
state | string Default: "draft" State. Example: "draft" | ||||||
object Vendor to whom the retainage is being released. | |||||||
| |||||||
object Project associated with the AP retainage release. | |||||||
| |||||||
Array of objects Array of AP retainage release lines. | |||||||
Array
|
Created
Bad Request
{- "id": "19",
- "description": "AP ret rel desc 101",
- "releaseDate": "2025-03-02",
- "glPostingDate": "2025-03-02",
- "state": "draft",
- "apRetainageReleaseLines": [
- {
- "txnAmountReleased": "123.00",
- "retainageBill": {
- "key": "232"
}, - "retainageBillLine": {
- "key": "803"
}
}
]
}
{- "ia::result": {
- "key": "4",
- "id": "4",
- "href": "/objects/construction/ap-retainage-release/4"
}, - "ia::meta": {
- "totalCount": 1
}
}
Returns detailed information for a specified AP retainage release.
key required | string System-assigned unique key for an AP retainage release. Example: 195 |
OK
Bad Request
{- "ia::result": {
- "id": "2",
- "key": "2",
- "description": "Release A-1 Electric retainage",
- "releaseDate": "2025-03-21",
- "glPostingDate": "2025-03-21",
- "state": "released",
- "audit": {
- "createdDateTime": "2025-04-04T00:00:00Z",
- "modifiedDateTime": "2025-04-04T00:00:00Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "entity": {
- "key": "46",
- "id": "CORP",
- "name": "Corp",
- "href": "/objects/company-config/entity/46"
}, - "apRetainageReleaseLines": [
- {
- "id": "2",
- "key": "2",
- "apRetainageRelease": {
- "id": "2",
- "key": "2",
- "href": "/objects/construction/ap-retainage-release/2"
}, - "purchasingDocument": {
- "key": "11",
- "id": "Subcontract Invoice-SUBINV#0106#doc",
- "href": "/objects/purchasing/document/11"
}, - "retainageBill": {
- "key": "1",
- "id": "SUBINV#0106#doc",
- "href": "/objects/accounts-payable/bill/1"
}, - "retainageBillLine": {
- "id": "1",
- "key": "1",
- "href": "/objects/accounts-payable/bill-line/1"
}, - "txnAmountReleased": "500.00",
- "releasedBill": {
- "key": "11",
- "id": "APRET-00002",
- "href": "/objects/accounts-payable/bill/11"
}, - "releasedBillLine": {
- "id": "45",
- "key": "45",
- "href": "/objects/accounts-payable/bill-line/45"
}, - "audit": {
- "createdDateTime": "2025-04-04T00:00:00Z",
- "modifiedDateTime": "2025-04-04T00:00:00Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "href": "/objects/construction/ap-retainage-release-line/2"
}
], - "href": "/objects/construction/ap-retainage-release/2"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing AP retainage release by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned unique key for an AP retainage release. Example: 195 |
description | string Description of AP retainage release. Example: "October retainage release" | ||||||
releaseDate | string <date> Release date. Example: "2025-01-23" | ||||||
glPostingDate | string <date> GL posting date. Example: "2025-01-23" | ||||||
state | string Default: "draft" State. Example: "draft" | ||||||
object Vendor to whom the retainage is being released. | |||||||
| |||||||
object Project associated with the AP retainage release. | |||||||
| |||||||
Array of objects Array of AP retainage release lines. | |||||||
Array
|
OK
Bad Request
{- "releaseDate": "2025-04-01",
- "glPostingDate": "2025-04-01"
}
{- "ia::result": {
- "key": "4",
- "id": "4",
- "href": "/objects/construction/ap-retainage-release/4"
}, - "ia::meta": {
- "totalCount": 1
}
}
Deletes an AP retainage release.
key required | string System-assigned unique key for an AP retainage release. Example: 195 |
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
}
}
Use the query service to find AP retainage releases that meet certain criteria and to specify the properties that are returned.
OK
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
}
}