Updates - API updates and PHP-SDK 1.0.14 release

03 February 2015

PHP-SDK 1.0.14

https is now the default protocol

Support for half-rooms

<?php
$realty->getRoomCount(); //returns float value

Support for rent duration

<?php
$realty->getRentDuration(); //returns integer value -> 3
$realty->getRentDurationType(); //returns 'month' or 'year'
<verwaltung_objekt>
    <max_mietdauer max_dauer="JAHR">3</max_mietdauer>
</verwaltung_objekt>

Support for buildable area

<?php
$realty->getBuildableArea();
<flaechen>
    <verbaubare_flaeche>3</verbaubare_flaeche>
</flaechen>

Additional information about realty types

<?php
$realty->getRealtyType(); //returns openimmo conform value -> buero_praxen
$realty->getRealtyTypeId(); //returns Justimmo id -> 5
$realty->getRealtyTypeName(); //returns Justimmo name -> Büro / Praxis
<objektkategorie>
    <objektart>
        <buero_praxen />
    </objektart>
    <user_defined_simplefield feldname="objektart_id">5</user_defined_simplefield>
    <user_defined_simplefield feldname="objektart_name">Büro / Praxis</user_defined_simplefield>
</objektkategorie>

Support for sub realty types and filter

<?php
$realty->getSubRealtyType(); //returns openimmo conform value -> PRAXIS
$realty->getSubRealtyTypeId(); //returns Justimmo id -> 25
$realty->getSubRealtyTypeName(); //returns Justimmo name -> Praxis

$query->filterBySubRealtyTypeId(25);
<objektkategorie>
    <objektart>
        <buero_praxen buero_typ="PRAXIS" />
    </objektart>
    <user_defined_simplefield feldname="sub_objektart_id">25</user_defined_simplefield>
    <user_defined_simplefield feldname="sub_objektart_name">Praxis</user_defined_simplefield>
</objektkategorie>

Support for style of buildings and filter

<?php
$realty->getStyleOfBuilding(); //returns name -> Altbau
$realty->getStyleOfBuildingId(); //returns Justimmo id -> 1

$query->filterByStyleOfBuildingId(1);