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.minimal 9999999999999.99
price.maximal 9999999999999.99
space.minimal 99999999.99
space.maximal 99999999.99
numberOfHousingUnit 9999
interiorQuality enum: NO_INFORMATION, LUXURY, SOPHISTICATED, NORMAL, SIMPLE
freeFrom 50 characters
address.street 100 characters
address.houseNumber 30 characters
address.postcode 20 characters
address.city 50 characters
homepageUrl 500 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."
      }
    }
  ]
}