Account

list by type

request
GET /api/v2/departments/accounts?type=CASHLESS HTTP/1.1
Table 8. request description
Parameter Description

type

Account type

response
HTTP/1.1 200 OK

[ {
  "id" : 1000000003,
  "name" : "Расчетный"
} ]
Table 9. response description
Path Type Description

[]

Array

List of common accounts

[].id

Number

The account’s id

[].name

String

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" : "Безналичный"
} ]
Table 10. response description
Path Type Description

[]

Array

List of account types

[].id

String

Id of the account type

[].localName

String

Localized name of the account type