DELETEbyList Publish

This methods deletes a list of publications.

DELETE https://rest.immobilienscout24.de/restapi/api/offer/v1.0/publish/list?publishids={pusblishid,publishid,...}

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

  • none

Query Parameters

  • publishids: publishid is the ScoutID of the realestate and publishChannelID connected with a underscore, e.g. "6254782_10000"

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

No special headers.

Body

XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<common:publishObjects xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:common="http://rest.immobilienscout24.de/schema/common/1.0" xmlns:ns4="http://rest.immobilienscout24.de/schema/platform/gis/1.0">
    <publishObject id="62562893_10000">
        <realEstate id="62562893"/>
        <publishChannel id="10000"/>
        <messageCode>MESSAGE_OPERATION_SUCCESSFUL</messageCode>
        <message>publishing deleted</message>
    </publishObject>
    <publishObject id="62571935_100001">
        <realEstate id="62571935"/>
        <publishChannel id="100001"/>
        <messageCode>ERROR_RESOURCE_NOT_FOUND</messageCode>
        <message>PublishObject with ID 62571935_100001 does not exist.</message>
    </publishObject>
</common:publishObjects>

JSON

{
    "common:publishObjects": {
        "@xmlns:xlink": "http://www.w3.org/1999/xlink", 
        "@xmlns:common": "http://rest.immobilienscout24.de/schema/common/1.0", 
        "@xmlns:ns4": "http://rest.immobilienscout24.de/schema/platform/gis/1.0", 
        "publishObject": [
            {
                "@id": "62562893_10000", 
                "realEstate": {
                    "@id": "62562893"
                }, 
                "publishChannel": {
                    "@id": "10000"
                }, 
                "messageCode": "MESSAGE_OPERATION_SUCCESSFUL", 
                "message": "publishing deleted"
            }, 
            {
                "@id": "62571935_100001", 
                "realEstate": {
                    "@id": "62571935"
                }, 
                "publishChannel": {
                    "@id": "100001"
                }, 
                "messageCode": "ERROR_RESOURCE_NOT_FOUND", 
                "message": "PublishObject with ID 62571935_100001 does not exist."
            }
        ]
    }
}