Body:
-
period? ([string, string]): Період — кортеж з двох дат у ISO 8601 (UTC)
- [0] (string): Початок періоду
- [1] (string): Кінець періоду
Response:
{
"success": true,
"data": {
"currency": {
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "…"
},
"totalBalance": 1,
"cashRegistersBalance": 1,
"bankAccountsBalance": 1,
"bankAccounts": [
{
"account": {
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "…"
},
"currency": {
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "…"
},
"amount": 1,
"amountInCurrency": 1
}
],
"cashRegisters": [
{
"account": {
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "…"
},
"currency": {
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "…"
},
"amount": 1,
"amountInCurrency": 1
}
]
}
}