Get report result
GET {{baseUrl}}/reports/:reportId/results/:resultId
Use this endpoint to download a report file.
The response format depends on the report configuration.
This endpoint will respond with a 409 Conflict
response if a given report has not yet been fully processed.
Example response: ```http-client GET https://api.tangany.com/settlement/reports/clb_nighlty/results/2022-10-10T10:15Z
200 OK Content-Type: text/csv Content-Encoding: gzip ...
accountId,assetId,bookingBalance,availableBalance 109669cc-7c9c-431e,BTC,4.58989506,4.58989506 109669cc-7c9c-431e,ETH,0.00743964,0.00743964 506abd94-75b9-490e,BTC,4.58989506,0 490e-baf5-33cacc5d,DOGE,0.29421583,0.29421583 ```
gzip
compression is supported. Make sure your client sends the Accept-Encoding: gzip
header to take advantage of the response compression.
Allowed roles: VIEWER
and EDITOR
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
tangany-version | number | (Required) API version | |
Accept | string |
RESPONSES
status: OK
[{"accountId":"109669cc-7c9c-431e","balances":{"BTC":{"availableBalance":"4.58989506","bookedBalance":"4.58989506"},"ETH":{"availableBalance":"0.00743964","bookedBalance":"0.00743964"}}},{"accountId":"506abd94-75b9-490e","balances":{"BTC":{"availableBalance":"0","bookedBalance":"4.58989506"}}}]