POST api/Profile/UpdateProfile

Request Information

URI Parameters

None.

Body Parameters

User
NameDescriptionTypeAdditional information
UserName

string

None.

UserPassword

string

None.

UserFirstName

string

None.

UserLastName

string

None.

UserEmail

string

None.

DOB

string

None.

Height

string

None.

Gender

string

None.

Active

integer

None.

DeactivatedTime

string

None.

Weight

string

None.

WeightUnit

string

None.

DataCollection

integer

None.

Bp_idx

integer

None.

Hr_idx

integer

None.

Glu_idx

integer

None.

Med_idx

integer

None.

Chl_idx

integer

None.

CloudStorage

integer

None.

ValidateEmail

integer

None.

Subscription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "UserPassword": "sample string 2",
  "UserFirstName": "sample string 3",
  "UserLastName": "sample string 4",
  "UserEmail": "sample string 5",
  "DOB": "sample string 6",
  "Height": "sample string 7",
  "Gender": "sample string 8",
  "Active": 9,
  "DeactivatedTime": "sample string 10",
  "Weight": "sample string 11",
  "WeightUnit": "sample string 12",
  "DataCollection": 13,
  "Bp_idx": 14,
  "Hr_idx": 15,
  "Glu_idx": 16,
  "Med_idx": 17,
  "Chl_idx": 18,
  "CloudStorage": 19,
  "ValidateEmail": 20,
  "Subscription": "sample string 21"
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PhwareWebApi.Util">
  <Active>9</Active>
  <Bp_idx>14</Bp_idx>
  <Chl_idx>18</Chl_idx>
  <CloudStorage>19</CloudStorage>
  <DOB>sample string 6</DOB>
  <DataCollection>13</DataCollection>
  <DeactivatedTime>sample string 10</DeactivatedTime>
  <Gender>sample string 8</Gender>
  <Glu_idx>16</Glu_idx>
  <Height>sample string 7</Height>
  <Hr_idx>15</Hr_idx>
  <Med_idx>17</Med_idx>
  <Subscription>sample string 21</Subscription>
  <UserEmail>sample string 5</UserEmail>
  <UserFirstName>sample string 3</UserFirstName>
  <UserLastName>sample string 4</UserLastName>
  <UserName>sample string 1</UserName>
  <UserPassword>sample string 2</UserPassword>
  <ValidateEmail>20</ValidateEmail>
  <Weight>sample string 11</Weight>
  <WeightUnit>sample string 12</WeightUnit>
</User>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>