PUT api/UserProfile/UpdateProfile

Request Information

URI Parameters

None.

Body Parameters

m_userProfileCreate
NameDescriptionTypeAdditional information
Title

string

Required

Firstname

string

Required

Lastname

string

Required

PositionId

string

Required

DepartmentId

integer

Required

Email

string

None.

Phone

string

None.

Image

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "Firstname": "sample string 2",
  "Lastname": "sample string 3",
  "PositionId": "sample string 4",
  "DepartmentId": 5,
  "Email": "sample string 6",
  "Phone": "sample string 7",
  "Image": "sample string 8"
}

application/xml, text/xml

Sample:
<m_userProfileCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.WebAPI.Models">
  <DepartmentId>5</DepartmentId>
  <Email>sample string 6</Email>
  <Firstname>sample string 2</Firstname>
  <Image>sample string 8</Image>
  <Lastname>sample string 3</Lastname>
  <Phone>sample string 7</Phone>
  <PositionId>sample string 4</PositionId>
  <Title>sample string 1</Title>
</m_userProfileCreate>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'm_userProfileCreate'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.