Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:sidebar:remoteapi:apiref:core:reset_password_request [23/01/2013 08:43]
127.0.0.1 external edit
en:sidebar:remoteapi:apiref:core:reset_password_request [31/07/2020 07:16]
chdi [Password reset request]
Line 1: Line 1:
 {{indexmenu_n>​16}} {{indexmenu_n>​16}}
-====== ​Запрос на изменение пароля ​====== +====== ​Password reset request ​====== 
-Чтобы послать запрос на смену пароляиспользуется команда ​**core/​reset_password_request**: ​+ 
 +To send a password reset requestuse the command ​**core/​reset_password_request**: ​
 <code javascript>​ <code javascript>​
 svc=core/​reset_password_request&​params={"​user":<​text>,​ svc=core/​reset_password_request&​params={"​user":<​text>,​
  "​url":<​text>,​  "​url":<​text>,​
- "​email":<​text>,​ + "​email":<​text>​}
- "​emailFrom":<​text>​}+
 </​code>​ </​code>​
  
-===== Параметры ​===== +Request execution is 1 time per 1 minute, in other case returns "​error":​11 - reason: "​REQUEST_TOO_OFTEN"​ 
-Название ​Описание ​+===== Parameters ​===== 
-| user | имя пользователя ​+Name Description ​
-| url | URL, который будет является частью ссылки,​ отправленной в сообщении в ответ за запрос смены пароля: <​url>?​user=<​login>&​passcode=<​passcode>​ (значение ​passcode ​см. [[reset_password_perform]])| +| user | user name 
-| email | e-mail ​пользователя | +| url | URL contained in the letter that will be sent to the user at password reset request: <​url>?​user=<​login>&​passcode=<​passcode>​ (the value of //passcode// see in [[reset_password_perform|]])| 
-| emailFrom | e-mail, с которого подтверждение будет отправлено ​|+| email | user e-mail |
  
-===== Возвращаемый результат ​=====+===== Response ​=====
 <​code=javascript>​ <​code=javascript>​
 { {
- "​error":​0 /​* ​запрос прошел успешно ​*/+ "​error":​0 /​* ​successful request ​*/
 } }
 </​code>​ </​code>​
-Также могут вернуться другие типы ошибокПолный список можно посмотреть в разделе ​[[../​errors/​errors|Возможные ошибки]]+Other types of errors may occurSee the full list in the chapter ​[[../​errors/​errors]].
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam