Every published listing is stored in our database under its Id. You can eventually unpublish it (Zonaprop API > DELETE aviso ), republish it (Zonaprop API > PUT aviso ) or modify it without losing the data.

This web service is used to unpublish listings from Zonaprop.

Every published listing is stored in our database under its Id. You can eventually unpublish it (Zonaprop API > DELETE aviso ), republish it (Zonaprop API > PUT aviso ) or modify it without losing the data.

TypeDescription
AuthorizationProperty API authorization token

Production

Resource information
AuthenticationRequired
HTTP MethodDELETE
ResponseJSON
Version1

Resource URL

https://api-navent.mapaprop.com/property-api/navent/delete-property

Parameters - URL

NameTypeRequiredDescription
propertyIdstringyesThe property id
apiKeystringyesThe access token for the Zonaprop API
custIdstringyesThe Zonaprop zone id
brandstringyesThe app name

Response

A string indicating that the unpublishing was successful

ObjectFieldTypeDescription
ResponsesuccessstringA text indicating that the listing was unpublished
errorstringA text indicating where the error occurred

Sample Code

To unpublish a listing we must first have the listing published from our application.

We will make a DELETE request to the endpoint

//Authorization required
//METHOD DELETE

//Endpoint
https://api-navent.mapaprop.com/property-api/navent/delete-property?brand=mapaprop&propertyId=111&custId=1&apiKey=xxxx

//Parameters
//* brand
//* propertyId
//* custId
//* apiKey

Finally we receive a string as response confirming that the listing is OFFLINE

'The publication is now offline.'