POST api/Users/PostProfileUpdate

Request Information

URI Parameters

None.

Body Parameters

ProfileData
NameDescriptionTypeAdditional information
profileID

integer

None.

profileName

string

None.

profileDoB

string

None.

profileGender

string

None.

profileMobile

string

None.

profileWhatsApp

string

None.

profileAddress

string

None.

profilePincode

string

None.

profilePhoto

string

None.

profileEduction

string

None.

profileEmail

string

None.

profileGenderID

integer

None.

profileEductionLevelID

integer

None.

EducationId

integer

None.

RoleId

integer

None.

profileStateID

integer

None.

profileDistrictID

integer

None.

profileBlockID

integer

None.

AadharNo

string

None.

AadharPhoto

string

None.

userType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "profileID": 1,
  "profileName": "sample string 2",
  "profileDoB": "sample string 3",
  "profileGender": "sample string 4",
  "profileMobile": "sample string 5",
  "profileWhatsApp": "sample string 6",
  "profileAddress": "sample string 7",
  "profilePincode": "sample string 8",
  "profilePhoto": "sample string 9",
  "profileEduction": "sample string 10",
  "profileEmail": "sample string 11",
  "profileGenderID": 12,
  "profileEductionLevelID": 13,
  "EducationId": 14,
  "RoleId": 15,
  "profileStateID": 16,
  "profileDistrictID": 17,
  "profileBlockID": 18,
  "AadharNo": "sample string 19",
  "AadharPhoto": "sample string 20",
  "userType": "sample string 21"
}

application/xml, text/xml

Sample:
<ProfileData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SukrtyaApi.Models">
  <AadharNo>sample string 19</AadharNo>
  <AadharPhoto>sample string 20</AadharPhoto>
  <EducationId>14</EducationId>
  <RoleId>15</RoleId>
  <profileAddress>sample string 7</profileAddress>
  <profileBlockID>18</profileBlockID>
  <profileDistrictID>17</profileDistrictID>
  <profileDoB>sample string 3</profileDoB>
  <profileEduction>sample string 10</profileEduction>
  <profileEductionLevelID>13</profileEductionLevelID>
  <profileEmail>sample string 11</profileEmail>
  <profileGender>sample string 4</profileGender>
  <profileGenderID>12</profileGenderID>
  <profileID>1</profileID>
  <profileMobile>sample string 5</profileMobile>
  <profileName>sample string 2</profileName>
  <profilePhoto>sample string 9</profilePhoto>
  <profilePincode>sample string 8</profilePincode>
  <profileStateID>16</profileStateID>
  <profileWhatsApp>sample string 6</profileWhatsApp>
  <userType>sample string 21</userType>
</ProfileData>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.