GET api/Advertisements/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Advertisement
NameDescriptionTypeAdditional information
AdvertisementId

integer

None.

Description

string

None.

ImagePath

string

None.

StatusId

integer

None.

CreatedDate

date

None.

CreatedBy

integer

None.

UpdatedDate

date

None.

UpdatedBy

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "AdvertisementId": 1,
  "Description": "sample string 2",
  "ImagePath": "sample string 3",
  "StatusId": 1,
  "CreatedDate": "2025-12-11T15:29:44.8601696+05:30",
  "CreatedBy": 1,
  "UpdatedDate": "2025-12-11T15:29:44.8601696+05:30",
  "UpdatedBy": 1
}

application/xml, text/xml

Sample:
<Advertisement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaliYatraApi.DataAccess">
  <AdvertisementId>1</AdvertisementId>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2025-12-11T15:29:44.8601696+05:30</CreatedDate>
  <Description>sample string 2</Description>
  <ImagePath>sample string 3</ImagePath>
  <StatusId>1</StatusId>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2025-12-11T15:29:44.8601696+05:30</UpdatedDate>
</Advertisement>