GET api/ProductGallery/Gallery/List?ProductId={ProductId}&CurrentPage={CurrentPage}&RowPerPage={RowPerPage}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ProductId

integer

Required

CurrentPage

integer

Required

RowPerPage

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GalleryModel
NameDescriptionTypeAdditional information
Id

integer

None.

ImageUrl

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "imageUrl": "sample string 2"
  },
  {
    "id": 1,
    "imageUrl": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGalleryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Product">
  <GalleryModel>
    <Id>1</Id>
    <ImageUrl>sample string 2</ImageUrl>
  </GalleryModel>
  <GalleryModel>
    <Id>1</Id>
    <ImageUrl>sample string 2</ImageUrl>
  </GalleryModel>
</ArrayOfGalleryModel>