POST api/SystemConfiguration

Request Information

URI Parameters

None.

Body Parameters

SystemConfigurationsItem
NameDescriptionTypeAdditional information
SystemConfigurationsItemId

integer

None.

Key

string

None.

Name

string

None.

Value

string

None.

IsRichText

boolean

None.

SystemConfigurationsId

integer

None.

SystemConfigurations

SystemConfigurations

None.

Request Formats

application/json, text/json

Sample:
{
  "systemConfigurationsItemId": 1,
  "key": "sample string 2",
  "name": "sample string 3",
  "value": "sample string 4",
  "isRichText": true,
  "systemConfigurationsId": 6,
  "systemConfigurations": {
    "systemConfigurationsId": 1,
    "name": "sample string 2",
    "isActive": true
  }
}

text/html

Sample:
{"systemConfigurationsItemId":1,"key":"sample string 2","name":"sample string 3","value":"sample string 4","isRichText":true,"systemConfigurationsId":6,"systemConfigurations":{"systemConfigurationsId":1,"name":"sample string 2","isActive":true}}

application/xml, text/xml

Sample:
<SystemConfigurationsItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.Data.Models">
  <IsRichText>true</IsRichText>
  <Key>sample string 2</Key>
  <Name>sample string 3</Name>
  <SystemConfigurations>
    <IsActive>true</IsActive>
    <Name>sample string 2</Name>
    <SystemConfigurationsId>1</SystemConfigurationsId>
  </SystemConfigurations>
  <SystemConfigurationsId>6</SystemConfigurationsId>
  <SystemConfigurationsItemId>1</SystemConfigurationsItemId>
  <Value>sample string 4</Value>
</SystemConfigurationsItem>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.