PUT api/changedPassword
API เปลี่ยน account password ของยูสเซอร์ตาม userID
Request Information
URI Parameters
None.
Body Parameters
md_changePassword| Name | Description | Type | Additional information |
|---|---|---|---|
| accID | integer |
None. |
|
| newPassword | string |
None. |
|
| reNewpassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"accID": 1,
"newPassword": "sample string 2",
"reNewpassword": "sample string 3"
}
application/xml, text/xml
Sample:
<md_changePassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models"> <accID>1</accID> <newPassword>sample string 2</newPassword> <reNewpassword>sample string 3</reNewpassword> </md_changePassword>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.