Transaction allocation template lines define how allocations are distributed. Allocation template lines can only be added, updated, and deleted through the owning txn-allocation-template object.
Returns up to 100 transaction allocation template lines from the collection with a key, ID, and link for each one. This operation is mostly for use in testing; use the query service to find allocation template lines that meet specific criteria and to specify the properties that you want in the response.
OK
Bad Request
{- "ia::result": [
- {
- "key": "4",
- "id": "4",
- "href": "/objects/general-ledger/txn-allocation-template-line/1"
}, - {
- "key": "8",
- "id": "8",
- "href": "/objects/general-ledger/txn-allocation-template-line/1"
}, - {
- "key": "1",
- "id": "1",
- "href": "/objects/general-ledger/txn-allocation-template-line/2"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified transaction allocation template line.
key required | string System-assigned key for the transaction allocation template line. Example: 209856 |
OK
Bad Request
{- "ia::result": {
- "key": "8",
- "id": "8",
- "allocation": {
- "id": "Fixed amount allocation",
- "key": "3",
- "href": "/objects/general-ledger/txn-allocation-template/3"
}, - "valueType": "amount",
- "value": "100",
- "dimensions": {
- "location": {
- "id": "1",
- "name": "United States of America",
- "key": "1",
- "href": "/objects/company-config/location/1"
}, - "department": {
- "id": "11",
- "name": "Accounting",
- "key": "9",
- "href": "/objects/company-config/department/9"
}, - "project": {
- "key": "13",
- "id": "CO",
- "name": "Contract - Platinum - Modulus Industries",
- "href": "/objects/projects/project/13"
}, - "customer": {
- "key": "3",
- "id": "MI",
- "name": "Modulus Industries",
- "href": "/objects/accounts-receivable/customer/3"
}, - "vendor": {
- "key": "47",
- "id": "201",
- "name": "PG & E",
- "href": "/objects/accounts-payable/vendor/47"
}, - "employee": {
- "key": "2",
- "id": "2",
- "name": "Hatcher",
- "href": "/objects/company-config/employee/2"
}, - "item": {
- "key": "29",
- "id": "A001",
- "name": "Desktop-HP",
- "href": "/objects/inventory-control/item/29"
}, - "class": {
- "key": "6",
- "id": "4",
- "name": "Professional Services",
- "href": "/objects/company-config/class/6"
}, - "task": {
- "key": "1",
- "id": "T-001",
- "name": "Task-1",
- "href": "/objects/projects/task/1"
}, - "warehouse": {
- "key": "19",
- "id": "WareHouse10004",
- "name": "Warehouse Name 10004 (CN)",
- "href": "/objects/inventory-control/warehouse/19"
}
}, - "audit": {
- "createdDateTime": "2022-06-23T12:25:09Z",
- "modifiedDateTime": "2022-06-23T12:25:09Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "lineNumber": 1,
- "href": "/objects/general-ledger/txn-allocation-template-line/8"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}