GET api/WebApiOdata/GetAllProductOptions?providerId={providerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductOptionViewModelName | Description | Type | Additional information |
---|---|---|---|
ProductOptionID | integer |
None. |
|
Name | string |
None. |
|
SCUniqueID | integer |
None. |
|
SCUniqueDisplayName | string |
None. |
|
DisplayTypeID | integer |
None. |
|
ProviderID | integer |
None. |
|
Status | boolean |
None. |
|
SortOrder | integer |
None. |
|
Default | boolean |
None. |
|
Deleted | boolean |
None. |
|
OriginalProviderID | integer |
None. |
|
OriginalProviderName | string |
None. |
|
DisplayType | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "ProductOptionID": 1, "Name": "sample string 2", "SCUniqueID": 3, "SCUniqueDisplayName": "sample string 4", "DisplayTypeID": 5, "ProviderID": 6, "Status": true, "SortOrder": 8, "Default": true, "Deleted": true, "OriginalProviderID": 1, "OriginalProviderName": "sample string 11", "DisplayType": "sample string 12" }, { "ProductOptionID": 1, "Name": "sample string 2", "SCUniqueID": 3, "SCUniqueDisplayName": "sample string 4", "DisplayTypeID": 5, "ProviderID": 6, "Status": true, "SortOrder": 8, "Default": true, "Deleted": true, "OriginalProviderID": 1, "OriginalProviderName": "sample string 11", "DisplayType": "sample string 12" } ]
application/xml, text/xml
Sample:
<ArrayOfProductOptionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products"> <ProductOptionViewModel> <Default>true</Default> <Deleted>true</Deleted> <DisplayType>sample string 12</DisplayType> <DisplayTypeID>5</DisplayTypeID> <Name>sample string 2</Name> <OriginalProviderID>1</OriginalProviderID> <OriginalProviderName>sample string 11</OriginalProviderName> <ProductOptionID>1</ProductOptionID> <ProviderID>6</ProviderID> <SCUniqueDisplayName>sample string 4</SCUniqueDisplayName> <SCUniqueID>3</SCUniqueID> <SortOrder>8</SortOrder> <Status>true</Status> </ProductOptionViewModel> <ProductOptionViewModel> <Default>true</Default> <Deleted>true</Deleted> <DisplayType>sample string 12</DisplayType> <DisplayTypeID>5</DisplayTypeID> <Name>sample string 2</Name> <OriginalProviderID>1</OriginalProviderID> <OriginalProviderName>sample string 11</OriginalProviderName> <ProductOptionID>1</ProductOptionID> <ProviderID>6</ProviderID> <SCUniqueDisplayName>sample string 4</SCUniqueDisplayName> <SCUniqueID>3</SCUniqueID> <SortOrder>8</SortOrder> <Status>true</Status> </ProductOptionViewModel> </ArrayOfProductOptionViewModel>