POST api/appfeatures/updatefeatures

Request Information

URI Parameters

None.

Body Parameters

Collection of FeaturesDetails
NameDescriptionTypeAdditional information
ID

integer

None.

FeatureName

string

Required

OnorOff

boolean

None.

FeatureId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "FeatureName": "sample string 2",
    "OnorOff": true,
    "FeatureId": 4
  },
  {
    "ID": 1,
    "FeatureName": "sample string 2",
    "OnorOff": true,
    "FeatureId": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfFeaturesDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <FeaturesDetails>
    <FeatureId>4</FeatureId>
    <FeatureName>sample string 2</FeatureName>
    <ID>1</ID>
    <OnorOff>true</OnorOff>
  </FeaturesDetails>
  <FeaturesDetails>
    <FeatureId>4</FeatureId>
    <FeatureName>sample string 2</FeatureName>
    <ID>1</ID>
    <OnorOff>true</OnorOff>
  </FeaturesDetails>
</ArrayOfFeaturesDetails>

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

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.