PUT api/v1/accounts/{accountId}/profile/password
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
Required |
Body Parameters
UpdateConsumerPasswordRequestViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| consumer_profile_id | integer |
None. |
|
| current_password | string |
None. |
|
| password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"consumer_profile_id": 1,
"current_password": "sample string 2",
"password": "sample string 3"
}
application/xml, text/xml
Sample:
<UpdateConsumerPasswordRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasypayFinance.MyEasypay.Models.ViewModel"> <ConsumerProfileId>1</ConsumerProfileId> <CurrentPassword>sample string 2</CurrentPassword> <Password>sample string 3</Password> </UpdateConsumerPasswordRequestViewModel>
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.