GET api/AdBanners

Get list of Banners

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AdBanner
NameDescriptionTypeAdditional information
id

Gets or sets the ID of the Banner.

integer

None.

bannerName

Gets or sets the name of the Banner.

string

None.

imageURL

Gets or sets the image URL of the banner

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "bannerName": "sample string 2",
    "imageURL": "sample string 3"
  },
  {
    "id": 1,
    "bannerName": "sample string 2",
    "imageURL": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAdBanner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models">
  <AdBanner>
    <bannerName>sample string 2</bannerName>
    <id>1</id>
    <imageURL>sample string 3</imageURL>
  </AdBanner>
  <AdBanner>
    <bannerName>sample string 2</bannerName>
    <id>1</id>
    <imageURL>sample string 3</imageURL>
  </AdBanner>
</ArrayOfAdBanner>