Get an ad

GET /advertising/v1.0/ads/{adId}

Endpoint for retrieving advertisement by provided id.

Path parameters

  • adId string Required

    Id of an advertisement. It is either id that was provided in the response of the insert endpoint or it can be thirdPartyId, if it has been provided in the request body of the advertisement insert endpoint.

Responses

GET /advertising/v1.0/ads/{adId}
curl \
 -X GET http://apis.public-staging.reas.cz/advertising/v1.0/ads/63d9007e66fc41b2cd1057c6 \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "success": true,
  "data": {
    "thirdPartyId": "1000025",
    "status": "open",
    "type": "sell",
    "advertiserId": "63d9007e66fc41b2cd1057c6",
    "advertisingCompanyId": "63d9007e66fc41b2cd1057c6",
    "price": 42.0,
    "currency": "czk",
    "priceNote": "string",
    "location": "Jablonecká 415/4, Praha 9",
    "locationAccuracy": "exact",
    "description": "string",
    "referenceId": "string",
    "matterportUrl": "string",
    "possibleMoveInDate": "2024-05-04T09:42:00+00:00",
    "estimatedOtherCosts": 42.0,
    "point": {
      "latitude": 42.0,
      "longitude": 42.0
    },
    "property": {
      "type": "flat",
      "subType": "flat",
      "floor": 42.0,
      "ownership": "private",
      "disposition": "1+kk",
      "floorArea": 42.0,
      "utilityArea": 42.0,
      "constructionType": "brick",
      "elevator": true,
      "floorsCount": 42.0,
      "balcony": true,
      "balconyArea": 42.0,
      "loggia": true,
      "loggiaArea": 42.0,
      "cellar": true,
      "cellarArea": 42.0,
      "terrace": true,
      "terraceArea": 42.0,
      "parkingSpace": true,
      "parkingSpaceCount": 42.0,
      "accessibility": true,
      "heatingKind": [
        "solid_fuels"
      ],
      "energyClass": "A",
      "sauna": true,
      "fireplace": true
    },
    "id": "string",
    "advertiserThirdPartyId": "string",
    "advertisingCompanyThirdPartyId": "string",
    "previewUrl": "string"
  }
}