PUT api/AccountUpdatePassword
Used to update password for current auth code
Request Information
URI Parameters
None.
Body Parameters
PwdDTOName | Description | Type | Additional information |
---|---|---|---|
NewPassword |
This is the your New Password |
string |
Required |
OldPassword |
This is the your Old Password |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "NewPassword": "sample string 1", "OldPassword": "sample string 2" }
text/xml
Sample:
<PwdDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"> <NewPassword>sample string 1</NewPassword> <OldPassword>sample string 2</OldPassword> </PwdDTO>
multipart/form-data
Sample:
<PwdDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><NewPassword>sample string 1</NewPassword><OldPassword>sample string 2</OldPassword></PwdDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
COMPLETE
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
text/xml, multipart/form-data
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>