An AP 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 AP 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/ap-releasable-retainage/1"
}, - {
- "key": "2",
- "id": "2",
- "href": "/objects/construction/ap-releasable-retainage/2"
}, - {
- "key": "3",
- "id": "3",
- "href": "/objects/construction/ap-releasable-retainage/3"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified AP releasable retainage.
key required | string System-assigned unique key for the AP releasable retainage. Example: 195 |
OK
Bad Request
{- "ia::result": {
- "id": "1",
- "key": "1",
- "retainageBillLine": {
- "id": "1",
- "key": "1",
- "href": "/objects/accounts-payable/bill-line/1"
}, - "retainageBill": {
- "id": "15",
- "key": "15",
- "href": "/objects/accounts-payable/bill/15"
}, - "lineNumber": 1,
- "billLineAmount": "10000.00",
- "txnBillLineAmount": "10000.00",
- "amountRetained": "1000.00",
- "txnAmountRetained": "1000.00",
- "txnTotalReleased": "500.00",
- "txnAmountRemaining": "500.00",
- "documentLineKey": "14",
- "department": {
- "key": "9",
- "id": "Forecasting",
- "href": "/objects/company-config/department/9"
}, - "primaryDocument": {
- "key": "2",
- "id": "Subcontract-SUB-00002",
- "href": "/objects/order-entry/document/2"
}, - "primaryDocumentLine": {
- "key": "2",
- "id": "1--Subcontract",
- "href": "/objects/order-entry/document-line/2"
}, - "href": "/objects/construction/ap-releasable-retainage/1"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Use the query service to find AP 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
}
}