POST api/Account/UserSettings

Request Information

URI Parameters

None.

Body Parameters

UserSettingsModel
NameDescriptionTypeAdditional information
EnableNotifications

boolean

None.

Success

boolean

None.

UserMessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EnableNotifications": true,
  "Success": true,
  "UserMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<UserSettingsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbsoluteHealth.API.Models">
  <Success>true</Success>
  <UserMessage>sample string 3</UserMessage>
  <EnableNotifications>true</EnableNotifications>
</UserSettingsModel>

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

Response Information

Resource Description

StatusModel
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

UserMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Success": true,
  "UserMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<StatusModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbsoluteHealth.API.Models">
  <Success>true</Success>
  <UserMessage>sample string 3</UserMessage>
  <Status>1</Status>
</StatusModel>