PUT api/users/edituserprofile

Request Information

URI Parameters

None.

Body Parameters

AccountUserProfile
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

ProfileImage

string

None.

Telephone

string

None.

Email

string

None.

Gender

Gender

None.

AgeRange

AgeRange

None.

SkillLevel

SkillLevel

None.

ActivityType

ActivityType

None.

TelephoneShow

boolean

None.

EmailShow

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "ProfileImage": "sample string 3",
  "Telephone": "sample string 4",
  "Email": "sample string 5",
  "Gender": 1,
  "AgeRange": 0,
  "SkillLevel": 1,
  "ActivityType": 1,
  "TelephoneShow": true,
  "EmailShow": true
}

application/xml, text/xml

Sample:
<AccountUserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Agency.Contra.SkiApp.Api.Models.User">
  <ActivityType>Ski</ActivityType>
  <AgeRange>Null</AgeRange>
  <Email>sample string 5</Email>
  <EmailShow>true</EmailShow>
  <FirstName>sample string 1</FirstName>
  <Gender>Female</Gender>
  <LastName>sample string 2</LastName>
  <ProfileImage>sample string 3</ProfileImage>
  <SkillLevel>Beginner</SkillLevel>
  <Telephone>sample string 4</Telephone>
  <TelephoneShow>true</TelephoneShow>
</AccountUserProfile>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.