Differences
This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
en:d-sdk:2_users:10_update_user [2018/04/23 16:20] info@geliossoft.ru created |
en:d-sdk:2_users:10_update_user [2018/04/24 21:51] support@geliossoft.ru |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | + | ====== Edit User ====== |
+ | The request is intended to edit information of the user account . | ||
- | ====== Редактирование пользователя ====== | + | === Request Example === |
- | Запрос предназначен для редактирования информации об учетной записи. | + | |
- | + | ||
- | === Пример запроса === | + | |
<code php>&svc=update_user¶ms={ | <code php>&svc=update_user¶ms={ | ||
"id":integer, | "id":integer, | ||
Line 26: | Line 24: | ||
}</code> | }</code> | ||
- | === Параметры === | + | === Parameters === |
- | ^ Параметр ^ Значение ^ | + | ^ Parameter ^ Description ^ |
- | | password | Пароль учетной записи. | | + | | password | User Password. | |
- | | is_admin | Устанавливает права администратора для учетной записи:\\ <code php>1 // Пользователь будет обладать правами администратора. | + | | is_admin | Sets administrator rights:\\ <code php>1 // User will have administrator rights. |
- | 0 // У пользователя не будет прав администратора.</code>| | + | 0 // User will not have administrator rights.</code>| |
- | | address_base | **Важно!** //Gelios Hosting использует собственную адресную базу и переключение не возможно. Настройка актуальна для Gelios Server.//\\ Устанавливает используемую адресную базу:\\ <code php>"Google" // Адресная база Google | + | | address_base | **IMPORTANT!** //Gelios Hosting uses its own address base and switching is impossible. The setting is relevant for Gelios Server.//\\ Sets the used address base:\\ <code php>"Google" // Google Address Base |
- | "Yandex" // Адресная база Yandex | + | "Yandex" // Yandex Address Base |
- | "Wialon" // Адресная база Wialon</code> | | + | "Wialon" // Wialon Address Base</code> | |
- | | email | Электронная почта учетной записи. | | + | | email | User Account Email | |
- | | phone | Телефонный номер учетной записи. | | + | | phone | User Account Phone Number. | |
- | | language | Язык интерфейса учетной записи. | | + | | language | Interface language of the user account | |
- | | creator | Владелец учетной записи. | | + | | creator | Creator of the User Account. | |
- | | location | Местоположение учетной записи. | | + | | location | User Account Location. | |
- | | legal_name | Название юридического лица учетной записи. | | + | | legal_name | Name of the legal entity of the user account. | |
- | | lat_lon | Координаты первоначального центрирования карты для учетной записи. | | + | | lat_lon | The coordinates of the initial centering of the card for the user account. | |
- | | cost_mode | Режим оплаты для учетной записи:\\ <code php>"units" // Ежемесячная абонентская плата | + | | cost_mode | Payment mode for the user account:\\ <code php>"units" // Monthly fee for all units |
- | "days" // Списывать дни | + | "days" // Cost by days |
- | "units_days" //Ежедневный платеж по активным объектам | + | "units_days" //Daily payment for active units |
- | "units_days_all" //Ежедневный платеж по всем объектам</code> | | + | "units_days_all" //Daily payment for all units</code> | |
- | | cost_unit | Стоимость объекта для учетной записи. Для ежемесячно абонентской платы указывается стоимость в месяц, при ежедневной оплате - стоимость в день. | | + | | cost_unit | Unit cost for user account. For a monthly fee for units is indicated the cost per month, with daily payment - the cost per day. | |
- | | currency | Валюта оплаты для учетной записи. | | + | | currency | Payment currency for user account. | |
- | | cost_day | Граница блокировки для типа оплаты "Списывать дни". | | + | | cost_day | Limit for payment type "Cost by days". | |
- | === Дополнительно === | + | === Additional Information=== |
- | Чтобы добавить "+" в номер телефона - %2B | + | To add "+" in phone number - %2B |
- | === Ответ сервера === | + | === Server Response === |
- | == Успешные изменения == | + | == Successful changes == |
<code php>{ | <code php>{ | ||
"result":true | "result":true | ||
}</code> | }</code> |