PUT api/changedPassword

API เปลี่ยน account password ของยูสเซอร์ตาม userID

Request Information

URI Parameters

None.

Body Parameters

md_changePassword
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'md_changePassword'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.