Skip to content

Retrieve attachments order

This method hands out the order of the pictures by real estate object id.

GET /offer/v1.0/user/{username}/realestate/{id}/attachment/attachmentsorder

Supported media types:
XML
JSON

Request

Example

the following URL hands out the order of the pictures and PDFs for the real estate object 58850320:

https://rest.immobilienscout24.de/restapi/api/offer/v1.0/user/999999/realestate/58850320/attachment/attachmentsorder

Tutorial for changing attachmentsorder without saving the ImmobilienScout24-attachment-IDs in your client

  • GETALL ATTACHMENTS using your realestate-id: https://rest.immobilienscout24.de/restapi/api/offer/v1.0/user/{username}/realestate/ext-{id}/attachment
  • The response is in the actual order (IST) and contains the immobilienscout24 attachment ids AND the attachment ids of your system
  • Check order (IST) with your local order (SOLL) by your attachment ids
  • Use PUT ATTACHMENTSORDER in order to transmit your order (SOLL). This only works with the immobilienscout24 attachment ids, which you got from GET ATTACHMENT.

Response

XML:

1
2
3
4
5
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<attachmentsorder:attachmentsorder xmlns:attachmentsorder="http://rest.immobilienscout24.de/schema/attachmentsorder/1.0">
    <attachmentId>715193272</attachmentId>
    <attachmentId>715193262</attachmentId>
</attachmentsorder:attachmentsorder>

JSON:

1
2
3
4
{
  "attachmentsorder.attachmentsorder":
     {"attachmentId":["715193272","715193262"]}
}