POST api/webshop/parameterconfig/fixed

Provides boolean, upon creation of a fixed parameter config, given a fixed parameter config model.

Request Information

URI Parameters

None.

Body Parameters

ParameterConfig
NameDescriptionTypeAdditional information
ParameterProperty

The parameter property for the parameter choice

integer

None.

ParameterChoice

The choice of the parameter.

integer

None.

Order

The placement of the choice in the property. I.e. 1...5.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ParameterProperty": 1,
  "ParameterChoice": 2,
  "Order": 3
}

application/xml, text/xml

Sample:
<FixedParameterConfigBasisDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models">
  <Order>3</Order>
  <ParameterChoice>2</ParameterChoice>
  <ParameterProperty>1</ParameterProperty>
</FixedParameterConfigBasisDTO>

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

Response Information

Resource Description

True/false.

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>