GET api/fishpreferences?schemeID={schemeID}&isProductPref={isProductPref}&isCategoryPref={isCategoryPref}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
schemeID | integer |
None. |
|
isProductPref | boolean |
None. |
|
isCategoryPref | boolean |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of FishPreferenceName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
Codename | string |
None. |
|
SortOrder | integer |
None. |
|
IsDefault | boolean |
None. |
|
OpenXMLColor | string |
None. |
|
RGBColor | string |
None. |
|
IsProductPref | boolean |
None. |
|
IsCategoryPref | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Name": "sample string 2", "Codename": "sample string 3", "SortOrder": 4, "IsDefault": true, "OpenXMLColor": "sample string 6", "RGBColor": "sample string 7", "IsProductPref": true, "IsCategoryPref": true }, { "ID": 1, "Name": "sample string 2", "Codename": "sample string 3", "SortOrder": 4, "IsDefault": true, "OpenXMLColor": "sample string 6", "RGBColor": "sample string 7", "IsProductPref": true, "IsCategoryPref": true } ]
application/xml, text/xml
Sample:
<ArrayOfFishPreference xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cag.Data.Customers"> <FishPreference> <Codename>sample string 3</Codename> <ID>1</ID> <IsCategoryPref>true</IsCategoryPref> <IsDefault>true</IsDefault> <IsProductPref>true</IsProductPref> <Name>sample string 2</Name> <OpenXMLColor>sample string 6</OpenXMLColor> <RGBColor>sample string 7</RGBColor> <SortOrder>4</SortOrder> </FishPreference> <FishPreference> <Codename>sample string 3</Codename> <ID>1</ID> <IsCategoryPref>true</IsCategoryPref> <IsDefault>true</IsDefault> <IsProductPref>true</IsProductPref> <Name>sample string 2</Name> <OpenXMLColor>sample string 6</OpenXMLColor> <RGBColor>sample string 7</RGBColor> <SortOrder>4</SortOrder> </FishPreference> </ArrayOfFishPreference>