PUT api/Me

Request Information

URI Parameters

None.

Body Parameters

ChangeMeProfileModel
NameDescriptionTypeAdditional information
User

IdentityUserViewModel

None.

current_password

string

None.

new_password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "User": {
    "uuid": "sample string 1",
    "last_name": "sample string 2",
    "first_name": "sample string 3",
    "local_number": "sample string 4",
    "role": "sample string 5",
    "email": "sample string 6",
    "phone_number": "sample string 7",
    "username": "sample string 8"
  },
  "current_password": "sample string 1",
  "new_password": "sample string 2"
}

application/xml, text/xml

Sample:
<ChangeMeProfileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UniteHere.ElectionApp.Models">
  <CurrentPassword>sample string 1</CurrentPassword>
  <NewPassword>sample string 2</NewPassword>
  <User xmlns:d2p1="http://schemas.datacontract.org/2004/07/UniteHere.ElectionApp.ViewModels">
    <d2p1:Email>sample string 6</d2p1:Email>
    <d2p1:FirstName>sample string 3</d2p1:FirstName>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:LastName>sample string 2</d2p1:LastName>
    <d2p1:LocalNumber>sample string 4</d2p1:LocalNumber>
    <d2p1:PhoneNumber>sample string 7</d2p1:PhoneNumber>
    <d2p1:Role>sample string 5</d2p1:Role>
    <d2p1:UserName>sample string 8</d2p1:UserName>
  </User>
</ChangeMeProfileModel>

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.