GET Ads/{id}

Returns an ad for any user, posted in any country/state/city Example: /ads/12345 (returns an ad whose id is 12345)

Request Information

Parameters

NameDescriptionAdditional information
id
Ad id

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "ID": 0,
  "RegionCode": 3,
  "Place": "New York",
  "Category": "Condo For Sale",
  "EMail": "asdf@xyz.com",
  "URL": null,
  "DatePosted": "0001-01-01T00:00:00",
  "Header": "Condo For Sale",
  "Description": "2 BR/1 Bath condo in NYC for sale",
  "Teaser": null,
  "DetailClick": 0,
  "HeaderURL": null,
  "VideoCode": null,
  "ImageURL": null,
  "Manufacturer": null,
  "Model": null,
  "Price": null,
  "Year": null,
  "Phone": null,
  "AdPics": [
    {
      "$id": "2",
      "ID": 0,
      "ad_id": 0,
      "url": "http://www.srvr1.com/condo.png",
      "DatePosted": "0001-01-01T00:00:00",
      "ad": null
    }
  ]
}

application/xml, text/xml

Sample:
<ad xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Softlifecell.ClassifiedsForFreeApi.Models">
  <AdPics>
    <ad_pic>
      <DatePosted>0001-01-01T00:00:00</DatePosted>
      <ID>0</ID>
      <ad i:nil="true" />
      <ad_id>0</ad_id>
      <url>http://www.srvr1.com/condo.png</url>
    </ad_pic>
  </AdPics>
  <Category>Condo For Sale</Category>
  <DatePosted>0001-01-01T00:00:00</DatePosted>
  <Description>2 BR/1 Bath condo in NYC for sale</Description>
  <DetailClick>0</DetailClick>
  <EMail>asdf@xyz.com</EMail>
  <Header>Condo For Sale</Header>
  <HeaderURL i:nil="true" />
  <ID>0</ID>
  <ImageURL i:nil="true" />
  <Manufacturer i:nil="true" />
  <Model i:nil="true" />
  <Phone i:nil="true" />
  <Place>New York</Place>
  <Price i:nil="true" />
  <RegionCode>3</RegionCode>
  <Teaser i:nil="true" />
  <URL i:nil="true" />
  <VideoCode i:nil="true" />
  <Year i:nil="true" />
</ad>