POST api/AppSettings/UpdateApplicationSettings

Request Information

URI Parameters

None.

Body Parameters

Collection of AppSetingBO
NameDescriptionTypeAdditional information
Type

string

None.

Value

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Type": "sample string 1",
    "Value": "sample string 2"
  },
  {
    "Type": "sample string 1",
    "Value": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAppSetingBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL.BO">
  <AppSetingBO>
    <Type>sample string 1</Type>
    <Value>sample string 2</Value>
  </AppSetingBO>
  <AppSetingBO>
    <Type>sample string 1</Type>
    <Value>sample string 2</Value>
  </AppSetingBO>
</ArrayOfAppSetingBO>

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

APIResponse
NameDescriptionTypeAdditional information
Message

string

None.

Data

Object

None.

Count

integer

None.

Activity

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Data": {},
  "Count": 3,
  "Activity": "sample string 4"
}

application/xml, text/xml

Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL.BO">
  <Activity>sample string 4</Activity>
  <Count>3</Count>
  <Data />
  <Message>sample string 1</Message>
</APIResponse>