GET v1/selAccounts

Метод для отримання всіх акаунтів клієнта

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Account
NameDescriptionTypeAdditional information
id

ID акаунта

integer

None.

name

Назва акаунта

string

None.

nameShort

Назва скорочена

string

None.

phone

Телефон акаунта

string

None.

email

E-mail акаунта

string

None.

google

Google e-mail акаунта

string

None.

isAdmin

Ознака акаунта адміністратора

boolean

None.

isDisabled

Ознака чи акаунт заблоковано системою

boolean

None.

isBlocked

Ознака чи акаунт заблоковано адміністратором

boolean

None.

clientID

ID клієнта

integer

None.

parentClientID

ID корпоративного клієнта

integer

None.

password

string

None.

clientName

Назва клієнта

string

None.

settings

Dictionary of integer [key] and Object [value]

None.

deviceIDs

Collection of integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2",
    "nameShort": "s2",
    "phone": "sample string 3",
    "email": "sample string 4",
    "google": "sample string 5",
    "isAdmin": true,
    "isDisabled": true,
    "isBlocked": true,
    "clientID": 9,
    "parentClientID": 1,
    "password": "c2FtcGxlIHN0cmluZyAxMA==",
    "clientName": "sample string 11",
    "settings": {
      "1": {},
      "3": {}
    },
    "deviceIDs": [
      1,
      2
    ]
  },
  {
    "id": 1,
    "name": "sample string 2",
    "nameShort": "s2",
    "phone": "sample string 3",
    "email": "sample string 4",
    "google": "sample string 5",
    "isAdmin": true,
    "isDisabled": true,
    "isBlocked": true,
    "clientID": 9,
    "parentClientID": 1,
    "password": "c2FtcGxlIHN0cmluZyAxMA==",
    "clientName": "sample string 11",
    "settings": {
      "1": {},
      "3": {}
    },
    "deviceIDs": [
      1,
      2
    ]
  }
]