POST api/Profile/Update

UpdateProfile: Used to add and update profile data.

Request Information

URI Parameters

None.

Body Parameters

mProfileEditLayer
NameDescriptionTypeAdditional information
FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

Mobile

string

None.

Phone

string

None.

Email

string

None.

Gender

string

None.

BloodGroup

string

None.

City

string

None.

State

string

None.

Country

string

None.

ProfilePicture

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "MiddleName": "sample string 2",
  "LastName": "sample string 3",
  "Mobile": "sample string 4",
  "Phone": "sample string 5",
  "Email": "sample string 6",
  "Gender": "sample string 7",
  "BloodGroup": "sample string 8",
  "City": "sample string 9",
  "State": "sample string 10",
  "Country": "sample string 11",
  "ProfilePicture": "sample string 12"
}

application/xml, text/xml

Sample:
<mProfileEditLayer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRiSAPI.Models">
  <BloodGroup>sample string 8</BloodGroup>
  <City>sample string 9</City>
  <Country>sample string 11</Country>
  <Email>sample string 6</Email>
  <FirstName>sample string 1</FirstName>
  <Gender>sample string 7</Gender>
  <LastName>sample string 3</LastName>
  <MiddleName>sample string 2</MiddleName>
  <Mobile>sample string 4</Mobile>
  <Phone>sample string 5</Phone>
  <ProfilePicture>sample string 12</ProfilePicture>
  <State>sample string 10</State>
</mProfileEditLayer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.