POST api/user/settings

Request Information

URI Parameters

None.

Body Parameters

Dictionary of integer [key] and boolean [value]

Request Formats

application/json, text/json

Sample:
{
  "1": true,
  "3": true
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfintboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfintboolean>
    <Key>1</Key>
    <Value>true</Value>
  </KeyValueOfintboolean>
  <KeyValueOfintboolean>
    <Key>3</Key>
    <Value>true</Value>
  </KeyValueOfintboolean>
</ArrayOfKeyValueOfintboolean>

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 'Dictionary`2'.

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>