GET api/WebApiOdata/GetAllMarketingSuggestions?providerId={providerId}&sourceTypeId={sourceTypeId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | integer |
Required |
|
sourceTypeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MarketingSuggestionsViewModelName | Description | Type | Additional information |
---|---|---|---|
ProviderID | integer |
None. |
|
CreatedBy | integer |
None. |
|
SCSourceID | integer |
None. |
|
SourceTypeID | integer |
None. |
|
Name | string |
None. |
|
CrossSell | integer |
None. |
|
UpSell | integer |
None. |
|
Accessories | integer |
None. |
|
NewArrivals | integer |
None. |
|
TopSellers | integer |
None. |
|
FeaturedProducts | integer |
None. |
|
Status | boolean |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "ProviderID": 1, "CreatedBy": 2, "SCSourceID": 3, "SourceTypeID": 4, "Name": "sample string 5", "CrossSell": 6, "UpSell": 7, "Accessories": 8, "NewArrivals": 9, "TopSellers": 10, "FeaturedProducts": 11, "Status": true }, { "ProviderID": 1, "CreatedBy": 2, "SCSourceID": 3, "SourceTypeID": 4, "Name": "sample string 5", "CrossSell": 6, "UpSell": 7, "Accessories": 8, "NewArrivals": 9, "TopSellers": 10, "FeaturedProducts": 11, "Status": true } ]
application/xml, text/xml
Sample:
<ArrayOfMarketingSuggestionsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Marketing"> <MarketingSuggestionsViewModel> <Accessories>8</Accessories> <CreatedBy>2</CreatedBy> <CrossSell>6</CrossSell> <FeaturedProducts>11</FeaturedProducts> <Name>sample string 5</Name> <NewArrivals>9</NewArrivals> <ProviderID>1</ProviderID> <SCSourceID>3</SCSourceID> <SourceTypeID>4</SourceTypeID> <Status>true</Status> <TopSellers>10</TopSellers> <UpSell>7</UpSell> </MarketingSuggestionsViewModel> <MarketingSuggestionsViewModel> <Accessories>8</Accessories> <CreatedBy>2</CreatedBy> <CrossSell>6</CrossSell> <FeaturedProducts>11</FeaturedProducts> <Name>sample string 5</Name> <NewArrivals>9</NewArrivals> <ProviderID>1</ProviderID> <SCSourceID>3</SCSourceID> <SourceTypeID>4</SourceTypeID> <Status>true</Status> <TopSellers>10</TopSellers> <UpSell>7</UpSell> </MarketingSuggestionsViewModel> </ArrayOfMarketingSuggestionsViewModel>