GET api/WebApiOdata/GetAllSupplierViewProducts?providerId={providerId}&SavedSearchID={SavedSearchID}&categoryId={categoryId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
providerId

string

Required

SavedSearchID

integer

Default value is 0

categoryId

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of SupplierProductViewModel
NameDescriptionTypeAdditional information
ProductID

integer

None.

SCProductID

integer

None.

SmallImage

string

None.

Name

string

None.

Code

string

None.

MAP

decimal number

None.

MSRP

decimal number

None.

Status

boolean

None.

Published

boolean

None.

ModifiedDate

date

None.

SupplierName

string

None.

BrandName

string

None.

DisplayMSRP

string

None.

DisplayMAP

string

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "ProductID": 1,
    "SCProductID": 2,
    "SmallImage": "sample string 3",
    "Name": "sample string 4",
    "Code": "sample string 5",
    "MAP": 6.1,
    "MSRP": 7.1,
    "Status": true,
    "Published": true,
    "ModifiedDate": "9/19/2024",
    "SupplierName": "sample string 10",
    "BrandName": "sample string 11",
    "DisplayMSRP": "$7.10",
    "DisplayMAP": "$6.10"
  },
  {
    "ProductID": 1,
    "SCProductID": 2,
    "SmallImage": "sample string 3",
    "Name": "sample string 4",
    "Code": "sample string 5",
    "MAP": 6.1,
    "MSRP": 7.1,
    "Status": true,
    "Published": true,
    "ModifiedDate": "9/19/2024",
    "SupplierName": "sample string 10",
    "BrandName": "sample string 11",
    "DisplayMSRP": "$7.10",
    "DisplayMAP": "$6.10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSupplierProductViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products">
  <SupplierProductViewModel>
    <BrandName>sample string 11</BrandName>
    <Code>sample string 5</Code>
    <DisplayMAP>$6.10</DisplayMAP>
    <DisplayMSRP>$7.10</DisplayMSRP>
    <MAP>6.1</MAP>
    <MSRP>7.1</MSRP>
    <ModifiedDate>2024-09-19T08:34:07.8765233+00:00</ModifiedDate>
    <Name>sample string 4</Name>
    <ProductID>1</ProductID>
    <Published>true</Published>
    <SCProductID>2</SCProductID>
    <SmallImage>sample string 3</SmallImage>
    <Status>true</Status>
    <SupplierName>sample string 10</SupplierName>
  </SupplierProductViewModel>
  <SupplierProductViewModel>
    <BrandName>sample string 11</BrandName>
    <Code>sample string 5</Code>
    <DisplayMAP>$6.10</DisplayMAP>
    <DisplayMSRP>$7.10</DisplayMSRP>
    <MAP>6.1</MAP>
    <MSRP>7.1</MSRP>
    <ModifiedDate>2024-09-19T08:34:07.8765233+00:00</ModifiedDate>
    <Name>sample string 4</Name>
    <ProductID>1</ProductID>
    <Published>true</Published>
    <SCProductID>2</SCProductID>
    <SmallImage>sample string 3</SmallImage>
    <Status>true</Status>
    <SupplierName>sample string 10</SupplierName>
  </SupplierProductViewModel>
</ArrayOfSupplierProductViewModel>