Skip to content

Retrieve all Attachments of Real Estate project

This method retrieves all attachments' data assigned to a real estate project

GET /offer/v1.0/user/{username}/realestateproject/{realestateprojectid}/attachment

Supported media types:
XML
JSON

Note

Attachments types supported: Pictures, PDFDocuments, Links.
Picture types supported: COMPANY_LOGO, PROJECT_LOGO, IMAGE.
PDFDocument types supported: BROCHURE.
Link types supported: VIRTUAL_TOUR.

Request

Path Parameters

PARAMETER DESCRIPTION
username the username which the user uses for logging in to www.immobilienscout24.de

"me" can be used instead of the username, when the user is logged in by 3-legged OAuth 1.0
realestateprojectid the unique project ID, generated by IS24 when posting a real estate project

Successful response

HTTP Code: 200

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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:attachments xmlns:ns2="http://rest.immobilienscout24.de/schema/offer/realestateproject/1.0">
  <attachment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:Picture"
              id="1570d590-0a54-4b61-9dd6-7672795f6a7c">
    <pictureType>IMAGE</pictureType>
    <title>comment7Whg80NQ57I3dwxs4buP4</title>
    <urls>
      <url scale="SCALE"
           href="https://pictures.immobilienscout24.de/dims3/S3/resize/%WIDTH%x%HEIGHT%%3E/http://s3-eu-west-1.amazonaws.com/bucket-name/12345/d5fd3c60-5da4-4a4d-b482-607ae54fe7ed.jpg"/>
      <url scale="SCALE_AND_CROP"
           href="https://pictures.immobilienscout24.de/dims3/S3/legacy_thumbnail/%WIDTH%x%HEIGHT%/format/jpg/http://s3-eu-west-1.amazonaws.com/bucket-name/12345/d5fd3c60-5da4-4a4d-b482-607ae54fe7ed.jpg"/>
      <url scale="WHITE_FILLING"
           href="https://pictures.immobilienscout24.de/dims3/S3/resize/%WIDTH%x%HEIGHT%%3E/extent/%WIDTH%x%HEIGHT%/format/jpg/http://s3-eu-west-1.amazonaws.com/bucket-name/12345/d5fd3c60-5da4-4a4d-b482-607ae54fe7ed.jpg"/>
    </urls>
  </attachment>
  <attachment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:PDFDocument"
              id="e3005d38-5c8e-44b2-bf0c-c8d0c9f710d6">
    <url>
      http://s3-eu-west-1.amazonaws.com/bucket-name/12345/5b6981e1-eefe-48e7-9580-31b0987787e7.pdf
    </url>
    <pdfDocumentType>BROCHURE</pdfDocumentType>
  </attachment>
  <attachment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:Link"
              id="969e82fb-6582-4399-a962-7023b8714b97">
    <url>https://virtualtours.immobilienscout24.de/portal/tour/1234</url>
    <linkType>VIRTUAL_TOUR</linkType>
  </attachment>
</ns2:attachments>

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
{
  "realestateproject.attachments": [
    {
      "attachment": [
        {
          "@xsi.type": "realestateproject:Picture",
          "@id": "1570d590-0a54-4b61-9dd6-7672795f6a7c",
          "pictureType": "IMAGE",
          "title": "comment7Whg80NQ57I3dwxs4buP4",
          "urls": [
            {
              "url": [
                {
                  "@scale": "SCALE",
                  "@href": "https:\/\/pictures.immobilienscout24.de\/dims3\/S3\/resize\/%WIDTH%x%HEIGHT%%3E\/http:\/\/s3-eu-west-1.amazonaws.com\/bucket-name\/12345\/d5fd3c60-5da4-4a4d-b482-607ae54fe7ed.jpg"
                },
                {
                  "@scale": "SCALE_AND_CROP",
                  "@href": "https:\/\/pictures.immobilienscout24.de\/dims3\/S3\/legacy_thumbnail\/%WIDTH%x%HEIGHT%\/format\/jpg\/http:\/\/s3-eu-west-1.amazonaws.com\/bucket-name\/12345\/d5fd3c60-5da4-4a4d-b482-607ae54fe7ed.jpg"
                },
                {
                  "@scale": "WHITE_FILLING",
                  "@href": "https:\/\/pictures.immobilienscout24.de\/dims3\/S3\/resize\/%WIDTH%x%HEIGHT%%3E\/extent\/%WIDTH%x%HEIGHT%\/format\/jpg\/http:\/\/s3-eu-west-1.amazonaws.com\/bucket-name\/12345\/d5fd3c60-5da4-4a4d-b482-607ae54fe7ed.jpg"
                }
              ]
            }
          ]
        },
        {
          "@xsi.type": "realestateproject:PDFDocument",
          "@id": "e3005d38-5c8e-44b2-bf0c-c8d0c9f710d6",
          "url": "http:\/\/s3-eu-west-1.amazonaws.com\/bucket-name\/12345\/5b6981e1-eefe-48e7-9580-31b0987787e7.pdf",
          "pdfDocumentType": "BROCHURE"
        },
        {
          "@xsi.type": "realestateproject:Link",
          "@id": "969e82fb-6582-4399-a962-7023b8714b97",
          "url": "https:\/\/virtualtours.immobilienscout24.de\/portal\/tour\/1097196",
          "linkType": "VIRTUAL_TOUR"
        }
      ]
    }
  ]
}