POST api/Configuration/AppName/SetConfigurationKey

Request Information

URI Parameters

None.

Body Parameters

ConfigurationKey
NameDescriptionTypeAdditional information
Key

string

None.

Value

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Key": "sample string 1",
  "Value": "sample string 2"
}

application/xml, text/xml

Sample:
<ConfigurationKey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore">
  <Key>sample string 1</Key>
  <Value>sample string 2</Value>
</ConfigurationKey>

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 'ConfigurationKey'.

Response Information

Resource Description

JSonGenericOfBoolean
NameDescriptionTypeAdditional information
Response

boolean

None.

Datas

boolean

None.

ServiceName

string

None.

Parameters

string

None.

Status

ReturnErrorStatus

None.

ErrorMessage

string

None.

Error

jsonExceptionIES

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": true,
  "Datas": true,
  "ServiceName": "sample string 3",
  "Parameters": "sample string 4",
  "Status": 0,
  "ErrorMessage": "sample string 5",
  "Error": {
    "Code": "sample string 1",
    "Details": "sample string 2",
    "Message": "sample string 3",
    "Level": 1
  }
}

application/xml, text/xml

Sample:
<JSonGenericOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ForSagaMiddleware">
  <Error>
    <Code>sample string 1</Code>
    <Details>sample string 2</Details>
    <Level>Info</Level>
    <Message>sample string 3</Message>
  </Error>
  <ErrorMessage>sample string 5</ErrorMessage>
  <Parameters>sample string 4</Parameters>
  <ServiceName>sample string 3</ServiceName>
  <Status>Error</Status>
  <Datas>true</Datas>
  <Response>true</Response>
</JSonGenericOfboolean>