POST api/Admin/SetSystemSettingListValue

SetSystemSettingListValue settingValues

Request Information

URI Parameters

None.

Body Parameters

settingValues

Dictionary of integer [key] and integer [value]

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SetSystemSettingListValue settingValues

ApiReturn
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  }
}

application/xml, text/xml

Sample:
<ApiReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</ApiReturn>