/
Activating a Site

Activating a Site



The request must be done through POST method.

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

Requirements:
  • The site must have the Archived status
  • Site identifier must be known (sitio_id)

Mandatory parameters:
  • sitio_id: ID from the site to activate.

Response:

It contains an object <operacion> that contains a tag <resultado>. The result could be either 1 (successful operation) or 0 (failed operation).

If the operation is unsuccessful, it adds a list of errors through tags <error>, containing the attribute that specifies the attribute's name with error, and message with the error message.


Response example without errors:


<operacion>
       <resultado>1</resultado>
</operacion>

Related content