POST api/Application/Setting/GetByKeys

Request Information

URI Parameters

None.

Body Parameters

Collection of string

Request Formats

application/xml, text/xml

Sample:
<Array1OfString>
  <String>sample string 1</String>
  <String>sample string 2</String>
</Array1OfString>

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'String[]'.

Response Information

Resource Description

Dictionary of string [key] and string [value]

Response Formats

application/xml, text/xml

Sample:
<DictionaryOfStringString>
  <KeyValuePairOfStringString>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </KeyValuePairOfStringString>
  <KeyValuePairOfStringString>
    <Key>sample string 3</Key>
    <Value>sample string 4</Value>
  </KeyValuePairOfStringString>
</DictionaryOfStringString>

application/json, text/json

Sample:
{
  "sample string 1": "sample string 2",
  "sample string 3": "sample string 4"
}