POST api/V1/ChangePassword?customerId={customerId}&oldPassword={oldPassword}&newPassword={newPassword}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | integer |
Required |
|
| oldPassword | string |
Required |
|
| newPassword | string |
Required |
Body Parameters
None.
Response Information
Resource Description
GeneralResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| status | string |
None. |
|
| message | string |
None. |
|
| CustomerID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": "sample string 1",
"message": "sample string 2",
"CustomerID": 3
}
multipart/form-data
Sample:
{"status":"sample string 1","message":"sample string 2","CustomerID":3}
application/xml, text/xml
Sample:
<GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.ViewModel"> <CustomerID>3</CustomerID> <message>sample string 2</message> <status>sample string 1</status> </GeneralResponse>