Publish

Publish/DeletebyID

Deletes the resource identified by the following URL.This method deletes the attribution of a real estate to a publish channel by publish channel ID

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

 

DELETE is idempotent.Example: https://rest.immobilienscout24.de/restapi/api/offer/v1.0/publish/58850320_10001 deletes the publish resource with the ID=58850320_10001. That is the attribution of the real estate with the scout object ID = 58850320 to the publish channel with the ID = 10001.

Every publication has to be deleted with an own request (lists of IDs are not supported).

NOTICE: if an object is deactivated in the is24 publish channel 10000, every given OnTop Placement will also be deactivated!

 

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, generated by Immobilienscout24.

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

This status code is returned after an entity of a resource was successfully deleted.

Header

  • none

Body

XML

 

 

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

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

<message>

<messageCode>MESSAGE_RESOURCE_DELETED</messageCode>

<message>Resource [NAME] with id [ID] has been deleted.</message>

</message>

</common:messages>

 

 

 

JSON

 

 

{

"common.messages":[

{ "message":{

"messageCode":"MESSAGE_RESOURCE_DELETED",

"message":"Resource [NAME] with id [ID] has been deleted."

}

}

]

}