POST Feature/Feature
GetFeatures with same parentID
Request Information
URI Parameters
None.
Body Parameters
GetFeatureRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Lang": "sample string 2",
"StoreID": 3
}
application/xml, text/xml
Sample:
<GetFeatureRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Feature"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 2</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">3</StoreID> <ID>1</ID> </GetFeatureRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Feature| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ParentID | integer |
None. |
|
| Created | date |
None. |
|
| Modified | date |
None. |
|
| StoreID | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Unit |
Kg, g, m, Km, N... |
string |
None. |
| TypeID | integer |
None. |
|
| Disabled |
If set, invalidate this Feature |
date |
None. |
| UsageLimit |
Number of times a value for this property can be used for the same entity. If 0, no limit and, then, this is a list property. |
integer |
None. |
| SortOrder | integer |
None. |
|
| ViewFormat |
Format used to show this value. E.g. surround by (), preceded by > |
string |
None. |
| Range |
Used to specify a lower and upper limit range for numeric values. Enabled when Min != Max Used to specify a lower and upper limit length for text values. Enabled when Min != Max |
Range |
None. |
| Options | Collection of FeatureOptionTiny |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"ParentID": 1,
"Created": "2025-12-06T05:42:45.6637783+01:00",
"Modified": "2025-12-06T05:42:45.6637783+01:00",
"StoreID": 4,
"Name": "sample string 5",
"Description": "sample string 6",
"Unit": "sample string 7",
"TypeID": 8,
"Disabled": "2025-12-06T05:42:45.6637783+01:00",
"UsageLimit": 9,
"SortOrder": 10,
"ViewFormat": "sample string 11",
"Range": {
"Min": 1.0,
"Max": 2.0
},
"Options": [
{
"ID": 1,
"Value": "sample string 2",
"SortOrder": 3
},
{
"ID": 1,
"Value": "sample string 2",
"SortOrder": 3
}
]
}
application/xml, text/xml
Sample:
<Feature xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Feature">
<Created>2025-12-06T05:42:45.6637783+01:00</Created>
<Description>sample string 6</Description>
<Disabled>2025-12-06T05:42:45.6637783+01:00</Disabled>
<ID>1</ID>
<Modified>2025-12-06T05:42:45.6637783+01:00</Modified>
<Name>sample string 5</Name>
<Options>
<FeatureOptionTiny>
<ID>1</ID>
<SortOrder>3</SortOrder>
<Value>sample string 2</Value>
</FeatureOptionTiny>
<FeatureOptionTiny>
<ID>1</ID>
<SortOrder>3</SortOrder>
<Value>sample string 2</Value>
</FeatureOptionTiny>
</Options>
<ParentID>1</ParentID>
<Range xmlns:d2p1="http://schemas.datacontract.org/2004/07/ShopworldApi.Core.Models.Feature">
<d2p1:Max>2</d2p1:Max>
<d2p1:Min>1</d2p1:Min>
</Range>
<SortOrder>10</SortOrder>
<StoreID>4</StoreID>
<TypeID>8</TypeID>
<Unit>sample string 7</Unit>
<UsageLimit>9</UsageLimit>
<ViewFormat>sample string 11</ViewFormat>
</Feature>