Line items in a contract expense template represent a single entry in an expense template. You create, update, and delete expense template line objects through operations on the owning contract expense template.
Returns up to 100 object references from the collection with a key, ID, and link for each contract expense template line. 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": "7",
- "id": "7",
- "href": "/objects/contracts/expense-template-line/7"
}
], - "ia::meta": {
- "totalCount": 1,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified contract expense template line.
key required | string System-assigned key for the contract expense template line. Example: 7 |
OK
Bad Request
{- "ia::result": {
- "key": "7",
- "contractExpenseTemplate": {
- "key": "37",
- "href": "/objects/contracts/expense-template/37"
}, - "periodOffset": "1",
- "percentToRecognize": "50.00000000",
- "href": "/objects/contracts/expense-template-line/7"
}, - "ia::meta": {
- "totalCount": 1
}
}
Use the query service to find expense template lines 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
}
}