Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Vlad Bukhanets
/
immoscout24-api-php
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Merge Requests
0
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d0cc95e2
authored
2019-12-05 14:41:30 +0100
by
fehrlich
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add delete
1 parent
1a9b7343
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
src/ImmoScoutAPI.php
src/exceptions/InvalidTokenException.php
src/ImmoScoutAPI.php
View file @
d0cc95e
...
...
@@ -688,4 +688,15 @@ abstract class ImmoScoutAPI extends GuzzleClient
return
$arr
[
'common.realtorContactDetailsList'
][
'realtorContactDetails'
];
}
/**
* Get an array of all contacts that can be specified for a real estate.
* @param string $reId realestate id used by is24 *
*/
public
function
delete
(
$reId
)
{
$res
=
$this
->
callMethod
(
'realestate/'
.
$reId
,
'DELETE'
);
return
$this
->
checkForResponseDeleted
(
$res
);
}
}
...
...
src/exceptions/InvalidTokenException.php
View file @
d0cc95e
...
...
@@ -4,8 +4,6 @@ namespace fehrlich\ImmoScoutAPI\exceptions;
use
Exception
;
use
Exception
;
class
InvalidTokenException
extends
Exception
{
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment