POST api/UserSettings/UpdateUserSettings
Request Information
URI Parameters
None.
Body Parameters
UserSetting| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | string |
None. |
|
| type | integer |
None. |
|
| value | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"userId": "sample string 1",
"type": 2,
"value": 3
}
application/xml, text/xml
Sample:
<UserSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/kloihmMvc.Models"> <type>2</type> <userId>sample string 1</userId> <value>3</value> </UserSetting>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Data": "sample string 2"
}
application/xml, text/xml
Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <Code>1</Code> <Data>sample string 2</Data> </ServiceResponse>