DERHAEUPTLING / contao-immobilienscout24-import-bundle

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

Add publishChannels #16

Closed Metis77 closed 4 years ago

Metis77 commented 4 years ago

The import/export API contains in its Request for all or specific real estates information about where the objects should be published. Possible values are Immobilienscout24 and/or Homepage.

The request would be the normal import API Request like: https://rest.immobilienscout24.de/restapi/api/offer/v1.0/user/me/realestate

the part of the JSON response:

"common.publishChannels":[
            {
              "publishChannel":[
                {
                  "@id":"10000",
                  "@title":"Immobilienscout24"
                },
                {
                  "@id":"10001",
                  "@title":"Homepage"
                }
              ]
            }
          ]

@m-vo is it possible to add this?

m-vo commented 4 years ago

In general: yes. I'd have to see if this information is really available in the actual data and has meaningful values, though (this wasn't the case for quite some of the documented values).

Metis77 commented 4 years ago

It was available in the live playground just now ... but as far as i can recall is was not when we started this plugin. Would be great, if you could check this.