POST api/user/RememberMessage
Отправка кода подтверждения пользователю ЛК для смены/получения пароля от ЛК
Request Information
URI Parameters
None.
Body Parameters
RememberMessageRequestName | Description | Type | Additional information |
---|---|---|---|
SourceUrl |
Источник запроса |
string |
None. |
Phone |
Номер телефона пользователя |
integer |
None. |
Email пользователя |
string |
None. |
|
Operator |
Идентификатор оператора программы лояльности |
integer |
None. |
Token |
Токен пользователя, который инициирует данный запрос |
integer |
None. |
SiteCode |
Уникальный код виджета по продаже подарочных сертификатов, который инициирует запрос |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SourceUrl": "sample string 1", "Phone": 1, "Email": "sample string 2", "Operator": 1, "Token": 1, "SiteCode": "sample string 3" }
application/xml, text/xml
Sample:
<RememberMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Request.UserRequest"> <Operator xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Operator> <SiteCode xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">sample string 3</SiteCode> <Token xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Token> <Email>sample string 2</Email> <Phone>1</Phone> <SourceUrl>sample string 1</SourceUrl> </RememberMessageRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RememberMessageResponseName | Description | Type | Additional information |
---|---|---|---|
SessionId |
Идентификатор сессии, в рамках которой был запрос на получение пароля |
string |
None. |
ErrorCode |
Код ошибки |
integer |
None. |
Message |
Сообщение об ошибке |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "SessionId": "sample string 1", "ErrorCode": 2, "Message": "sample string 3" }
application/xml, text/xml
Sample:
<RememberMessageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Response.UserResponse"> <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">2</ErrorCode> <Message xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">sample string 3</Message> <SessionId>sample string 1</SessionId> </RememberMessageResponse>