PUT api/v1/accounts/{accountId}/profile/username

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

Body Parameters

UpdateConsumerUsernameRequestViewModel
NameDescriptionTypeAdditional information
consumer_profile_id

integer

None.

current_password

string

None.

new_username

string

None.

loan_id

integer

None.

application_id

integer

None.

last_4ssn

string

None.

Request Formats

application/json, text/json

Sample:
{
  "consumer_profile_id": 1,
  "current_password": "sample string 2",
  "new_username": "sample string 3",
  "loan_id": 4,
  "application_id": 5,
  "last_4ssn": "sample string 6"
}

application/xml, text/xml

Sample:
<UpdateConsumerUsernameRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasypayFinance.MyEasypay.Models.ViewModel">
  <ApplicationId>5</ApplicationId>
  <ConsumerProfileId>1</ConsumerProfileId>
  <CurrentPassword>sample string 2</CurrentPassword>
  <Last4Ssn>sample string 6</Last4Ssn>
  <LoanId>4</LoanId>
  <NewUsername>sample string 3</NewUsername>
</UpdateConsumerUsernameRequestViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.