POST api/values/SetManagerPassword
Установка/изменение пароля Участника.
Request Information
URI Parameters
None.
Body Parameters
SetManagerPasswordRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Phone |
номер телефона |
integer |
None. |
| Code |
код подтверждения |
string |
None. |
| Password |
пароль |
string |
None. |
| ClientID |
ID участника программы лояльности |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Phone": 1,
"Code": "sample string 2",
"Password": "sample string 3",
"ClientID": 4
}
application/xml, text/xml
Sample:
<SetManagerPasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models"> <ClientID>4</ClientID> <Code>sample string 2</Code> <Password>sample string 3</Password> <Phone>1</Phone> </SetManagerPasswordRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SetManagerPasswordResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorCode |
код ошибки |
integer |
None. |
| Message |
сообщение об ошибке |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorCode": 1,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<SetManagerPasswordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models"> <ErrorCode>1</ErrorCode> <Message>sample string 2</Message> </SetManagerPasswordResponse>