Create an ad

POST /advertising/v1.0/ads/

Endpoint for creating advertisements.

application/json

Body

Responses

POST /advertising/v1.0/ads/
curl \
 -X POST http://apis.public-staging.reas.cz/advertising/v1.0/ads/ \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"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}}'
Request example
{
  "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
  }
}
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"
  }
}