POST api/Account/EditUser

Request Information

URI Parameters

None.

Body Parameters

EditUser
NameDescriptionTypeAdditional information
CurrentPassword

string

None.

NewPassword

string

None.

ConfirmPassword

string

None.

Id

string

None.

Email

string

Required

IsAdministrator

boolean

None.

Honorific

string

Required

Initials

string

Required

GivenName

string

Required

Surname

string

Required

SurnamePrefix

string

None.

PhoneNumber

string

Required

PhoneNumber2

string

None.

Language

string

Required

Occupation

string

Required

Deactivated

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CurrentPassword": "sample string 1",
  "NewPassword": "sample string 2",
  "ConfirmPassword": "sample string 3",
  "Id": "sample string 4",
  "Email": "sample string 5",
  "IsAdministrator": true,
  "Honorific": "sample string 7",
  "Initials": "sample string 8",
  "GivenName": "sample string 9",
  "Surname": "sample string 10",
  "SurnamePrefix": "sample string 11",
  "PhoneNumber": "sample string 12",
  "PhoneNumber2": "sample string 13",
  "Language": "sample string 14",
  "Occupation": "sample string 15",
  "Deactivated": true
}

application/xml, text/xml

Sample:
<EditUser xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Honorific>sample string 7</Honorific>
  <Initials>sample string 8</Initials>
  <GivenName>sample string 9</GivenName>
  <Surname>sample string 10</Surname>
  <SurnamePrefix>sample string 11</SurnamePrefix>
  <PhoneNumber>sample string 12</PhoneNumber>
  <PhoneNumber2>sample string 13</PhoneNumber2>
  <Language>sample string 14</Language>
  <Occupation>sample string 15</Occupation>
  <Deactivated>true</Deactivated>
  <Id>sample string 4</Id>
  <Email>sample string 5</Email>
  <IsAdministrator>true</IsAdministrator>
  <CurrentPassword>sample string 1</CurrentPassword>
  <NewPassword>sample string 2</NewPassword>
  <ConfirmPassword>sample string 3</ConfirmPassword>
</EditUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IUserAccount
NameDescriptionTypeAdditional information
Id

string

None.

Email

string

None.

IsAdministrator

boolean

None.

Response Formats

application/json, text/json

Sample:

Sample not available.