Draft
Return bank information and their balances
Method used: POST
Banks: /api/gfin/v1/Banks/Balances
Body parameters:
Attribute | Type | Description | Default |
---|---|---|---|
branches | array | system branches to be considered in the query | - |
banks | array | (optional) banks to be considered in the search | all |
inverted | logical | (optional) defines if the banks to be considered will have an inverted concept. If true, the banks received will be ignored in the search | false |
referenceDate | data | (optional) reference date of the bank balance | current date |
page | numeric | (optional) page number | 1 |
limit | numeric | (optional) limit of banks per page | all |
Example:body
body
body = |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="324ae702-5d77-4370-b62d-051d47dd00ef"><ac:plain-text-body><![CDATA[
"referenceDate": "2019-10-01", |
]]></ac:plain-text-body></ac:structured-macro>
Json Object
Attribute | Type | Description |
---|---|---|
items | Array | list of banks |
hasNext | Logical | true if there is a new page |
List of Fields
Attribute | Description |
---|---|
id | A6_COD |
agency | A6_AGENCIA |
account | A6_NUMCON |
name | A6_NOME |
balance | E8_SALATUA |
Example:response
response
{ |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="cdd5d7f4-c776-46d0-839f-6b2a306ce620"><ac:plain-text-body><![CDATA[
"hasNext": false, |
25 |
45 |
02 |
|