Publish

PublishChannel/GET

The ressource PublishChannel hands out the publish channels on which a user can publish a Realestate in. All users with an active product are allowed to publish in these two channels: "10000" for www.immobilienscout24.de and "10001" for the customers homepage. If a realtor wants to publish an object on his website, only, then set 10001, only. This ressource is necessary, if a user wants to publish objects in one or more groups (Börsen).

https://rest.immobilienscout24.de/restapi/api/offer/v1.0/user/{username}/publishchannel

 

  • Only GET is supported

Example GET: https://rest.immobilienscout24.de/restapi/api/offer/v1.0/user/999999/publishchannel hands out the publish channels, for which the user with "99999" is entitled to publish objects in.

 


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

  • Username: The authentificatet username must be identical to the username which you've entered in the url.
  • me: can be used instead of the username.


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:publishChannelsxmlns:xlink="http://www.w3.org/1999/xlink" xmlns:common="http://rest.immobilienscout24.de/schema/common/1.0">

<publishChannel title="(Börse) CDI1" id="183"/>

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

<publishChannel title="ImmobilienScout24" id="10000"/>

</common:publishChannels>

 

 


JSON

 

 

{

"common.publishChannels":{

"publishChannel":[{

"@title":"(B<F6>rse)   CDI1",

"@id":"183"},

{

"@title":"Homepage",

"@id":"10001"},

{

"@title":"ImmobilienScout24",

"@id":"10000"}

]

}

}