/
Zones Listing

Zones Listing

Lists the zones created in the system.

URL: /admin/adnet/pub/admin/secciones.html?op=l&o=xml

Potential parameters:

  • sitio_id: specifies the site's code. It will only display zones of that site. If not specified, all the zones are shown.
  • estado:  zone status. If not specified, all the zones are displayed. The potential values are:
    -act: active
    -arc: archived
    -all: all


Examples of URLs with parameters:

/admin/adnet/pub/admin/secciones.html?op=l&estado=act&o=xml
/admin/adnet/pub/admin/secciones.html?op=l&sitio_id=4324&o=xml
/admin/adnet/pub/admin/secciones.html?op=l&sitio_id=132&estado=arc&o=xml

Response:

It contains a list of objects <seccion>.  The identifier is specified by the attribute seccion_id and the data presented are:

  • sitio_id: site identifier to which the zone belongs
  • sitio: site name to which the zone belongs
  • nombre: zone name
  • estado: indicates if the zone is active (0) or archived (1)
  • fecha_alta: zone creation date
  • fecha_baja: if the zone has been cleared, indicates the date it was deleted.


Response example:

<lista>
    <seccion seccion_id=”123”>
        <sitio_id>5512</sitio_id>
        <sitio>Autos.com</sitio>
        <nombre>Home</nombre>
        <estado>0</estado>
        <fecha_alta>2006-03-22 13:45:35</fecha_alta>
        <fecha_baja/>
    </espacio>
    <espacio espacio_id=”126”>
        <sitio_id>5512</sitio_id>
        <sitio>Autos.com</sitio>
        <nombre>Deportiva</nombre>
        <estado>1</estado>
        <fecha_alta>2006-03-22 19:42:01</fecha_alta>
        <fecha_baja/>
    </espacio>
</lista>