Zum Hauptinhalt springen

IWB

Token Information​

GET /iwb/token_info

Informationen zum Benutzer des verwendeten OAuth Tokens

Beispiel​

https://api.justimmo.at/iwb/token_info

Der Wert winreal_id ist optional und wird nur bei sREAL Kanzleien zurückgegeben.

Antwort​

{
"id": 50,
"name": "John Doe",
"phone": "+4317986205 13",
"mobile": "",
"email": "j.doe@bgcc.at",
"winreal_id": "1111",
"agency": {
"id": 7,
"name": "B&G Consulting & Commerce GmbH",
"street": "Mariahilfer Straße 8\/11",
"zip": "1070",
"city": "Wien",
"phone": "+43 1 798 62 05",
"uid": "ATU46322108"
}
}

Objektliste​

GET /iwb/realty

Alle für den Benutzer sichtbaren Objekte, welche sind in aktiver Vermarktung befinden, sortiert nach Objektnummer

Parameter​

NameBeschreibung
cultureSprache des Objekttitels (ISO-2)
Default: de

Beispiel​

https://api.justimmo.at/iwb/realty

Antwort​

[
{
"id": 195425,
"number": "33439",
"status": "5",
"title": "DEMOOBJEKT! Grünruhelage in den Kornkammern Wiens",
"agency_id": 1,
"marketing_type": "buy",
"pictures": [
"http:\/\/files.justimmo.at\/public\/pic\/orig\/APrzj7S1Dx.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AHAzgJFX5G.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AHAzfeocz0.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AHAzdk3L-F.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/APhQaoLBAs.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/APhQbmcx-n.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AHAzhadq0j.jpg"
]
},
{
"id": 332512,
"number": "33441",
"status": "5",
"title": "DEMOOBJEKT! Traumhafter Ferienbungalow in Ko Lanta, Thailand",
"agency_id": 1,
"marketing_type": "rent",
"pictures": [
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AN1fIpmpQm.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AN1fEwPfGE.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AN1fHHhVba.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AN1fGdMT5j.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AN1fJUDegt.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AN1fLL-zrF.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AN1fKmnt2A.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AN1fMDfpM6.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AbZT7mcBc7.jpg"
]
},
{
"id": 195427,
"number": "33442",
"status": "5",
"title": "DEMOOBJEKT! Preisgünstiges attraktives Büro mit Wien-Panoramablick",
"agency_id": 1,
"marketing_type": "lease",
"pictures": [
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AHAzpsUm2g.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AHAzricE51.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AHAzqsKDN9.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AHAzoWQ3y4.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/AHAzs6ilnp.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/APLasS2tzT.jpg",
"http:\/\/files.justimmo.at\/public\/pic\/orig\/APLatgs45a.jpg"
]
}
]

Objektliste nach Nummer​

GET /iwb/realty/number/{number}

Detailinformationen (Openimmo 1.2.7) zu einem Objekt mit der übergebenen {number}, sofern dies für den Benutzer sichtbar ist. {number} erlaubt nicht nur numerische Werte sondern auch Buchstaben und Sonderzeichen

Parameter​

NameBeschreibung
cultureSprache des Objekttitels (ISO-2)
Default: de

Objektdetail​

GET /iwb/realty/{id}

Detailinformationen (Openimmo 1.2.7) zu einem Objekt sofern dies für den Benutzer sichtbar ist

Parameter​

NameBeschreibung
cultureSprache des Objekttitels (ISO-2)
Default: de

Aktivität anlegen/aktualisieren​

POST /iwb/activity

Legt eine Aktivität an oder aktualisiert eine bestehende Aktivität nach {iwb_id}

ParameterType
iwb_idinteger
iwb_numberinteger
cancelledboolean
release_datedate
productvarchar (255)
texttext
order_numbervarchar (255)
rate_pricedecimal (7,2)
transfer_pricedecimal (7,2)
receipt_linkvarchar (255)
realty_idinteger
user_idinteger

Request​

Url: https://api.justimmo.at/iwb/activity
Method: POST
Content-Type: application/json
Body:

{
"iwb_id": 195425,
"iwb_number": 33439,
"cancelled": false,
"release_date": "2016-11-30",
"product": "KURIER / IMMO",
"text": "Lorem ipsum....",
"order_number": "2016/12345",
"rate_price": 124.12,
"transfer_price": 100.00,
"receipt_link": "http://www....",
"realty_id": 12345,
"user_id": 49503
}

Error Response (4xx)​

{
"status": "error",
"message": "Input validation failed.",
"validation_errors": [
"Unexpected extra form field named \"some_unsupported_parameter\".",
"rate_price: \"test\" is not a number.",
"realty_id: Pflichtfeld.",
"user_id: Pflichtfeld."
]
}

Success Response (2xx)​

{
"status": "success",
"iwb_id": 195425,
"ji_id": 49294502
}