An AR releasable retainage has information about which records can be released.
Returns up to 100 object references from the collection with a key, ID, and link for each AR releasable retainage 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/ar-releasable-retainage/1"
}, - {
- "key": "2",
- "id": "2",
- "href": "/objects/construction/ar-releasable-retainage/2"
}, - {
- "key": "3",
- "id": "3",
- "href": "/objects/construction/ar-releasable-retainage/3"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified AR releasable retainage.
key required | string System-assigned unique key for the AR releasable retainage. Example: 2902 |
OK
Bad Request
{- "ia::result": {
- "id": "2902",
- "key": "2902",
- "retainageInvoiceLine": {
- "id": "2902",
- "key": "2902",
- "href": "/objects/accounts-receivable/invoice-line/2902"
}, - "retainageInvoice": {
- "id": "450",
- "key": "450",
- "href": "/objects/accounts-receivable/invoice/450"
}, - "lineNumber": 3,
- "invoiceLineAmount": "188220.00",
- "txnInvoiceLineAmount": "188220.00",
- "amountRetained": "18822.00",
- "txnAmountRetained": "18822.00",
- "txnTotalReleased": "0.00",
- "txnAmountRemaining": "18822.00",
- "documentLineKey": "1199",
- "department": {
- "key": "9",
- "id": "Maintenance",
- "href": "/objects/company-config/department/9"
}, - "location": {
- "key": "1",
- "id": "1",
- "href": "/objects/company-config/location/1"
}, - "projectContract": {
- "id": "ST-001",
- "key": "16",
- "href": "/objects/construction/project-contract/16"
}, - "projectContractLine": {
- "id": "Concrete",
- "key": "29",
- "href": "/objects/construction/project-contract-line/29"
}, - "href": "/objects/construction/ar-releasable-retainage/2902"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Use the query service to find AR releasable retainages 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
}
}