POST v1/updAccount

Метод для редагування акаунта.

Request Information

URI Parameters

None.

Body Parameters

AccountUpd
NameDescriptionTypeAdditional information
id

ID акаунта

integer

Required

name

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

string

Required

password

Пароль

string

Required

phone

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

string

Required

email

E-mail акаунта

string

None.

google

E-mail google

string

None.

deviceIDs

Collection of integer

Required

settings

Dictionary of integer [key] and Object [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "password": "sample string 3",
  "phone": "sample string 4",
  "email": "sample string 5",
  "google": "sample string 6",
  "deviceIDs": [
    1,
    2
  ],
  "settings": {
    "1": {},
    "3": {}
  }
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.