Update a Real Estate project

Update the resource "realestateproject" by Id

PUT /offer/v1.0/user/{username}/realestateproject/{realestateprojectid}

Supported media types:
XML
JSON

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

Body Values

PARAMETER MAX VALUE
name 40 characters
title 100 characters
price.minmal 2.111.111.111.111
price.maximal 8.999.999.999.999
space.minimal 10.000.000
space.maximal 20.000.000
numberOfHousingUnit 999
interiorQuality enum
freeFrom 50 characters
address.street 100 characters
address.houseNumber 30 characters
address.postcode 20 characters
address.city 50 characters

XML:

<realestateproject:realEstateProject xmlns:realestateproject="http://rest.immobilienscout24.de/schema/offer/realestateproject/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ns4="http://rest.immobilienscout24.de/schema/platform/gis/1.0">
   <name>Projektname</name>
   <title>testprojekt restapi</title>
   <price>
      <minimal>10000</minimal>
      <maximal>1000000</maximal>
   </price>
   <space>
      <minimal>200</minimal>
      <maximal>200</maximal>
   </space>
   <numberOfHousingUnit>3</numberOfHousingUnit>
   <interiorQuality>SOPHISTICATED</interiorQuality>
   <freeFrom>morgen</freeFrom>
   <address>
      <street>andreasstrasse</street>
      <houseNumber>10</houseNumber>
      <postcode>10179</postcode>
      <city>berlin</city>
   </address>
</realestateproject:realEstateProject>

JSON:

{
  "realestateproject.realEstateProject":{
    "name":"Projektname",
    "title":"testprojekt restapi",
    "price":{
      "minimal":10000,
      "maximal":1000000
    },
    "space":{
      "minimal":200,
      "maximal":200
    },
    "numberOfHousingUnit":3,
    "interiorQuality":"SOPHISTICATED",
    "freeFrom":"morgen",
    "address":{
      "street":"andreasstrasse",
      "houseNumber":"10",
      "postcode":"10179",
      "city":"berlin"
    }
  }
}

Response

XML:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<common:messages xmlns:common="http://rest.immobilienscout24.de/schema/common/1.0"
    xmlns:xlink="http://www.w3.org/1999/xlink">
    <message>
        <messageCode>MESSAGE_RESOURCE_UPDATED</messageCode>
        <message>Resource [NAME] with id [ID] has been updated. </message>
    </message>
</common:messages>

JSON:

{
  "common.messages":[
    {
      "message":{
        "messageCode":"MESSAGE_RESOURCE_UPDATED",
        "message":"Resource [NAME] with id [ID] has been updated."
      }
    }
  ]
}