PUT api/settings

Request Information

URI Parameters

None.

Body Parameters

Collection of SettingSubModel
NameDescriptionTypeAdditional information
Category

string

None.

Value

string

None.

Key

string

None.

LotName

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Category": "sample string 1",
    "Value": "sample string 2",
    "Key": "sample string 3",
    "LotName": "sample string 4"
  },
  {
    "Category": "sample string 1",
    "Value": "sample string 2",
    "Key": "sample string 3",
    "LotName": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSettingSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.SubModels">
  <SettingSubModel>
    <Category>sample string 1</Category>
    <Key>sample string 3</Key>
    <LotName>sample string 4</LotName>
    <Value>sample string 2</Value>
  </SettingSubModel>
  <SettingSubModel>
    <Category>sample string 1</Category>
    <Key>sample string 3</Key>
    <LotName>sample string 4</LotName>
    <Value>sample string 2</Value>
  </SettingSubModel>
</ArrayOfSettingSubModel>

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

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.