Skip to content

Commit 978bb37

Browse files
author
Fabian Mielke
committed
DELETE contact used in index.php
1 parent fd6476b commit 978bb37

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Immocaster PHP SDK v1.1.74
1+
Immocaster PHP SDK v1.1.75
22
==========================
33
Author: Norman Braun (http://www.medienopfer98.de)
44
Copyright: Immobilien Scout GmbH
@@ -9,6 +9,9 @@ Das PHP SDK von ImmobilienScout24 steht unter der FreeBSD Lizenz zur Verfügung
99
History
1010
=======
1111

12+
SDK Version 1.1.75
13+
- DELETE Contact möglich. Powered by amenk.
14+
1215
SDK Version 1.1.74
1316
- PUT Attachment möglich. Hinweis: Aktualisiert die Metdadaten vom Attachment jeder Art (Video, Bild, PDF und URL), aber nicht die binären!
1417

index.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,15 @@
459459
//$res = $oImmocaster->getContact($aParameter);
460460
//echo '<div class="codebox"><textarea>'.$res.'</textarea></div>';
461461

462+
/**
463+
* Löscht eine Kontaktadresse (Contact) eines Maklers
464+
* API Doku: http://api.immobilienscout24.de/our-apis/import-export/contact/delete.html
465+
*/
466+
echo '<h2>Kontaktadresse eines Maklers löschen</h2><br/>Diese Funktion wurde auskommentiert, da dafür eine Zertifizierung nötig ist.<br/><br/>';
467+
//$aParameter = array('username'=>'USERNAME','contactid'=>'CONTACTID' /*id oder externalId*/);
468+
//$res = $oImmocaster->deleteContact($aParameter);
469+
//echo '<div class="codebox"><textarea>'.$res.'</textarea></div>';
470+
462471
/**
463472
* Liste von Objekten OnTop platzieren
464473
* API Doku: http://api.immobilienscout24.de/our-apis/import-export/ontop-placement/post-by-list.html

0 commit comments

Comments
 (0)