Professionnels et industriels

Découvrez la web agency Apiwork,
spécialiste de la création de sites Internet, Intranet et Extranet.
(plus d'informations)

Webservice Apimo

Le webservice Apimo a pour but d'uniformiser les échanges entre sa plateforme et ses partenaires.
Retrouvez sur ce lien l'ensemble du référentiel.

Informations générales

Format : XML
Codage : UTF-8
En-tête : <?xml version="1.0" encoding="UTF-8"?>
Multilangue : le fichier est multilingue (I18N et l10N)
Exemple : un francophone en France (fr_FR), un francophone au Canada (fr_CA), un anglophone au Etats-Unis (en_US)
http://fr.wikipedia.org/wiki/Internationalisation_de_logiciel
Compression : aucune

Description fichier XML

  estates : l'ensemble des annonces
  - estate : une annonce
    type : "1" pour vente, "2" pour location, "3" pour location saisonnière, "4" pour programme neuf
    id : clef unique appelée Apinumber
    - reference : référence
    - mandate_num : numéro de mandat
    - mandate_type : type de mandat
    - type : type du bien
    - type_specific : type du bien précis
    - rooms : nombre de pièces
    - district : quartier ou secteur
    - city : ville
      id : code commune
    - zipcode : code postal
    - country : code pays
    - area : surface habitable
    - area_total : surface totale
    - area_balcony : surface balcon
    - area_terrace : surface terrasse
    - area_plot : surface terrain
    - floor_total : nombre d'étage de l'immeuble
    - floor : étage du bien
    - condition : état
    - style : style
    - standing : standing
    - price : prix commission compris
    - price_max : prix maximun
    - price_period : 
    - price_hidden : prix masqué
    - built_in : année de construction format YYYY
    - heating : moyen de chauffage
    - heating_type : type de chauffage
    - heating_type_2 : type d'accès au chauffage
    - used_water : eaux usées
    - hot_water : eau chaude
    - taxe_1 : charges mensuelles
    - taxe_1_type : période charges mensuelles
    - taxe_2 : taxe foncière annuelle
    - taxe_3 : taxe habitable annuelle
    - selection : sélection
    - user : responsable
    - newprogram_type : programme neuf - type
    - newprogram_step : programme neuf - étape
    - newprogram_reduced_fees : programme neuf - frais réduits
    - name : nom
    - orientations : liste des expositions
      - orientation : exposition
      id : clef unique
    - comments : liste des commentaires
      - comment : commentaire
      lang : langue au format I18N_L10N
    - pictures : liste des photos
      - picture : photo
      id : clef unique
      rank : position
        - link : lien vers la photo en http
        - comment : commentaire
    - medias : liste des medias
      - media : medias
      id : clef unique
        - content : commentaire
        method : lien http ou dom

Exemple

<?xml version="1.0" encoding="UTF-8"?>
<estates>
	<estate id="38087" type="1">
		<reference>33537</reference>
		<mandate_num>286</mandate_num>
		<type>1</type>
		<type_specific>5</type_specific>
		<rooms>4</rooms>
		<city><![CDATA[NICE]]></city>
		<district><![CDATA[CIMIEZ]]></district>
		<zipcode><![CDATA[06000]]></zipcode>
		<country>FR</country>
		<area>94.00</area>
		<area_total>94.00</area_total>
		<area_balcony>15.00</area_balcony>
		<area_terrace></area_terrace>
		<floor_total>5</floor_total>
		<floor>3</floor>
		<condition>4</condition>
		<style><![CDATA[standing]]></style>
		<price>439000</price>
		<price_hidden></price_hidden>
		<built_in>1969</built_in>
		<heating>3</heating>
		<heating_type>1</heating_type>
		<heating_type_2>2</heating_type_2>
		<used_water></used_water>
		<hot_water>1</hot_water>
		<taxe_1>260.00</taxe_1>
		<taxe_1_type>2</taxe_1_type>
		<taxe_2></taxe_2>
		<taxe_3>1250.00</taxe_3>
		<selection></selection>
		<orientations>
			<orientation id="1">1</orientation>
			<orientation id="2">3</orientation>
		</orientations>
		<views>
			<view id="1">7</view>
		</views>
		<comments>
			<comment lang="fr_FR"><![CDATA[4 pièces traversant dans un immeuble standing, en parfait ...]]></comment>
			<comment lang="en_GB"><![CDATA[]]></comment>
			<comment lang="de_DE"><![CDATA[]]></comment>
			<comment lang="it_IT"><![CDATA[]]></comment>
			<comment lang="es_ES"><![CDATA[]]></comment>
			<comment lang="ru_RU"><![CDATA[]]></comment>
			<comment lang="no_NO"><![CDATA[]]></comment>
		</comments>
		<pictures>
			<picture id="212164" rank="0">
				<link protocol="http">http://intranet.apimo.com/uploads/estate_pictures/38087/78231488649d36e70e7a803.41948110_400.jpg</link>
				<comment lang="fr_FR"><![CDATA[]]></comment>
			</picture>
			<picture id="212155" rank="2">
				<link protocol="http">http://intranet.apimo.com/uploads/estate_pictures/38087/177772204749d36dc5012c69.98555132_400.jpg</link>
				<comment lang="fr_FR"><![CDATA[]]></comment>
			</picture>
			<picture id="1183067" rank="1">
				<link protocol="http">http://intranet.apimo.com/uploads/estate_pictures/38087/53920664949da0526173ad3.26906258_400.jpg</link>
				<comment lang="fr_FR"><![CDATA[]]></comment>
			</picture>
			<picture id="212163" rank="3">
				<link protocol="http">http://intranet.apimo.com/uploads/estate_pictures/38087/12372118149d36e4c9f4574.16272902_400.jpg</link>
				<comment lang="fr_FR"><![CDATA[]]></comment>
			</picture>
			<picture id="212158" rank="4">
				<link protocol="http">http://intranet.apimo.com/uploads/estate_pictures/38087/170115944349d36df3a4bc95.37760411_400.jpg</link>
				<comment lang="fr_FR"><![CDATA[]]></comment>
			</picture>
			<picture id="212168" rank="5">
				<link protocol="http">http://intranet.apimo.com/uploads/estate_pictures/38087/18035969149d36f1b1238b3.71601028_400.jpg</link>
				<comment lang="fr_FR"><![CDATA[]]></comment>
			</picture>
			<picture id="212162" rank="6">
				<link protocol="http">http://intranet.apimo.com/uploads/estate_pictures/38087/155593299749d36e21b8f082.13984274_400.jpg</link>
				<comment lang="fr_FR"><![CDATA[]]></comment>
			</picture>
			<picture id="212166" rank="7">
				<link protocol="http">http://intranet.apimo.com/uploads/estate_pictures/38087/115231180949d36eaa870917.63884077_400.jpg</link>
				<comment lang="fr_FR"><![CDATA[]]></comment>
			</picture>
			<picture id="212167" rank="8">
				<link protocol="http">http://intranet.apimo.com/uploads/estate_pictures/38087/66420807249d36ed46259d0.32283256_400.jpg</link>
				<comment lang="fr_FR"><![CDATA[]]></comment>
			</picture>
		</pictures>
		<proximities>
		</proximities>
		<rooms>
			<room id="1722956" rank="1">
				<type>20</type>
				<comment lang="fr_FR"><![CDATA[]]></comment>
				<area>32.00</area>
				<number>1</number>
				<coating>0</coating>
				<floor></floor>
			</room>
			<room id="1722973" rank="2">
				<type>3</type>
				<comment lang="fr_FR"><![CDATA[]]></comment>
				<area>7.00</area>
				<number>1</number>
				<coating>0</coating>
				<floor></floor>
			</room>
			<room id="1722980" rank="3">
				<type>1</type>
				<comment lang="fr_FR"><![CDATA[]]></comment>
				<area>21.00</area>
				<number>1</number>
				<coating>0</coating>
				<floor></floor>
			</room>
			<room id="1722981" rank="4">
				<type>1</type>
				<comment lang="fr_FR"><![CDATA[]]></comment>
				<area>13.00</area>
				<number>1</number>
				<coating>0</coating>
				<floor></floor>
			</room>
			<room id="1722982" rank="5">
				<type>1</type>
				<comment lang="fr_FR"><![CDATA[]]></comment>
				<area>10.00</area>
				<number>1</number>
				<coating>0</coating>
				<floor></floor>
			</room>
			<room id="1722983" rank="6">
				<type>4</type>
				<comment lang="fr_FR"><![CDATA[]]></comment>
				<area></area>
				<number>1</number>
				<coating>0</coating>
				<floor></floor>
			</room>
		</rooms>
		<services>
			<service id="625206">
				<type>4</type>
				<comment lang="fr_FR"><![CDATA[]]></comment>
			</service>
			<service id="625207">
				<type>6</type>
				<comment lang="fr_FR"><![CDATA[]]></comment>
			</service>
			<service id="625208">
				<type>20</type>
				<comment lang="fr_FR"><![CDATA[]]></comment>
			</service>
			<service id="625209">
				<type>7</type>
				<comment lang="fr_FR"><![CDATA[]]></comment>
			</service>
			<service id="625210">
				<type>9</type>
				<comment lang="fr_FR"><![CDATA[]]></comment>
			</service>
		</services>
	</estate>
</estates>