POST api/SiteHome/SiteChangePassword
Request Information
URI Parameters
None.
Body Parameters
SiteChangePasswordVMName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
Password | string |
None. |
|
NewPassword | string |
Required Matching regular expression pattern: ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).{8,}$ |
|
ConfirmPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": 1, "Password": "sample string 2", "NewPassword": "sample string 3", "ConfirmPassword": "sample string 4" }
application/xml, text/xml
Sample:
<SiteChangePasswordVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StockTrading.Entities.Models"> <ConfirmPassword>sample string 4</ConfirmPassword> <NewPassword>sample string 3</NewPassword> <Password>sample string 2</Password> <UserId>1</UserId> </SiteChangePasswordVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |