GET api/LatestProduct/GetLatestProducts

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TopFourImagesModel
NameDescriptionTypeAdditional information
Name

string

None.

LogoPath

string

None.

ProductPath

string

None.

ProductId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "LogoPath": "sample string 2",
    "ProductPath": "sample string 3",
    "ProductId": 1
  },
  {
    "Name": "sample string 1",
    "LogoPath": "sample string 2",
    "ProductPath": "sample string 3",
    "ProductId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfTopFourImagesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.Product">
  <TopFourImagesModel>
    <LogoPath>sample string 2</LogoPath>
    <Name>sample string 1</Name>
    <ProductId>1</ProductId>
    <ProductPath>sample string 3</ProductPath>
  </TopFourImagesModel>
  <TopFourImagesModel>
    <LogoPath>sample string 2</LogoPath>
    <Name>sample string 1</Name>
    <ProductId>1</ProductId>
    <ProductPath>sample string 3</ProductPath>
  </TopFourImagesModel>
</ArrayOfTopFourImagesModel>