POST Feature/FeatureOptions

Request Information

URI Parameters

None.

Body Parameters

GetFeatureOptionsRequest
NameDescriptionTypeAdditional information
Filter

FeatureOptionFilter

None.

Range

AdminFilterRange

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FeatureOptionsView
NameDescriptionTypeAdditional information
TotalCount

integer

None.

FeatureOptions

Collection of FeatureOption

None.

FilterableProperties

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "FeatureOptions": [
    {
      "ID": 1,
      "StoreID": 2,
      "FeatureID": 3,
      "Value": "sample string 4",
      "SortOrder": 5
    },
    {
      "ID": 1,
      "StoreID": 2,
      "FeatureID": 3,
      "Value": "sample string 4",
      "SortOrder": 5
    }
  ],
  "FilterableProperties": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<FeatureOptionsView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.View.Feature">
  <FilterableProperties xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Services.Views">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </FilterableProperties>
  <FeatureOptions>
    <FeatureOption>
      <FeatureID>3</FeatureID>
      <ID>1</ID>
      <SortOrder>5</SortOrder>
      <StoreID>2</StoreID>
      <Value>sample string 4</Value>
    </FeatureOption>
    <FeatureOption>
      <FeatureID>3</FeatureID>
      <ID>1</ID>
      <SortOrder>5</SortOrder>
      <StoreID>2</StoreID>
      <Value>sample string 4</Value>
    </FeatureOption>
  </FeatureOptions>
  <TotalCount>1</TotalCount>
</FeatureOptionsView>