Journal entry line templates

Template for journal entry lines.

List journal entry line templates.

get/objects/cash-management/journal-entry-line-template

Returns a collection with a key, ID, and link for each journal entry line template. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "1",
      • "id": "1",
      • "href": "/objects/cash-management/journal-entry-line-template/1"
      },
    • {
      • "key": "2",
      • "id": "2",
      • "href": "/objects/cash-management/journal-entry-line-template/2"
      },
    • {
      • "key": "7",
      • "id": "7",
      • "href": "/objects/cash-management/journal-entry-line-template/7"
      }
    ],
  • "ia::meta": {
    • "totalCount": 6,
    • "start": 1,
    • "pageSize": 100,
    • "next": null,
    • "previous": null
    }
}

Get a journal entry line template

get/objects/cash-management/journal-entry-line-template/{key}

Returns detailed information for a specified journal entry line template.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the journal entry line template.

Example: 106
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "key": "8",
    • "id": "8",
    • "journalEntryTemplate": {
      • "id": "9",
      • "key": "9",
      • "href": "/objects/cash-management/journal-entry-template/9"
      },
    • "dimensions": {
      • "location": {
        },
      • "department": {
        },
      • "project": {
        },
      • "customer": {
        },
      • "vendor": {
        },
      • "employee": {
        },
      • "item": {
        },
      • "class": {
        }
      },
    • "glAccount": {
      • "key": "207",
      • "id": "5001",
      • "name": "Construction",
      • "href": "/objects/general-ledger/account/207"
      },
    • "documentId": "doc 1",
    • "txnType": null,
    • "memo": null,
    • "allocation": {
      • "key": "2",
      • "id": "alloc-create-gl-from-UI"
      },
    • "numberOfUnits": null,
    • "exchangeRate": {
      • "date": null,
      • "typeId": null,
      • "rate": null
      },
    • "isBillable": false,
    • "href": "/objects/cash-management/journal-entry-line-template/8"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

Query journal entry line templates

post/services/core/query

Use the query service to find journal entry line templates that meet certain criteria and to specify the properties that are returned.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "ia::error": {
      • "code": "invalidRequest",
      • "message": "A POST request requires a payload",
      • "errorId": "REST-1028",
      • "additionalInfo": {
        },
      • "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
      }
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 0,
    • "totalError": 1
    }
}