POST api/user/changepassword
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserCode | integer |
None. |
|
| EmpCode | integer |
None. |
|
| NewPassword | string |
None. |
|
| OldPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserCode": 1,
"EmpCode": 2,
"NewPassword": "sample string 3",
"OldPassword": "sample string 4"
}
application/xml, text/xml
Sample:
<ChangePasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AppSiscaWebApi.Models"> <EmpCode>2</EmpCode> <NewPassword>sample string 3</NewPassword> <OldPassword>sample string 4</OldPassword> <UserCode>1</UserCode> </ChangePasswordModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.