POST api/VatUsers/ChangePassword
измение пароля пользователя
Request Information
URI Parameters
None.
Body Parameters
VatUserChangePasswordRequestНаименование | Описание | Тип | Дополнительная информация |
---|---|---|---|
Login | string |
Required |
|
NewPassword | string |
Required |
|
OldPassword | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Login": "sample string 1", "NewPassword": "sample string 2", "OldPassword": "sample string 3" }
application/xml, text/xml
Sample:
<VatUserChangePasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiBerlioInfo.Dto.DataTypes.VatUsers"> <Login>sample string 1</Login> <NewPassword>sample string 2</NewPassword> <OldPassword>sample string 3</OldPassword> </VatUserChangePasswordRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Информация о ответе
Resource Description
ResultInfoНаименование | Описание | Тип | Дополнительная информация |
---|---|---|---|
Message | string |
None. |
|
Success | boolean |
None. |
|
Code | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Success": true, "Code": 3 }
application/xml, text/xml
Sample:
<ResultInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BerlioSoft.Core.Common.Results"> <Code>3</Code> <Message>sample string 1</Message> <Success>true</Success> </ResultInfo>