List ledgers

GET {{baseUrl}}/ledgers

Queries all ledgers.

Pagination options are available via the query parameters.

Allowed roles: VIEWER and EDITOR

Request Params

KeyDatatypeRequiredDescription
pageTokenstringThe pageToken parameter identifies a specific page in the result set that should be returned.
In an API response, the nextPageToken property identifies other pages that could be retrieved.
limitnumber(Optional query) Limit the number of results.

Accepts a positive integer between 1 and 100. Default: 100

Note that the sever may choose to ignore this parameter and use a lower value.

Example: 20 | | sort | string | | (Optional query) Sorting order |

HEADERS

KeyDatatypeRequiredDescription
tangany-versionnumber(Required) API version
Acceptstring

RESPONSES

status: OK

{"items":[{"id":"testing","label":"Production trade settlement ledger 1"},{"id":"testing","label":"Production trade settlement ledger 1"}],"nextPageToken":"NDg2ODg=","pageInfo":{"totalResults":12538048.471171722,"resultsPerPage":15771624.937420502}}