POST api/client/ClientPasswordChange
Обновление пароля Участника программы лояльности
Request Information
URI Parameters
None.
Body Parameters
ClientPasswordChangeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OldPassword |
стары пароль |
string |
None. |
| NewPassword |
новый пароль |
string |
None. |
| Client |
ID клиента |
integer |
None. |
| Operator |
ID оператора |
integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"OldPassword": "sample string 1",
"NewPassword": "sample string 2",
"Client": 3,
"Operator": 4
}
application/xml, text/xml
Sample:
<ClientPasswordChangeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models"> <Client>3</Client> <NewPassword>sample string 2</NewPassword> <OldPassword>sample string 1</OldPassword> <Operator>4</Operator> </ClientPasswordChangeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ClientPasswordChangeResponse| 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:
<ClientPasswordChangeResponse 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> </ClientPasswordChangeResponse>