GET v2/Vendors/ImageSize/{screenWidth}

Returns all vendors with image thumb

Request Information

URI Parameters

NameDescriptionTypeAdditional information
screenWidth

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of VendorModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Description

string

None.

HasFeaturedProducts

boolean

None.

VendorLevelId

integer

None.

ImageId

integer

None.

ImageBytes

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "HasFeaturedProducts": true,
    "VendorLevelId": 5,
    "ImageId": 6,
    "ImageBytes": "sample string 7"
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "HasFeaturedProducts": true,
    "VendorLevelId": 5,
    "ImageId": 6,
    "ImageBytes": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfVendorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Go4Gold.WebAPI.Models">
  <VendorModel>
    <Description>sample string 3</Description>
    <HasFeaturedProducts>true</HasFeaturedProducts>
    <Id>1</Id>
    <ImageBytes>sample string 7</ImageBytes>
    <ImageId>6</ImageId>
    <Name>sample string 2</Name>
    <VendorLevelId>5</VendorLevelId>
  </VendorModel>
  <VendorModel>
    <Description>sample string 3</Description>
    <HasFeaturedProducts>true</HasFeaturedProducts>
    <Id>1</Id>
    <ImageBytes>sample string 7</ImageBytes>
    <ImageId>6</ImageId>
    <Name>sample string 2</Name>
    <VendorLevelId>5</VendorLevelId>
  </VendorModel>
</ArrayOfVendorModel>