GET api/Account/GetAdvertisement

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Advertisement
NameDescriptionTypeAdditional information
AdvertId

integer

None.

ImageName

string

None.

FromDate

date

None.

ToDate

date

None.

CreatedDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AdvertId": 1,
    "ImageName": "sample string 2",
    "FromDate": "2025-12-06T10:41:53.3188533+05:30",
    "ToDate": "2025-12-06T10:41:53.3188533+05:30",
    "CreatedDate": "2025-12-06T10:41:53.3188533+05:30"
  },
  {
    "AdvertId": 1,
    "ImageName": "sample string 2",
    "FromDate": "2025-12-06T10:41:53.3188533+05:30",
    "ToDate": "2025-12-06T10:41:53.3188533+05:30",
    "CreatedDate": "2025-12-06T10:41:53.3188533+05:30"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAdvertisement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MJMMAPI.Models">
  <Advertisement>
    <AdvertId>1</AdvertId>
    <CreatedDate>2025-12-06T10:41:53.3188533+05:30</CreatedDate>
    <FromDate>2025-12-06T10:41:53.3188533+05:30</FromDate>
    <ImageName>sample string 2</ImageName>
    <ToDate>2025-12-06T10:41:53.3188533+05:30</ToDate>
  </Advertisement>
  <Advertisement>
    <AdvertId>1</AdvertId>
    <CreatedDate>2025-12-06T10:41:53.3188533+05:30</CreatedDate>
    <FromDate>2025-12-06T10:41:53.3188533+05:30</FromDate>
    <ImageName>sample string 2</ImageName>
    <ToDate>2025-12-06T10:41:53.3188533+05:30</ToDate>
  </Advertisement>
</ArrayOfAdvertisement>