This function provides all the information about a specific advertiser.
URL: /admin/adnet/pub/admin/pautas.html?op=v&o=xml
Mandatory parameters:
- anunciante_id: advertiser’s identifier
Response:
It contains a list of objects <anunciante> with the following attributes:
- nombre: advertiser’s name
- URL: advertiser’s website URL
- observaciones: comments about the advertiser
- estado: it indicates if the advertiser is active (0) or archived (1)
- custom_id: customized identifier
- fecha_alta: advertiser’s creation date
- fecha_baja: if the advertiser has been cleared, indicates the date when it was deleted.
...
- nombre: name of the user who signed up
- apellido: user’s last name
- tipo_persona: 0 for a person, or 1 for a company name
- fecha_nacimiento: birth date
- tax_id: tax identifier
- razon_social: firm or company name
- email: e-mail address
- nro_documento: user ID number, in case the advertiser enter this information
- cargo: position
- teléfono: telephone number
- Furthermore, inside the domicilio tag, the followign attributes are included:
direccion: Street name and number
ciudad: city
region: region
cp: postal code
país: country
...
<?xml version='1.0' encoding='iso8859-1' standalone='yes'?> <anunciante anunciante_id='16282'> <custom_id>888</custom_id> <registracion> <domicilio> <pais>Argentina</pais> <region></region> <ciudad>aqui</ciudad> <cp>19</cp> <direccion>aqui</direccion> </domicilio> <telefono>2544684</telefono> <cargo></cargo> <nro_documento>21523446</nro_documento> <email>err4ff@e-planning.net</email> <razon_social>anunciante de pruebas</razon_social> <fecha_nacimiento>1990-01-01</fecha_nacimiento> <tax_id></tax_id> <tipo_persona>0</tipo_persona> <apellido>Pruebas</apellido> <nombre>Juan</nombre> </registracion> <fecha_alta>2009-08-19 11:30:38</fecha_alta> <agencia_id>16282</agencia_id> <observaciones></observaciones> <empresa_id>0</empresa_id> <fecha_baja></fecha_baja> <estado>1</estado> <anunciante_id>16282</anunciante_id> <industria_id></industria_id> <url>http://www.eplanning.net/</url> <nombre>anunciante de pruebas</nombre> </anunciante> |