Update a Real Estate
Updates the resource identified by the following URL.This method changes a real estate object by Scout object ID or by your own object id.
PUT /offer/v1.0/user/{username}/realestate/{id} or .../ext-{externalId}
Supported media types:
Notes:
- the realestate type (e.g. apartment rent -> apartment buy) cannot be changed. You need to copy the real estate and insert it, again (GET REALESTATE -> POST REALESTATE)
- The tag "contact" is optional. If you don't enter a contact id, we'll take the standard contact address of the realtor.
- the tag "wgs84Coordinate" is optional. If it is not entered, than the address will be geocoded by us
- the attribute "marketingType" in the price element and additionalCosts element is optional
- Free text fields: only the HTML tag 'BR' is supported (CDATA is not supported)
- Please encode space " " in the URL with "%20"
- You have to send all attributes, also if only one attribute has changed. Otherwise we cannot interpret if a missing attribute should be filled in with NULL or not.
- realEstateProjectId can not be set! Use the RealEstateProject resource to add the realEstates to your project.
Request
Path Parameters
PARAMETER | DESCRIPTION |
---|---|
Username | the username which the user uses for logging in to www.immobilienscout24 |
me | "me" can be used instead of the username, when the user is logged in by 3-legged oauth |
id | the unique scout object ID, which is being created by POST REALESTATE automatically |
external-id | can be used instead of the scout object ID. it is the customer-defined ID of the real estate, must be unique per user |
Query Parameters
usenewenergysourceenev2014values=true: New param since 20.08.2014. Due to downward compatibility you can see the new energySourceEnev2014 values:
PARAMETER | VALUE |
---|---|
energySourceEnev2014 | BIO_ENERGY, WIND_ENERGY, HYDRO_ENERGY, ENVIRONMENTAL_THERMAL_ENERGY, COMBINED_HEAT_AND_POWER_FOSSIL_FUELS, COMBINED_HEAT_AND_POWER_RENEWABLE_ENERGY, COMBINED_HEAT_AND_POWER_REGENERATIVE_ENERGY, COMBINED_HEAT_AND_POWER_BIO_ENERGY |
XML:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
|
JSON:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
|
Response
XML:
1 2 3 4 5 6 7 8 |
|
JSON:
1 2 3 4 5 6 7 8 9 10 |
|