Skip to content

Commit

Permalink
DELETE contact used in index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Mielke committed Feb 12, 2015
1 parent fd6476b commit 978bb37
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Immocaster PHP SDK v1.1.74
Immocaster PHP SDK v1.1.75
==========================
Author: Norman Braun (http://www.medienopfer98.de)
Copyright: Immobilien Scout GmbH
Expand All @@ -9,6 +9,9 @@ Das PHP SDK von ImmobilienScout24 steht unter der FreeBSD Lizenz zur Verfügung
History
=======

SDK Version 1.1.75
- DELETE Contact möglich. Powered by amenk.

SDK Version 1.1.74
- PUT Attachment möglich. Hinweis: Aktualisiert die Metdadaten vom Attachment jeder Art (Video, Bild, PDF und URL), aber nicht die binären!

Expand Down
9 changes: 9 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,15 @@
//$res = $oImmocaster->getContact($aParameter);
//echo '<div class="codebox"><textarea>'.$res.'</textarea></div>';

/**
* Löscht eine Kontaktadresse (Contact) eines Maklers
* API Doku: http://api.immobilienscout24.de/our-apis/import-export/contact/delete.html
*/
echo '<h2>Kontaktadresse eines Maklers löschen</h2><br/>Diese Funktion wurde auskommentiert, da dafür eine Zertifizierung nötig ist.<br/><br/>';
//$aParameter = array('username'=>'USERNAME','contactid'=>'CONTACTID' /*id oder externalId*/);
//$res = $oImmocaster->deleteContact($aParameter);
//echo '<div class="codebox"><textarea>'.$res.'</textarea></div>';

/**
* Liste von Objekten OnTop platzieren
* API Doku: http://api.immobilienscout24.de/our-apis/import-export/ontop-placement/post-by-list.html
Expand Down

0 comments on commit 978bb37

Please sign in to comment.