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 update listings in Zonaprop. The publication is performed with a Property Object. You can see this object in Zonaprop API > Property Object

Headers

TypeDescription
AuthorizationProperty API authorization token

Production

Resource information
AuthenticationRequired
HTTP MethodPUT
ResponseJSON
Version1

Resource URL

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

Parameters - JSON Body

NameTypeRequiredDescription
realStateIdstringyesThe id of the real estate agency registered in Zonaprop
propertyIdstringyesThe property id
apiKeystringyesThe access token for the Zonaprop API
custIdstringyesThe Zonaprop zone id
brandstringyesThe app name
propertyJsonstringyesThe property JSON. You can see details of its structure in Zonaprop API > Property Object

Response

A JSON indicating the listing status

ObjectFieldTypeDescription
ResponsesuccessstringThe JSON of the property ONLINE in Zonaprop
errorstringA text indicating where the error occurred

Sample code

//Authorization required
//METHOD PUT

//Endpoint
https://api-navent.mapaprop.com/property-api/navent/update-property?xxxxxx

//Request body
{
    "codigoAviso": "254537___mapaprop",
    "claveReferencia": null,
    "titulo": "Hermosa Casa 5 Amb en Venta en Barrio Altos de Podesta",
    "descripcion": "** AVISO IMPORTANTE : PROPIEDAD RESERVADA !!\n\nVenta | Hermosa Casa 5 Amb con Escritura en Barrio Altos de Podesta  . En Planta Baja cuenta con Jardín, Garage cubierto para 1 auto, Living Comedor con pisos de madera y estufa, hall distribuidor con acceso a baño instalado con ducha, 2 dormitorios con pisos de madera y placard, Cocina con horno empotrable, anafe, bajo mesada y alacena completo con Estar Comedor muy amplio con acceso a parrilla . Además cuenta con un amplio patio con fondo libre, con base para parrilla y lavadero semi cubierto. En Planta Alta acceso por escalera de madera, hall distribuidor con baño instalado con ducha, 2 dormitorios con pisos de madera, placard, aire acondicionado y baulera. Propiedad refaccionada y ampliada en muy buen estado. Muy Luminosa. \n\nUbicada en Barrio Privado Altos de Podestá con seguridad 24 hs, Jardín, Colegio, Plazas y Comercios varios. Ideal para vivir tranquilo y seguro. \n\nInfo Importante : Propiedad con Escritura. \n\nConsulte.\n\n** AVISO IMPORTANTE : PROPIEDAD RESERVADA !! - Publicado a través de Mapaprop",
    "tipoDePropiedad": {
        "idTipo": "1",
        "tipo": "Casa",
        "idSubTipo": null,
        "subTipo": null
    },
    "caracteristicas": [
        {
            "id": "CFT101",
            "nombre": "MEDIDAS|SUPERFICIE_CUBIERTA",
            "valor": 142,
            "idValor": null
        },
        {
            "id": "CFT100",
            "nombre": "MEDIDAS|SUPERFICIE_TOTAL",
            "valor": 187,
            "idValor": null
        },
        {
            "id": "1000114",
            "nombre": "AMBIENTES|PATIO",
            "valor": "True",
            "idValor": null
        },
        {
            "id": "1000038",
            "nombre": "OTROS|AIRE_ACONDICIONADO",
            "valor": "True",
            "idValor": null
        },
        {
            "id": "1000104",
            "nombre": "AMBIENTES|COMEDOR_DE_DIARIO",
            "valor": "True",
            "idValor": null
        },
        {
            "id": "CFT3",
            "nombre": "PRINCIPALES|BANO",
            "valor": 2,
            "idValor": null
        },
        {
            "id": "CFT5",
            "nombre": "PRINCIPALES|ANTIGUEDAD",
            "valor": 10,
            "idValor": null
        },
        {
            "id": "CFT7",
            "nombre": "PRINCIPALES|COCHERA",
            "valor": 1,
            "idValor": null
        },
        {
            "id": "CFT2",
            "nombre": "PRINCIPALES|DORMITORIO",
            "valor": 4,
            "idValor": null
        },
        {
            "id": "1000095",
            "nombre": "OTROS|TERMOTANQUE",
            "valor": "True",
            "idValor": null
        },
        {
            "id": "1000046",
            "nombre": "OTROS|CALEFACCION",
            "valor": "True",
            "idValor": null
        },
        {
            "id": "CFT1",
            "nombre": "PRINCIPALES|AMBIENTE",
            "valor": 5,
            "idValor": null
        },
        {
            "id": "1000078",
            "nombre": "GENERALES|PARRILLA",
            "valor": "True",
            "idValor": null
        },
        {
            "id": "1000109",
            "nombre": "AMBIENTES|JARDIN",
            "valor": "True",
            "idValor": null
        }
    ]
}

Once we receive a response like this, our listing will be ONLINE:

{
    idAviso: 53590527,
    idEmpresa: 30022680,
    codigoAviso: '243545___mapaprop',
    codigoInmobiliaria: '3454',
    estado: 'ONLINE',
    informacion: [ [Object] ],
    warnings: [ [Object], [Object], [Object], [Object], [Object], [Object] ],
    idAvisoPadre: null,
    codigoAvisoPadre: null,
    errors: [],
    error: false
  }

Notes

  • If you want to display the legend "Consultar precio" in the operation price field, set the value to 0
  • Keep in mind the Zonaprop property object Zonaprop API > Property Object