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.
| Type | Description |
|---|---|
| Authorization | Property API authorization token |
Production
| Resource information | |
|---|---|
| Authentication | Required |
| HTTP Method | DELETE |
| Response | JSON |
| Version | 1 |
Resource URL
https://api-navent.mapaprop.com/property-api/navent/delete-property
Parameters - URL
| Name | Type | Required | Description |
|---|---|---|---|
propertyId | string | yes | The property id |
apiKey | string | yes | The access token for the Zonaprop API |
custId | string | yes | The Zonaprop zone id |
brand | string | yes | The app name |
Response
A string indicating that the unpublishing was successful
| Object | Field | Type | Description |
|---|---|---|---|
| Response | success | string | A text indicating that the listing was unpublished |
| error | string | A 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.'