POST api/User/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordDtoName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
CurrentPassword | string |
None. |
|
NewPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "58031f85-d8fc-4ab2-82e9-8538ef5da2b4", "CurrentPassword": "sample string 2", "NewPassword": "sample string 3" }
application/xml, text/xml
Sample:
<ChangePasswordDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.UserModule.Model"> <CurrentPassword>sample string 2</CurrentPassword> <NewPassword>sample string 3</NewPassword> <UserId>58031f85-d8fc-4ab2-82e9-8538ef5da2b4</UserId> </ChangePasswordDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ChangePasswordResponseInfoName | Description | Type | Additional information |
---|---|---|---|
IsSuccess | boolean |
None. |
|
Message | string |
None. |
|
MessageFr | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccess": true, "Message": "sample string 2", "MessageFr": "sample string 3" }
application/xml, text/xml
Sample:
<ChangePasswordResponseInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.UserModule.Model"> <IsSuccess>true</IsSuccess> <Message>sample string 2</Message> <MessageFr>sample string 3</MessageFr> </ChangePasswordResponseInfo>