Delete list of publications
This methods deletes a list of publications.
DELETE /offer/v1.0/publish/list?publishids={pusblishid,publishid,...}
Note that if an object is deactivated in the is24 publish channel 10000, every given OnTop Placement will also be deactivated!
Request
Query parameters
PARAMETER |
VALUE |
publishids |
publishid is the ScoutID of the realestate and publishChannelID connected with a underscore, e.g. "6254782_10000" |
Response
XML:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<common:publishObjects xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:common="http://rest.immobilienscout24.de/schema/common/1.0" xmlns:ns4="http://rest.immobilienscout24.de/schema/platform/gis/1.0">
<publishObject id="62562893_10000">
<realEstate id="62562893"/>
<publishChannel id="10000"/>
<messageCode>MESSAGE_OPERATION_SUCCESSFUL</messageCode>
<message>publishing deleted</message>
</publishObject>
<publishObject id="62571935_100001">
<realEstate id="62571935"/>
<publishChannel id="100001"/>
<messageCode>ERROR_RESOURCE_NOT_FOUND</messageCode>
<message>PublishObject with ID 62571935_100001 does not exist.</message>
</publishObject>
</common:publishObjects>
|
JSON:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 | {
"common:publishObjects": {
"@xmlns:xlink": "http://www.w3.org/1999/xlink",
"@xmlns:common": "http://rest.immobilienscout24.de/schema/common/1.0",
"@xmlns:ns4": "http://rest.immobilienscout24.de/schema/platform/gis/1.0",
"publishObject": [
{
"@id": "62562893_10000",
"realEstate": {
"@id": "62562893"
},
"publishChannel": {
"@id": "10000"
},
"messageCode": "MESSAGE_OPERATION_SUCCESSFUL",
"message": "publishing deleted"
},
{
"@id": "62571935_100001",
"realEstate": {
"@id": "62571935"
},
"publishChannel": {
"@id": "100001"
},
"messageCode": "ERROR_RESOURCE_NOT_FOUND",
"message": "PublishObject with ID 62571935_100001 does not exist."
}
]
}
}
|