Publish

Publish/GetbyID

This method shows a list of publish channels in which the real estate object is published, by publish channel id

https://rest.immobilienscout24.de/restapi/api/offer/v1.0/publish/{id}

 

Example: https://rest.immobilienscout24.de/restapi/api/offer/v1.0/publish/58850320_10001 lists the publish ressource with ID=58850320_10001. That is the mapping of th real estate object with the scout object ID=58850320 to the publish channel with the ID=10001.

 

Supported media types

  • XML (Accept: application/xml)
  • JSON (Accept: application/json)

Authorization requirements

A System Key and an authenticated user are required for this operation:

 

Please use a secure connection (https) for this operation.

 

Request

Path Parameters

  • {id}: the unique publish id.

Query Parameters

  • none

Response

The following section includes the HTTP status code, a short description and examples for the response body content of a successful processed request.
Error responses as well as other simple message responses are described in detail within the common message responses.

Status 200 OK

The requested operation was successful.

Header

  • none

Body

XML

 

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<common:publishObject xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:common="http://rest.immobilienscout24.de/schema/common/1.0" id="58850320_10001">

<realEstate title="testzettel" id="58850320"/>

<publishChannel title="Homepage" id="10001"/>

</common:publishObject>

 

 

 

JSON

 

 

{

"common.publishObjects":  {

"publishObject":[{

"@id":"58850320_183",

"realEstate":{

"@title":"testzettel",

"@id":"58850320"

},

"publishChannel":{

"@title":"(Börse) CDI1",

"@id":"183"

}

},

  {

"@id":"58850320_10001",

"realEstate":{

"@title":"testzettel",

"@id":"58850320"

},

"publishChannel":{

"@title":"Homepage",

"@id":"10001"

}

}]

}

}