Account ranges

Account ranges are used to define specific ranges of general ledger accounts. Account groups can include account ranges as group members, along with individual named accounts.

List account ranges

get/objects/general-ledger/account-range

Returns a collection with a key, ID, and link for each account range.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "57",
      • "id": "57",
      • "href": "/objects/general-ledger/account-range/130"
      },
    • {
      • "key": "58",
      • "id": "58",
      • "href": "/objects/general-ledger/account-range/132"
      },
    • {
      • "key": "59",
      • "id": "59",
      • "href": "/objects/general-ledger/account-range/133"
      }
    ],
  • "ia::meta": {
    • "totalCount": 3,
    • "start": 1,
    • "pageSize": 100,
    • "next": null,
    • "previous": null
    }
}

Get an account range

get/objects/general-ledger/account-range/{key}

Returns detailed information for a specified account range.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the account range.

Example: 178
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "id": "130",
    • "key": "130",
    • "glAccountGroup": {
      • "id": "Accounts Payable group",
      • "key": "33",
      • "href": "/objects/general-ledger/account-group/33"
      },
    • "sortOrder": 0,
    • "rangeFrom": "1000",
    • "rangeTo": "1501",
    • "audit": {
      • "createdDateTime": "2022-03-11T09:21:52Z",
      • "modifiedDateTime": "2022-03-11T09:21:52Z",
      • "createdBy": "1",
      • "modifiedBy": "1"
      },
    • "href": "/objects/general-ledger/account-range/130"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}