PUT api/Users/PublicProfile?userName={userName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userName

string

Required

Body Parameters

UserPublicProfileViewModel
NameDescriptionTypeAdditional information
UserName

string

None.

Designation

string

None.

AboutMe

string

None.

ProfilePicture

string

None.

profilePictureUrl

string

None.

BatchYear

string

None.

UserId

string

None.

FirstName

string

None.

LastName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Designation": "sample string 2",
  "AboutMe": "sample string 3",
  "ProfilePicture": "sample string 4",
  "profilePictureUrl": "sample string 5",
  "BatchYear": "sample string 6",
  "UserId": "sample string 7",
  "FirstName": "sample string 8",
  "LastName": "sample string 9"
}

application/xml, text/xml

Sample:
<UserPublicProfileViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolERP.API.ViewModels">
  <FirstName>sample string 8</FirstName>
  <LastName>sample string 9</LastName>
  <UserId>sample string 7</UserId>
  <AboutMe>sample string 3</AboutMe>
  <BatchYear>sample string 6</BatchYear>
  <Designation>sample string 2</Designation>
  <ProfilePicture>sample string 4</ProfilePicture>
  <UserName>sample string 1</UserName>
  <profilePictureUrl>sample string 5</profilePictureUrl>
</UserPublicProfileViewModel>

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.