d0cc95e2 by fehrlich

add delete

1 parent 1a9b7343
...@@ -688,4 +688,15 @@ abstract class ImmoScoutAPI extends GuzzleClient ...@@ -688,4 +688,15 @@ abstract class ImmoScoutAPI extends GuzzleClient
688 688
689 return $arr['common.realtorContactDetailsList']['realtorContactDetails']; 689 return $arr['common.realtorContactDetailsList']['realtorContactDetails'];
690 } 690 }
691
692 /**
693 * Get an array of all contacts that can be specified for a real estate.
694 * @param string $reId realestate id used by is24 *
695 */
696 public function delete($reId)
697 {
698 $res = $this->callMethod('realestate/'.$reId, 'DELETE');
699
700 return $this->checkForResponseDeleted($res);
701 }
691 } 702 }
......
...@@ -4,8 +4,6 @@ namespace fehrlich\ImmoScoutAPI\exceptions; ...@@ -4,8 +4,6 @@ namespace fehrlich\ImmoScoutAPI\exceptions;
4 4
5 use Exception; 5 use Exception;
6 6
7 use Exception;
8
9 class InvalidTokenException extends Exception 7 class InvalidTokenException extends Exception
10 { 8 {
11 } 9 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!