GET api/WebApiOdata/GetEmebellishmentProducts?providerID={providerID}&embID={embID}&searchString={searchString}&status={status}&onlyEmb={onlyEmb}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerID | integer |
Required |
|
embID | integer |
Required |
|
searchString | string |
Required |
|
status | byte |
Default value is 1 |
|
onlyEmb | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of EmbellishmentProductViewModelName | Description | Type | Additional information |
---|---|---|---|
SCProductID | integer |
None. |
|
Name | string |
None. |
|
Code | string |
None. |
|
Subscribed | byte |
None. |
|
SupplierName | string |
None. |
|
MSRP | decimal number |
None. |
|
MAP | decimal number |
None. |
|
BrandName | string |
None. |
|
SmallImage | string |
None. |
|
ProductID | integer |
None. |
|
ProviderID | integer |
None. |
|
SellingPrice | decimal number |
None. |
|
Published | boolean |
None. |
|
EmbName | string |
None. |
|
LockTypeID | byte |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "SCProductID": 1, "Name": "sample string 2", "Code": "sample string 3", "Subscribed": 64, "SupplierName": "sample string 4", "MSRP": 5.1, "MAP": 6.1, "BrandName": "sample string 7", "SmallImage": "sample string 8", "ProductID": 1, "ProviderID": 1, "SellingPrice": 9.1, "Published": true, "EmbName": "sample string 11", "LockTypeID": 64 }, { "SCProductID": 1, "Name": "sample string 2", "Code": "sample string 3", "Subscribed": 64, "SupplierName": "sample string 4", "MSRP": 5.1, "MAP": 6.1, "BrandName": "sample string 7", "SmallImage": "sample string 8", "ProductID": 1, "ProviderID": 1, "SellingPrice": 9.1, "Published": true, "EmbName": "sample string 11", "LockTypeID": 64 } ]
application/xml, text/xml
Sample:
<ArrayOfEmbellishmentProductViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products"> <EmbellishmentProductViewModel> <BrandName>sample string 7</BrandName> <Code>sample string 3</Code> <EmbName>sample string 11</EmbName> <LockTypeID>64</LockTypeID> <MAP>6.1</MAP> <MSRP>5.1</MSRP> <Name>sample string 2</Name> <ProductID>1</ProductID> <ProviderID>1</ProviderID> <Published>true</Published> <SCProductID>1</SCProductID> <SellingPrice>9.1</SellingPrice> <SmallImage>sample string 8</SmallImage> <Subscribed>64</Subscribed> <SupplierName>sample string 4</SupplierName> </EmbellishmentProductViewModel> <EmbellishmentProductViewModel> <BrandName>sample string 7</BrandName> <Code>sample string 3</Code> <EmbName>sample string 11</EmbName> <LockTypeID>64</LockTypeID> <MAP>6.1</MAP> <MSRP>5.1</MSRP> <Name>sample string 2</Name> <ProductID>1</ProductID> <ProviderID>1</ProviderID> <Published>true</Published> <SCProductID>1</SCProductID> <SellingPrice>9.1</SellingPrice> <SmallImage>sample string 8</SmallImage> <Subscribed>64</Subscribed> <SupplierName>sample string 4</SupplierName> </EmbellishmentProductViewModel> </ArrayOfEmbellishmentProductViewModel>