Remove a Real Estate from a project

This method deletes a real estate object from project

DELETE /offer/v1.0/user/{username}/realestateproject/{realestateprojectid}/realestateprojectentry/ {realEstateId} or ext-{realEstateExternalId}

Supported media types:
XML
JSON

Note: that it's impossible to remove published real estates from the real estate project. Please deactivate the real estate beforehand!

Request

Path Parameters

PARAMETER DESCRIPTION
Username the username which the user uses for logging in to www.immobilienscout24
Username "me" can be used instead of the username, when the user is logged in by 3-legged oauth
realestateprojectid the unique project ID, generated by IS24 when posting a real estate project
realestateId or realEstateExternalId the ID of the real estate object (real estate project entry). Use scout ID oder your own object ID

Response

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 [real estate from project 987] with id [123456] has been deleted.</message>
        <id>123456</id>
    </message>
</common:messages>

JSON:

{
    "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",
            "message": "Resource [real estate from project 987] with id [123456] has been deleted.",
            "id": "123456"
        }
    }
}