Get all ads
Endpoint for retrieving a advertisements that belong to the current user.
Query parameters
-
advertisingCompanyId
string -
advertisingCompanyTag
string -
advertiserTag
string -
statuses
array[string] Allows you to filter the advertisements by status. Will return the ads with the selected statuses. The query parameter should be a valid JSON array. For example:
["open","reserved"]
. This will return only the ads that are being publicly displayed.At least
1
element. Values areopen
,reserved
,sold
,lost
, orinactive
. -
advertiserId
string -
page
number(float) Minimum value is
1
. Default value is1
. -
simplified
boolean By default, we return complete records. If you set this to true, we will return just a simplified version of the records. Page size is 50 by default and 5000 when simplified.
GET
/advertising/v1.0/ads/
curl \
-X GET http://apis.public-staging.reas.cz/advertising/v1.0/ads/ \
-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"
}
],
"paginationInfo": {
"page": 42.0,
"pages": 42.0
}
}