POST API/LoginAPI/PostUserProfile

Request Information

URI Parameters

None.

Body Parameters

PostUserProfileRequestModel
NameDescriptionTypeAdditional information
LoginId

integer

None.

FullName

string

None.

MobileNo

string

None.

EmailId

string

None.

UpiId

string

None.

Height

decimal number

None.

Weight

decimal number

None.

Gender

string

None.

Age

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LoginId": 1,
  "FullName": "sample string 2",
  "MobileNo": "sample string 3",
  "EmailId": "sample string 4",
  "UpiId": "sample string 5",
  "Height": 6.0,
  "Weight": 7.0,
  "Gender": "sample string 8",
  "Age": 9
}

application/xml, text/xml

Sample:
<PostUserProfileRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WalkandEarnModels.Login">
  <Age>9</Age>
  <EmailId>sample string 4</EmailId>
  <FullName>sample string 2</FullName>
  <Gender>sample string 8</Gender>
  <Height>6</Height>
  <LoginId>1</LoginId>
  <MobileNo>sample string 3</MobileNo>
  <UpiId>sample string 5</UpiId>
  <Weight>7</Weight>
</PostUserProfileRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.