POST api/UserProfile/Save

Request Information

URI Parameters

None.

Body Parameters

UserProfile
NameDescriptionTypeAdditional information
Age

integer

None.

Id

integer

None.

UserId

integer

None.

AuthenticationMode

string

None.

CellNo

string

None.

Education

string

None.

Email

string

None.

FatherName

string

None.

WhatsApp

string

None.

ProfileImageFileName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Age": 1,
  "Id": 2,
  "UserId": 3,
  "AuthenticationMode": "sample string 4",
  "CellNo": "sample string 5",
  "Education": "sample string 6",
  "Email": "sample string 7",
  "FatherName": "sample string 8",
  "WhatsApp": "sample string 9",
  "ProfileImageFileName": "sample string 10"
}

application/xml, text/xml

Sample:
<UserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model">
  <Age>1</Age>
  <AuthenticationMode>sample string 4</AuthenticationMode>
  <CellNo>sample string 5</CellNo>
  <Education>sample string 6</Education>
  <Email>sample string 7</Email>
  <FatherName>sample string 8</FatherName>
  <Id>2</Id>
  <ProfileImageFileName>sample string 10</ProfileImageFileName>
  <UserId>3</UserId>
  <WhatsApp>sample string 9</WhatsApp>
</UserProfile>

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 'UserProfile'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.