GET api/WebApiOdata/GetDesignerProducts?providerID={providerID}&DesignerServiceID={DesignerServiceID}&searchString={searchString}&status={status}&onlyDesigner={onlyDesigner}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
providerID

integer

Required

DesignerServiceID

integer

Required

searchString

string

Required

status

byte

Default value is 1

onlyDesigner

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of DesignerStudioProductViewModel
NameDescriptionTypeAdditional 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.

SupplierID

integer

None.

SellingPrice

decimal number

None.

Published

boolean

None.

LockTypeID

byte

None.

IsTagged

boolean

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,
    "SupplierID": 9,
    "SellingPrice": 10.1,
    "Published": true,
    "LockTypeID": 64,
    "IsTagged": true
  },
  {
    "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,
    "SupplierID": 9,
    "SellingPrice": 10.1,
    "Published": true,
    "LockTypeID": 64,
    "IsTagged": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfDesignerStudioProductViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products">
  <DesignerStudioProductViewModel>
    <BrandName>sample string 7</BrandName>
    <Code>sample string 3</Code>
    <IsTagged>true</IsTagged>
    <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>10.1</SellingPrice>
    <SmallImage>sample string 8</SmallImage>
    <Subscribed>64</Subscribed>
    <SupplierID>9</SupplierID>
    <SupplierName>sample string 4</SupplierName>
  </DesignerStudioProductViewModel>
  <DesignerStudioProductViewModel>
    <BrandName>sample string 7</BrandName>
    <Code>sample string 3</Code>
    <IsTagged>true</IsTagged>
    <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>10.1</SellingPrice>
    <SmallImage>sample string 8</SmallImage>
    <Subscribed>64</Subscribed>
    <SupplierID>9</SupplierID>
    <SupplierName>sample string 4</SupplierName>
  </DesignerStudioProductViewModel>
</ArrayOfDesignerStudioProductViewModel>