Account
list by type
request
GET /api/v2/departments/accounts?type=CASHLESS HTTP/1.1
Parameter | Description |
---|---|
|
Account type |
response
HTTP/1.1 200 OK
[ {
"id" : 1000000003,
"name" : "Расчетный"
} ]
Path | Type | Description |
---|---|---|
|
|
List of common accounts |
|
|
The account’s id |
|
|
The account’s name |
list types
request
GET /api/v2/accounts/types HTTP/1.1
response
HTTP/1.1 200 OK
[ {
"id" : "CASH",
"localName" : "Наличный"
}, {
"id" : "CASHLESS",
"localName" : "Безналичный"
} ]
Path | Type | Description |
---|---|---|
|
|
List of account types |
|
|
Id of the account type |
|
|
Localized name of the account type |