POST ControlPackage/SaveSettingValues

Request Information

URI Parameters

None.

Body Parameters

Collection of SettingValue
NameDescriptionTypeAdditional information
Id

integer

None.

SettingId

integer

None.

Key

string

None.

Value

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "SettingId": 2,
    "Key": "sample string 3",
    "Value": "QEA="
  },
  {
    "Id": 1,
    "SettingId": 2,
    "Key": "sample string 3",
    "Value": "QEA="
  }
]

application/xml, text/xml

Sample:
<ArrayOfSettingValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VHCSAPIModels.Models">
  <SettingValue>
    <Id>1</Id>
    <Key>sample string 3</Key>
    <SettingId>2</SettingId>
    <Value>QEA=</Value>
  </SettingValue>
  <SettingValue>
    <Id>1</Id>
    <Key>sample string 3</Key>
    <SettingId>2</SettingId>
    <Value>QEA=</Value>
  </SettingValue>
</ArrayOfSettingValue>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.