GET statements/{accountId}/files
Returns the downloading links of statements of accounts of the last 12 months
Request
URL parameters
Name | Description | Type | Additionnal Information | Intro version |
---|---|---|---|---|
accountId | Account unique identifier | bigint | Required |
Response
StatementsFilesName | Description | Type | Additionnal Information | Intro version |
---|---|---|---|---|
statement | Statement of account file list | Collection of StatementsFile | ||
returncode | Return code: 0 for success | integer | ||
returnmsg | Return message | string | ||
warnings | Warnings (the instruction worked but you need to pay attention to warnings. May cause partial data loss (Truncation)) | Collection of string | ||
version | API version | string |
Return format
application/json, text/json, application/x-www-form-urlencoded
Sample:
{ "statement": [ { "statementDate": "2024-11-18", "description_fr": "sample string 2", "description_en": "sample string 3", "downloadURL": "sample string 4" }, { "statementDate": "2024-11-18", "description_fr": "sample string 2", "description_en": "sample string 3", "downloadURL": "sample string 4" } ], "returncode": 1, "returnmsg": "sample string 2", "warnings": [ "sample string 1", "sample string 2" ], "version": "sample string 3" }
application/xml, text/xml
Sample:
<result returncode="1" returnmsg="sample string 2" version="sample string 3"> <warnings>sample string 1</warnings> <warnings>sample string 2</warnings> <statement statementDate="2024-11-18T23:39:47.9376559-05:00" description_fr="sample string 2" description_en="sample string 3" downloadURL="sample string 4" /> <statement statementDate="2024-11-18T23:39:47.9376559-05:00" description_fr="sample string 2" description_en="sample string 3" downloadURL="sample string 4" /> </result>