POST api/Settings
Request Information
URI Parameters
None.
Body Parameters
SettingName | Description | Type | Additional information |
---|---|---|---|
SettingId | integer |
None. |
|
Name | string |
None. |
|
Value | string |
None. |
|
SettingType | SettingType |
None. |
|
SettingScope | SettingScope |
None. |
|
ValueAsType | Object |
None. |
Request Formats
application/json, text/json
Sample:
{ "SettingId": 1, "Name": "sample string 2", "Value": "sample string 3", "SettingType": 0, "SettingScope": 0, "ValueAsType": false }
application/xml, text/xml
Sample:
<Setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <SettingId>1</SettingId> <Name>sample string 2</Name> <Value>sample string 3</Value> <SettingType>BOOLEAN</SettingType> <SettingScope>System</SettingScope> </Setting>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SettingName | Description | Type | Additional information |
---|---|---|---|
SettingId | integer |
None. |
|
Name | string |
None. |
|
Value | string |
None. |
|
SettingType | SettingType |
None. |
|
SettingScope | SettingScope |
None. |
|
ValueAsType | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "SettingId": 1, "Name": "sample string 2", "Value": "sample string 3", "SettingType": 0, "SettingScope": 0, "ValueAsType": false }
application/xml, text/xml
Sample:
<Setting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <SettingId>1</SettingId> <Name>sample string 2</Name> <Value>sample string 3</Value> <SettingType>BOOLEAN</SettingType> <SettingScope>System</SettingScope> </Setting>