POST Preference/UserPreferencesSet

Request Information

URI Parameters

None.

Body Parameters

UserPreference
NameDescriptionTypeAdditional information
UserId

integer

None.

Days

integer

None.

NormalVisible

boolean

None.

CautionVisible

boolean

None.

AbnormalVisible

boolean

None.

SevereVisible

boolean

None.

Request Formats

application/json

Sample:
{
  "SevereVisible": true,
  "AbnormalVisible": true,
  "CautionVisible": true,
  "NormalVisible": true,
  "Days": 2,
  "UserId": 1
}

application/xml, text/xml

Sample:
<UserPreference xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webtrieve.Data.Models.Mobile">
  <AbnormalVisible>true</AbnormalVisible>
  <CautionVisible>true</CautionVisible>
  <Days>2</Days>
  <NormalVisible>true</NormalVisible>
  <SevereVisible>true</SevereVisible>
  <UserId>1</UserId>
</UserPreference>

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.