POST api/USERSETTINGS/loadsettings

Request Information

URI Parameters

None.

Body Parameters

UserSetting
NameDescriptionTypeAdditional information
UserId

integer

Required

Context

string

None.

Value

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "Context": "sample string 2",
  "Value": "sample string 3"
}

application/xml, text/xml

Sample:
<UserSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <Context>sample string 2</Context>
  <UserId>1</UserId>
  <Value>sample string 3</Value>
</UserSetting>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

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