listGroupAccounts
GET /v5/books/{bookId}/groups/{id}/accounts
List the accounts of a group
Parameters
Path Parameters
The id of the book. Same bookId url param on Bkper
The group id or name
Responses
200
A AccountList response
object
List items
object
The id of agent that created the resource
Archived accounts are kept for history
The running balance of the account at the transaction date. Only present when the account is part of a transaction response filtered by account. NOT the current account balance. To get current balances, use the Balances endpoint: GET /books/{bookId}/balances
Whether the account balance has been verified/audited
The creation timestamp, in milliseconds
Credit nature or Debit otherwise
The groups of the account
object
The id of agent that created the resource
The creation timestamp, in milliseconds
Whether the group has credit nature
Whether the group has any accounts
Whether the group has any children groups
Whether the group is hidden on the transactions main menu
The unique id that identifies the Group in the Book
Whether the group is locked by the Book owner
Whether the group has mixed types of accounts
The name of the Group
The name of the Group, lowercase, without spaces or special characters
Whether the group is permanent
The key/value custom properties of the Group
object
The type of the accounts in the group. E.g. ASSET, LIABILITY, INCOMING, OUTGOING
The last update timestamp, in milliseconds
Example
{ "agentId": "string", "createdAt": "1592000000000", "credit": true, "hasAccounts": true, "hasGroups": true, "hidden": true, "id": "string", "locked": true, "mixed": true, "name": "string", "normalizedName": "string", "parent": null, "permanent": true, "properties": { "key": "value" }, "type": "ASSET", "updatedAt": "1592000000000"}Whether the account has any transactions posted
The unique id that identifies the Account in the Book
The name of the Account
The name of the Account, lowercase, without spaces or special characters
Permanent are such as bank accounts, customers or the like
The key/value custom properties of the Account
object
The type of the account
The last update timestamp, in milliseconds
Example
{ "agentId": "string", "archived": true, "balance": "string", "balanceVerified": true, "createdAt": "1592000000000", "credit": true, "groups": [ { "agentId": "string", "createdAt": "1592000000000", "credit": true, "hasAccounts": true, "hasGroups": true, "hidden": true, "id": "string", "locked": true, "mixed": true, "name": "string", "normalizedName": "string", "parent": null, "permanent": true, "properties": { "key": "value" }, "type": "ASSET", "updatedAt": "1592000000000" } ], "hasTransactionPosted": true, "id": "string", "name": "string", "normalizedName": "string", "permanent": true, "properties": { "key": "value" }, "type": "ASSET", "updatedAt": "1592000000000"}Example
{ "items": [ { "agentId": "string", "archived": true, "balance": "string", "balanceVerified": true, "createdAt": "1592000000000", "credit": true, "groups": [], "hasTransactionPosted": true, "id": "string", "name": "string", "normalizedName": "string", "permanent": true, "properties": { "key": "value" }, "type": "ASSET", "updatedAt": "1592000000000" } ]}