DERHAEUPTLING / contao-immobilienscout24-import-bundle

ImmobilienScout24 Import Plugin for Contao
GNU General Public License v3.0
1 stars 2 forks source link

API: Also get archived real estates #5

Closed m-vo closed 4 years ago

m-vo commented 4 years ago

see fefa014 - this does not make them distinguishable, though.

Metis77 commented 4 years ago

alternatively to using the Archive feature of immoscout, we could use the api searchField1. https://api.immobilienscout24.de/our-apis/import-export/ftp-vs-api/apartment.html

to test this, there should be two objects with searchField1 = Referenzen

m-vo commented 4 years ago

Again, this is a completely different API.

Imo it's a bug (API) that listed isn't set, nor does the state differ.

Metis77 commented 4 years ago

just in case this helps. On https://api.immobilienscout24.de/useful/changelog.html I found:

Import Export API: Status „archived“ will not be handed out anymore

We have analyzed the usage of the status „archived“ within GET REALESTATE requests and the result is, that it is not being used. „archived“ is not connected with functionalities, it’s just a label for real estates which are deactivated over a longer period of time. Since we don’t offer archiving a real estate by API, we’ve decided to delete this attribute. Therewith, the remaining status are „active“ and „inactive“.

Yet the query parameter archivedobjectsincluded (true/false) still works.

m-vo commented 4 years ago

You might want to open an issue at Immoscout24 then. There is nothing we can do.

Metis77 commented 4 years ago

Ok.

We could also define those objects manually in the backend by realEstateId == 114085263 or realEstateId == 114007177.

But it would be great to have any simpler way of doing this. Maybe simply realEstateId == (114085263 or 114007177)

Optional: Or even better a list in module settings with a checkbox for this.

m-vo commented 4 years ago

Closing this as this issue lies within Immoscout24 and not our API implementation.