GET api/Banner
Get list of Banners
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of BannerName | Description | Type | Additional information |
---|---|---|---|
id |
Gets or sets the ID of the Banner. |
integer |
None. |
bannerTitle |
Gets or sets the Title of the Banner. |
string |
None. |
imageURL |
Gets or sets the image URL of the banner |
string |
None. |
offerDetails |
Gets or sets the Offer Details of the banner |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "bannerTitle": "sample string 2", "imageURL": "sample string 3", "offerDetails": "sample string 4" }, { "id": 1, "bannerTitle": "sample string 2", "imageURL": "sample string 3", "offerDetails": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfBanner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models"> <Banner> <bannerTitle>sample string 2</bannerTitle> <id>1</id> <imageURL>sample string 3</imageURL> <offerDetails>sample string 4</offerDetails> </Banner> <Banner> <bannerTitle>sample string 2</bannerTitle> <id>1</id> <imageURL>sample string 3</imageURL> <offerDetails>sample string 4</offerDetails> </Banner> </ArrayOfBanner>