Account API - new Subaccount options

API Version 11.15

With the introduction of Subaccounts in the Chart of Accounts, we have added two new settings to the Account APIs:

GET /v1/account/{accountCd}
GET /v1/account

The options are disabled by default, so you will not receive any Subaccount information unless you set them to true.

includeSubaccount
Optional. Default false. If set to true, each account in the response includes it’s subaccount (subaccount).

includeSubaccountSegments
Optional. Default false. If set to true, the response includes each account’s subaccount together with it’s segments (segments), even if includeSubaccount is not set. Loading segments requires additional queries, so this option is disabled by default.