NAV
cURL Respuesta (JSON) Respuesta (XML) Respuesta (Cabecera HTTP)

Introducción

Bienvenido a la referencia del API de Neodigit.

Entorno

Tienes dos entornos de API con los que trabajar. Desarrollo y Producción. Ten en cuenta que no todas las operaciones que se pueden llevar a cabo en Producción pueden ser correctamente gestionadas en Desarrollo. En la documentación de cada petición de API podrás encontrar una referencia a los posibles problemas que haya en el entorno de Desarrollo para esa petición específica de API.

Toda la comunicación se realizará detrás del protocolo SSL/TLS. Conéctate a la API utilizando https o conéctate a través del puerto 443.

Rutas

Una ruta típica de la API es del estilo: https://api.neodigit.net/v1/domains/contacts.json. Estas son las partes de las que se compone:

Se está accediendo al listado de contactos dentro del módulo dominios, a través de la versión de API v1 con un formato JSON.

Versionado

La API está versionada. En la ruta de la petición encontrarás la versión PRINCIPAL (v1). Por ejemplo:

Estos son los cambios que pueden ser realizados a una versión PRINCIPAL ya publicada:

Cualquier otro cambio nos obligará a crear una versión PRINCIPAL nueva. Esto significará que estaremos trabajando muy duramente en esta nueva versión. Una vez hayamos publicado una nueva versión PRINCIPAL te recomendamos que te integres con ella. Será mejor, más rápida, más inteligente y todos los adjetivos molones que se te ocurran.

Versión PRINCIPAL actual

Versión Estado actual Fecha de publicación
/v1 Alfa No publicada todavía

Autenticación

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/hello.json
{
  "time" : "Mon Sep 14 11:15:58 2015",
  "date" : "2015-09-14",
  "locale" : "es"
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 307
X-Ratelimit-Reset: 1442228400

Autenticación incorrecta

curl -vvv -H 'X-TCpanel-Token: invalid_token' https://api.neodigit.net/v1/hello.json
HTTP/1.1 401 Unauthorized
Content-Type: text/plain; charset=utf-8

Toda petición requiere autenticación.

Lo único que tienes que hacer para autenticar una petición es añadir una cabecera HTTP X-TCpanel-Token especificando el token que quieres utilizar. Ten en cuenta que cada token puede tener un conjunto de direcciones IP autorizadas a utilizar ese token. En caso de que el token no tenga ninguna dirección IP explícita se considerará que el acceso por IP no está restringido.

Puedes gestionar los tokens de tu cuenta desde aquí.

Formato

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/hello.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/hello.xml
{
  "time" : "Mon Sep 14 11:15:58 2015",
  "date" : "2015-09-14",
  "locale" : "es"
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 306
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<hello>
  <time>Mon Sep 14 11:15:58 2015</time>
  <date>2015-09-14</date>
  <locale>es</locale>
</hello>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 305
X-Ratelimit-Reset: 1442228400

Todos los recursos entienden JSON y XML. Nos encanta la simplicidad de JSON, pero si tienes una buena herramienta de intercomunicación en XML, ¡estaremos encantados de hablarlo!

El formato que se usará viene especificado en la ruta de la petición.

Parámetros

A lo largo de toda la documentación verás que en los ejemplos de curl los parámetros que se pasan a las llamadas son siempre objetos en formato JSON. Esto es así únicamente por brevedad, ya que JSON es habitualmente más breve que XML.

Verás como en todos los ejemplos que incluyen datos pasaremos la cabecera Content-Type a curl, con valor application/json. Esto lo que permite a la API es saber interpretar los parámetros que le damos. Todos los ejemplos podrían hacerse con XML de la misma forma, pero estableciendo un valor application/xml a Content-Type, y adaptando apropiadamente el contenido del parámetro. La estructura del XML que se le pasaría en ese caso es exactamente igual que en JSON.

JSON

{
  "contact": {
    "name": "Anne",
    "lastname": "Doe",
    "hobbies": ["programming", "tennis"]
  }
}

XML

<?xml version="1.0" encoding="UTF-8"?>
<contact>
  <name>Anne</name>
  <lastname>Doe</lastname>
  <hobbies>
    <hobby>programming</hobby>
    <hobby>tennis</hobby>
  </hobbies>
</contact>

No es necesario indentar el XML que le proporcionas a la API, lo indentamos y lo formateamos para mejorar la legibilidad en el ejemplo.

Verbos HTTP

La API soporta varios verbos HTTP, definiendo así una API RESTful. Son los siguientes:

Verbo Descripción
GET Utilizado típicamente para obtener información sobre un recurso. El resultado suele ser un recurso o lista de recursos
HEAD Es equivalente a GET en que las cabeceras y el código de estado HTTP que se devuelven son iguales, la única diferencia es que con HEAD el cuerpo de la respuesta está vacío. Se utiliza, por ejemplo, para saber si un recurso existe o no, sin importarnos el cuerpo del recurso en caso de que exista, sino simplemente su existencia
POST Crea un recurso nuevo
PATCH Actualiza un recurso existente. Método preferido
PUT Actualiza un recurso existente. Es preferible usar el verbo PATCH, aunque no existe ninguna diferencia operativa
DELETE Elimina un recurso existente

Codificación

curl -vvv -H 'X-TCpanel-Token: token' -X PATCH -d '{ "contact" : { "name": "Nómbre", "lastname" : "Apéllidos" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/contacts/507.json
curl -vvv -H 'X-TCpanel-Token: token' -X PATCH -d '{ "contact" : { "name": "Nómbre", "lastname" : "Apéllidos" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/contacts/507.xml
curl -vvv -H 'X-TCpanel-Token: token' -X PUT -d '{ "contact" : { "name": "Nómbre", "lastname" : "Apéllidos" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/contacts/507.json
curl -vvv -H 'X-TCpanel-Token: token' -X PUT -d '{ "contact" : { "name": "Nómbre", "lastname" : "Apéllidos" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/contacts/507.xml
{
  "id" : 507,
  "name" : "Nómbre",
  "company" : null,
  "email" : "test@test.com",
  "address" : "Test",
  "city" : "Test",
  "state" : "Test",
  "country" : "US",
  "zipcode" : "00000",
  "phonecc" : "34",
  "phone" : "123456789",
  "created_at" : "2015-09-14T10:58:48.000+02:00",
  "updated_at" : "2015-09-14T11:07:24.000+02:00",
  "ic" : "Identification number",
  "faxcc" : null,
  "fax" : null,
  "lastname" : "Apéllidos",
  "birthdate" : null,
  "birthplace" : null,
  "passport" : null
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 637
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<contact>
  <id>507</id>
  <name>Nómbre</name>
  <company nil="true"/>
  <email>test@test.com</email>
  <address>Test</address>
  <city>Test</city>
  <state>Test</state>
  <country>US</country>
  <zipcode>00000</zipcode>
  <phonecc>34</phonecc>
  <phone>123456789</phone>
  <created-at>2015-09-14T10:58:48+02:00</created-at>
  <updated-at>2015-09-14T11:07:24+02:00</updated-at>
  <ic>Identification number</ic>
  <faxcc nil="true"/>
  <fax nil="true"/>
  <lastname>Apéllidos</lastname>
  <birthdate nil="true"/>
  <birthplace nil="true"/>
  <passport nil="true"/>
</contact>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 636
X-Ratelimit-Reset: 1442228400

La codificación siempre será UTF-8.

Límite de peticiones

La API tiene un límite de peticiones por cliente, independientemente de la dirección IP y del token utilizado. El límite de peticiones por cliente es el siguiente:

Tipo de petición Verbos HTTP asociados Límite Ventana
Informativa GET, HEAD 1000 peticiones 1 hora
Operativa POST, PATCH, PUT, DELETE 1000 peticiones 1 hora

Cada tipo de petición únicamente resta crédito del tipo que sea. Es decir, en una hora se pueden hacer 1000 peticiones de tipo informativa, y 1000 peticiones de tipo operativa. Sin embargo, no es posible efectuar más de 1000 peticiones por hora de ninguno de los dos tipos.

Toda respuesta de la API incluye una serie de cabeceras HTTP que te indican el estado del límite de peticiones:

Si ya has superado el número de peticiones para la ventana actual, la API devolverá un error HTTP 429 (Too many requests). Adicionalmente este error contendrá la cabecera Retry-After que te indicará el número de segundos que quedan para que puedas reintentar la petición. Es decir, es el número de segundos que quedan para que entre otra nueva ventana en vigor.

Peticiones asíncronas

curl -vvv -H 'X-TCpanel-Token: token' -H 'X-TCpanel-Callback: https://mysite.com/callback.php?order=1000' -X POST -d '{ "contact" : { "name": "Other" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/contacts.json
curl -vvv -H 'X-TCpanel-Token: token' -H 'X-TCpanel-Callback: https://mysite.com/callback.php?order=1000' -X POST -d '{ "contact" : { "name": "Other" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/contacts.xml
{
  "id" : 342,
  "path" : "/v1/domains/contacts.json",
  "verb" : "POST",
  "callback" : "https://mysite.com/callback.php?order=1000",
  "status" : "pending",
  "callback_status" : "pending",
  "callback_retries" : 0,
  "started_execution_at" : null,
  "finished_execution_at" : null,
  "ack_at" : null,
  "created_at" : "2015-09-14T11:15:58.585+02:00",
  "updated_at" : "2015-09-14T11:15:58.585+02:00",
  "parameters" : {
    "contact" : {
      "name" : "Other"
    }
  }
}
HTTP/1.1 202 Accepted
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 635
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<async-call>
  <id>343</id>
  <path>/v1/domains/contacts.xml</path>
  <verb>POST</verb>
  <callback>https://mysite.com/callback.php?order=1000</callback>
  <status>pending</status>
  <callback-status>pending</callback-status>
  <callback-retries>0</callback-retries>
  <started-execution-at nil="true"/>
  <finished-execution-at nil="true"/>
  <ack-at nil="true"/>
  <created-at>2015-09-14T11:15:58+02:00</created-at>
  <updated-at>2015-09-14T11:15:58+02:00</updated-at>
  <parameters>
    <contact>
      <name>Other</name>
    </contact>
  </parameters>
</async-call>
HTTP/1.1 202 Accepted
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 634
X-Ratelimit-Reset: 1442228400

Cualquier petición puede ser ejecutada de forma asíncrona.

Lo único que tienes que hacer es añadir la cabecera HTTP X-TCpanel-Callback para la petición que quieres que se ejecute de forma asíncrona. El valor de esta cabecera será la URI completa donde se debería hacer el callback. Todos los callbacks son ejecutados con un verbo POST y con un User-Agent establecido a TCpanel Async Callback.

Todas las peticiones asíncronas correctamente ejecutadas devuelven un código HTTP 202 y retornan de forma inmediata devolviendo la información sobre la referencia de la petición asíncrona. Esto significa que la petición se ha programado para próxima ejecución en la cola de peticiones asíncronas.

El cuerpo del callback que haremos a la URI con verbo POST que especificaste con la cabecera X-TCpanel-Callback es igual que si la petición fuera síncrona. El código HTTP que hubieras recibido haciendo la petición síncrona (200, 201, 400…) lo recibirás en la petición POST en la cabecera X-TCpanel-Status-Code.

Puedes referirte a la documentación del detalle de petición asíncrona para más información.

Respuestas de la API

El código de estado HTTP que se devolverá para cada petición será uno de los siguientes:

Código de estado HTTP Descripción
200 Éxito
201 Éxito. Recurso creado
202 Éxito. Petición pendiente de ser ejecutada en segundo plano. Este código solo será devuelto con las peticiones asíncronas
400 Petición inválida. Esto suele ocurrir cuando falta algún parámetro necesario de primer nivel. Revisa la documentación de la petición que está fallando
401 Petición no autorizada. El token proporcionado no es válido, o la dirección IP desde la que se está accediendo no está autorizada
402 No tienes suficiente saldo para ejecutar la operación. Recarga tu depósito para poder realizar la petición
404 Recurso no encontrado
422 Entidad no procesable. Ocurre cuando no se puede operar sobre un recurso por falta de datos o datos incorrectos. Revisa la documentación de la petición que está fallando
429 Límite de peticiones excedido
500 Error interno del servidor. ¡No deberías recibir este error nunca!. Hemos recibido toda la información necesaria para solucionar la incidencia, y ya estaremos trabajando en solucionarla
502 Los procesos que deberían estar atendiendo a tu petición no están ahí. ¡No debería ocurrir!, pero reintenta la petición
503 La API está en mantenimiento, reintenta la petición más tarde

Descripción de errores

Siempre que no sea posible realizar alguna acción se devolverá un error con uno de los códigos descritos en respuestas de la API, y además, si es posible se devolverá en el cuerpo de la respuesta la razón del error en el formato especificado según se describe en formato.

Creación incorrecta de un contacto, faltan campos obligatorios

curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "contact" : { "name" : "" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/contacts.json
curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "contact" : { "name" : "" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/contacts.xml
{
  "country" : [
    "Es inválido",
    "No puede estar vacío"
  ],
  "name" : [
    "No puede estar vacío"
  ],
  "email" : [
    "No puede estar vacío",
    "Es inválido"
  ],
  "address" : [
    "No puede estar vacío"
  ],
  "city" : [
    "No puede estar vacío"
  ],
  "state" : [
    "No puede estar vacío"
  ],
  "zipcode" : [
    "No puede estar vacío"
  ],
  "phonecc" : [
    "No puede estar vacío",
    "Es inválido"
  ],
  "phone" : [
    "No puede estar vacío",
    "Es inválido"
  ]
}
HTTP/1.1 422 Unprocessable Entity
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 633
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<errors>
  <error>Country Es inválido</error>
  <error>Country No puede estar vacío</error>
  <error>Name No puede estar vacío</error>
  <error>Email No puede estar vacío</error>
  <error>Email Es inválido</error>
  <error>Address No puede estar vacío</error>
  <error>City No puede estar vacío</error>
  <error>State No puede estar vacío</error>
  <error>Zipcode No puede estar vacío</error>
  <error>Phonecc No puede estar vacío</error>
  <error>Phonecc Es inválido</error>
  <error>Phone No puede estar vacío</error>
  <error>Phone Es inválido</error>
</errors>
HTTP/1.1 422 Unprocessable Entity
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 632
X-Ratelimit-Reset: 1442228400

Actualización de datos

Soportamos dos verbos HTTP diferentes para actualizar datos: PUT y PATCH.

En teoría, PUT espera que se especifique el objeto entero, mientras que PATCH permite que solo se especifiquen los campos que se vayan a actualizar.

En la práctica, utilizando ambos verbos se pueden especificar todos o solo los atributos que vayan a cambiar. Los atributos que no se especifiquen se quedarán igual.

Internacionalización y localización

Forzar idioma inglés independientemente del idioma establecido por el usuario

curl -vvv -H 'X-TCpanel-Token: token' -H 'Accept-Language: en' https://api.neodigit.net/v1/hello.json
curl -vvv -H 'X-TCpanel-Token: token' -H 'Accept-Language: en' https://api.neodigit.net/v1/hello.xml
{
  "time" : "Mon Sep 14 11:15:58 2015",
  "date" : "2015-09-14",
  "locale" : "en"
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 303
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<hello>
  <time>Mon Sep 14 11:15:58 2015</time>
  <date>2015-09-14</date>
  <locale>en</locale>
</hello>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 302
X-Ratelimit-Reset: 1442228400

Mediante la API en algunas ocasiones se exponen cadenas de caracteres internacionalizadas y/o localizadas. Es posible forzar un idioma mediante la cabecera HTTP Accept-Language. Si no se especifica dicha cabecera se aplicará el idioma por defecto del usuario con el que se está accediendo a la API.

Idiomas soportados actualmente:

Listados

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/domains.json?status=active,pending&limit=5
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/domains.xml?status=active,pending&limit=5
[
  {
    "id" : 366,
    "name" : "domain-pasotkvhcp.com",
    "created_at" : "2015-04-17T19:59:17.000+02:00",
    "updated_at" : "2015-09-14T11:15:54.000+02:00",
    "auto_renew" : null,
    "privacy" : false,
    "protection" : true,
    "authcode" : "1t5q1stjB",
    "transfer_date_requested" : null,
    "nameservers" : [
      "dns3.debian.org",
      "dns4.debian.org"
    ],
    "contacts" : {
      "registrant" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "administrative" : {
        "id" : 507,
        "name" : "Nómbre",
        "company" : null,
        "email" : "test@test.com",
        "address" : "Test",
        "city" : "Test",
        "state" : "Test",
        "country" : "US",
        "zipcode" : "00000",
        "phonecc" : "34",
        "phone" : "123456789",
        "created_at" : "2015-09-14T10:58:48.000+02:00",
        "updated_at" : "2015-09-14T11:07:24.000+02:00",
        "ic" : "Identification number",
        "faxcc" : null,
        "fax" : null,
        "lastname" : "Apéllidos",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "billing" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "technical" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      }
    },
    "product_info" : {
      "product_status" : "active",
      "product_technical_status" : null,
      "product_periodicity" : "not_recurrent",
      "product_expiration" : "2083-04-17"
    }
  },
  {
    "id" : 367,
    "name" : "domain-btcknuweuh.com",
    "created_at" : "2015-04-17T19:59:18.000+02:00",
    "updated_at" : "2015-04-17T19:59:20.000+02:00",
    "auto_renew" : null,
    "privacy" : false,
    "protection" : true,
    "authcode" : "5No651D57",
    "transfer_date_requested" : null,
    "nameservers" : [
      "ns1.tecnocratica.net",
      "ns2.tecnocratica.net"
    ],
    "contacts" : {
      "registrant" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "administrative" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "billing" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "technical" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      }
    },
    "product_info" : {
      "product_status" : "active",
      "product_technical_status" : null,
      "product_periodicity" : "not_recurrent",
      "product_expiration" : "2022-04-17"
    }
  },
  {
    "id" : 554,
    "name" : "domain-nfbdfcpxmx.com",
    "created_at" : "2015-04-22T19:25:29.000+02:00",
    "updated_at" : "2015-04-27T18:19:47.000+02:00",
    "auto_renew" : true,
    "privacy" : false,
    "protection" : true,
    "authcode" : "H20d9JH98",
    "transfer_date_requested" : null,
    "nameservers" : [
      "ns1.tecnocratica.net",
      "ns2.tecnocratica.net"
    ],
    "contacts" : {
      "registrant" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "administrative" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "billing" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "technical" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      }
    },
    "product_info" : {
      "product_status" : "active",
      "product_technical_status" : null,
      "product_periodicity" : "not_recurrent",
      "product_expiration" : "2020-04-22"
    }
  },
  {
    "id" : 555,
    "name" : "domain-jhkmitlqik.com",
    "created_at" : "2015-04-22T19:25:30.000+02:00",
    "updated_at" : "2015-04-22T19:25:31.000+02:00",
    "auto_renew" : true,
    "privacy" : false,
    "protection" : true,
    "authcode" : "V85ICaIJ2",
    "transfer_date_requested" : null,
    "nameservers" : [
      "ns1.tecnocratica.net",
      "ns2.tecnocratica.net"
    ],
    "contacts" : {
      "registrant" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "administrative" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "billing" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "technical" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      }
    },
    "product_info" : {
      "product_status" : "active",
      "product_technical_status" : null,
      "product_periodicity" : "not_recurrent",
      "product_expiration" : "2020-04-22"
    }
  },
  {
    "id" : 558,
    "name" : "domain-mhleslikpb.com",
    "created_at" : "2015-04-22T19:26:02.000+02:00",
    "updated_at" : "2015-04-22T19:26:02.000+02:00",
    "auto_renew" : true,
    "privacy" : false,
    "protection" : true,
    "authcode" : "iD1sI04ND",
    "transfer_date_requested" : null,
    "nameservers" : [
      "ns1.tecnocratica.net",
      "ns2.tecnocratica.net"
    ],
    "contacts" : {
      "registrant" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "administrative" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "billing" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "technical" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      }
    },
    "product_info" : {
      "product_status" : "active",
      "product_technical_status" : null,
      "product_periodicity" : "not_recurrent",
      "product_expiration" : "2020-04-22"
    }
  }
]
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 301
X-Ratelimit-Reset: 1442228400
X-Total-Count: 101
<?xml version="1.0" encoding="UTF-8"?>
<domains>
  <domain>
    <id>366</id>
    <name>domain-pasotkvhcp.com</name>
    <created-at>2015-04-17T19:59:17+02:00</created-at>
    <updated-at>2015-09-14T11:15:54+02:00</updated-at>
    <auto-renew nil="true"/>
    <privacy>false</privacy>
    <protection>true</protection>
    <authcode>1t5q1stjB</authcode>
    <transfer-date-requested nil="true"/>
    <nameservers>
      <nameserver>dns3.debian.org</nameserver>
      <nameserver>dns4.debian.org</nameserver>
    </nameservers>
    <contacts>
      <registrant>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </registrant>
      <administrative>
        <id>507</id>
        <name>Nómbre</name>
        <company nil="true"/>
        <email>test@test.com</email>
        <address>Test</address>
        <city>Test</city>
        <state>Test</state>
        <country>US</country>
        <zipcode>00000</zipcode>
        <phonecc>34</phonecc>
        <phone>123456789</phone>
        <created-at>2015-09-14T10:58:48+02:00</created-at>
        <updated-at>2015-09-14T11:07:24+02:00</updated-at>
        <ic>Identification number</ic>
        <faxcc nil="true"/>
        <fax nil="true"/>
        <lastname>Apéllidos</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </administrative>
      <billing>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </billing>
      <technical>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </technical>
    </contacts>
    <product-info>
      <product-status>active</product-status>
      <product-technical-status nil="true"/>
      <product-periodicity>not_recurrent</product-periodicity>
      <product-expiration>2083-04-17</product-expiration>
    </product-info>
  </domain>
  <domain>
    <id>367</id>
    <name>domain-btcknuweuh.com</name>
    <created-at>2015-04-17T19:59:18+02:00</created-at>
    <updated-at>2015-04-17T19:59:20+02:00</updated-at>
    <auto-renew nil="true"/>
    <privacy>false</privacy>
    <protection>true</protection>
    <authcode>5No651D57</authcode>
    <transfer-date-requested nil="true"/>
    <nameservers>
      <nameserver>ns1.tecnocratica.net</nameserver>
      <nameserver>ns2.tecnocratica.net</nameserver>
    </nameservers>
    <contacts>
      <registrant>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </registrant>
      <administrative>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </administrative>
      <billing>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </billing>
      <technical>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </technical>
    </contacts>
    <product-info>
      <product-status>active</product-status>
      <product-technical-status nil="true"/>
      <product-periodicity>not_recurrent</product-periodicity>
      <product-expiration>2022-04-17</product-expiration>
    </product-info>
  </domain>
  <domain>
    <id>554</id>
    <name>domain-nfbdfcpxmx.com</name>
    <created-at>2015-04-22T19:25:29+02:00</created-at>
    <updated-at>2015-04-27T18:19:47+02:00</updated-at>
    <auto-renew>true</auto-renew>
    <privacy>false</privacy>
    <protection>true</protection>
    <authcode>H20d9JH98</authcode>
    <transfer-date-requested nil="true"/>
    <nameservers>
      <nameserver>ns1.tecnocratica.net</nameserver>
      <nameserver>ns2.tecnocratica.net</nameserver>
    </nameservers>
    <contacts>
      <registrant>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </registrant>
      <administrative>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </administrative>
      <billing>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </billing>
      <technical>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </technical>
    </contacts>
    <product-info>
      <product-status>active</product-status>
      <product-technical-status nil="true"/>
      <product-periodicity>not_recurrent</product-periodicity>
      <product-expiration>2020-04-22</product-expiration>
    </product-info>
  </domain>
  <domain>
    <id>555</id>
    <name>domain-jhkmitlqik.com</name>
    <created-at>2015-04-22T19:25:30+02:00</created-at>
    <updated-at>2015-04-22T19:25:31+02:00</updated-at>
    <auto-renew>true</auto-renew>
    <privacy>false</privacy>
    <protection>true</protection>
    <authcode>V85ICaIJ2</authcode>
    <transfer-date-requested nil="true"/>
    <nameservers>
      <nameserver>ns1.tecnocratica.net</nameserver>
      <nameserver>ns2.tecnocratica.net</nameserver>
    </nameservers>
    <contacts>
      <registrant>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </registrant>
      <administrative>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </administrative>
      <billing>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </billing>
      <technical>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </technical>
    </contacts>
    <product-info>
      <product-status>active</product-status>
      <product-technical-status nil="true"/>
      <product-periodicity>not_recurrent</product-periodicity>
      <product-expiration>2020-04-22</product-expiration>
    </product-info>
  </domain>
  <domain>
    <id>558</id>
    <name>domain-mhleslikpb.com</name>
    <created-at>2015-04-22T19:26:02+02:00</created-at>
    <updated-at>2015-04-22T19:26:02+02:00</updated-at>
    <auto-renew>true</auto-renew>
    <privacy>false</privacy>
    <protection>true</protection>
    <authcode>iD1sI04ND</authcode>
    <transfer-date-requested nil="true"/>
    <nameservers>
      <nameserver>ns1.tecnocratica.net</nameserver>
      <nameserver>ns2.tecnocratica.net</nameserver>
    </nameservers>
    <contacts>
      <registrant>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </registrant>
      <administrative>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </administrative>
      <billing>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </billing>
      <technical>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </technical>
    </contacts>
    <product-info>
      <product-status>active</product-status>
      <product-technical-status nil="true"/>
      <product-periodicity>not_recurrent</product-periodicity>
      <product-expiration>2020-04-22</product-expiration>
    </product-info>
  </domain>
</domains>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 300
X-Ratelimit-Reset: 1442228400
X-Total-Count: 101

Todos los listados soportan al menos los siguientes parámetros. Si algún listado soporta más parámetros estará especificado en la documentación de esa petición.

Atributo Tipo Descripción
limit integer Límite de resultados a devolver
offset integer Offset a partir de donde devolver resultados
until datetime Solo devolver los elementos creados antes de la fecha especificada

Los listados que pertenezcan a productos o servicios se podrán filtrar también por status y technical_status. En caso de que un producto o servicio permita filtrar por más campos, éstos estarán documentados en la sección correspondiente.

Atributo Tipo Descripción
status string Filtra por los elementos que tengan uno de los estados especificados (separados por comas)
technical_status string Filtra por los elementos que tengan uno de los estados técnicos especificados (separados por comas)

En la documentación se incluirán todos los listados con el distintivo Listado, indicando que permite paginar, y en caso de productos o servicios filtrar al menos por los campos descritos en esta sección. Si un recurso permite filtrar por más campos de los aquí descritos, la documentación del recurso en particular describirá los campos adicionales.

status

Valor Descripción
pending Pendiente de pago
paid Pagado
active Activo
suspended Suspendido por el sistema
operator_suspended Suspendido por un operador
user_suspended Suspendido por un usuario
subuser_suspended Suspendido por un subusuario
cancelled Cancelado
deletion_requested Eliminación solicitada
inactive Inactivo
destroying En proceso de ser eliminado

Core

Balance del depósito

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/deposit/balance.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/deposit/balance.xml
{
  "balance" : 3027.74,
  "currency" : "EUR"
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 299
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<deposit>
  <balance>3027.74</balance>
  <currency>EUR</currency>
</deposit>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 298
X-Ratelimit-Reset: 1442228400

Transacciones de tu depósito

Listado

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/deposit/transactions.json?limit=2
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/deposit/transactions.xml?limit=2
[
  {
    "id" : 507,
    "invoice_id" : 610,
    "created_at" : "2015-04-17T19:59:17.000+02:00",
    "updated_at" : "2015-04-17T19:59:17.000+02:00",
    "order_id" : null,
    "balance" : 9950.0
  },
  {
    "id" : 508,
    "invoice_id" : 611,
    "created_at" : "2015-04-17T19:59:18.000+02:00",
    "updated_at" : "2015-04-17T19:59:18.000+02:00",
    "order_id" : null,
    "balance" : 9900.0
  }
]
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 297
X-Ratelimit-Reset: 1442228400
X-Total-Count: 335
<?xml version="1.0" encoding="UTF-8"?>
<transactions>
  <transaction>
    <id>507</id>
    <invoice-id>610</invoice-id>
    <created-at>2015-04-17T19:59:17+02:00</created-at>
    <updated-at>2015-04-17T19:59:17+02:00</updated-at>
    <order-id nil="true"/>
    <balance>9950.0</balance>
  </transaction>
  <transaction>
    <id>508</id>
    <invoice-id>611</invoice-id>
    <created-at>2015-04-17T19:59:18+02:00</created-at>
    <updated-at>2015-04-17T19:59:18+02:00</updated-at>
    <order-id nil="true"/>
    <balance>9900.0</balance>
  </transaction>
</transactions>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 296
X-Ratelimit-Reset: 1442228400
X-Total-Count: 335
Atributo Tipo Descripción
invoice_id integer Pedido relacionado con la transacción. No es NULL si es un uso del depósito, y referencia el pedido que restó saldo
order_id integer Orden relacionada con la transacción. No es NULL si es una recarga de saldo, y referencia la orden que recargó saldo
balance decimal Estado del depósito tras aplicar el coste de la transacción

Lista de pedidos y facturas

Listado

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/invoices.json?limit=2
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/invoices.xml?limit=2
[
  {
    "id" : 609,
    "status" : "skipped",
    "processed_with" : "skip",
    "closed_at" : null,
    "company" : "Neodigit",
    "company_id" : "B82753625",
    "name" : "API",
    "lastname" : "Documentation",
    "ic" : "",
    "email" : "info@neodigit.es",
    "phonecc" : "34",
    "phone" : "910059090",
    "address" : "Calle Agosto, 6",
    "zipcode" : "28022",
    "city" : "Madrid",
    "state" : "Madrid",
    "country" : "ES",
    "emitter_company" : "Tecnocrática Centro de Datos S.L.",
    "emitter_company_id" : "B86333523",
    "emitter_email" : "clientes@tecnocratica.net",
    "emitter_phonecc" : "34",
    "emitter_phone" : "910059045",
    "emitter_address" : "Calle Agosto, 6 (Oficina 9)",
    "emitter_zipcode" : "28022",
    "emitter_city" : "Madrid",
    "emitter_state" : "Madrid",
    "emitter_country" : "ES",
    "legal_notice" : "Tecnocrática Centro de Datos, S.L. inscrita en el Registro Mercantil de Madrid, tomo 29392, folio 11, hoja M-529043",
    "checkout_at" : "2015-04-17T19:58:11.000+02:00",
    "rejected_at" : null,
    "reference" : null,
    "subtotal" : 10000.0,
    "subtotal_with_discount" : 10000.0,
    "total" : 10000.0,
    "orders" : [
      {
        "id" : 617,
        "status" : "pending",
        "quantity" : 1,
        "created_at" : "2015-04-17T19:56:41.000+02:00",
        "updated_at" : "2015-04-17T19:58:09.000+02:00",
        "invoice_id" : 609,
        "from" : "2015-09-14",
        "to" : "2015-09-14",
        "fixed_discount" : null,
        "proportional_discount" : null,
        "amount" : 10000.0,
        "product_periodicity" : "not_recurrent",
        "source_amount" : 10000.0,
        "source_currency" : "EUR",
        "exchange_rate" : 1,
        "method" : "manual",
        "description" : "Añadir fondos a depósito (10000.00 €)",
        "subtotal" : 10000.0,
        "subtotal_with_discount" : 10000.0
      }
    ],
    "vat_concepts" : [

    ]
  },
  {
    "id" : 610,
    "status" : "paid",
    "processed_with" : "deposit",
    "closed_at" : null,
    "company" : "Neodigit",
    "company_id" : "B82753625",
    "name" : "API",
    "lastname" : "Documentation",
    "ic" : "",
    "email" : "info@neodigit.es",
    "phonecc" : "34",
    "phone" : "910059090",
    "address" : "Calle Agosto, 6",
    "zipcode" : "28022",
    "city" : "Madrid",
    "state" : "Madrid",
    "country" : "ES",
    "emitter_company" : "Tecnocrática Centro de Datos S.L.",
    "emitter_company_id" : "B86333523",
    "emitter_email" : "clientes@tecnocratica.net",
    "emitter_phonecc" : "34",
    "emitter_phone" : "910059045",
    "emitter_address" : "Calle Agosto, 6 (Oficina 9)",
    "emitter_zipcode" : "28022",
    "emitter_city" : "Madrid",
    "emitter_state" : "Madrid",
    "emitter_country" : "ES",
    "legal_notice" : "Tecnocrática Centro de Datos, S.L. inscrita en el Registro Mercantil de Madrid, tomo 29392, folio 11, hoja M-529043",
    "checkout_at" : "2015-04-17T19:59:17.000+02:00",
    "rejected_at" : null,
    "reference" : null,
    "subtotal" : 50.0,
    "subtotal_with_discount" : 50.0,
    "total" : 50.0,
    "orders" : [
      {
        "id" : 618,
        "status" : "paid",
        "quantity" : 5,
        "created_at" : "2015-04-17T19:59:17.000+02:00",
        "updated_at" : "2015-04-17T19:59:18.000+02:00",
        "invoice_id" : 610,
        "from" : "2015-04-17",
        "to" : "2020-04-17",
        "fixed_discount" : 0.0,
        "proportional_discount" : 0.0,
        "amount" : 10.0,
        "product_periodicity" : "not_recurrent",
        "source_amount" : 10.0,
        "source_currency" : "EUR",
        "exchange_rate" : 1.0,
        "method" : "api",
        "description" : "Registro del dominio domain-pasotkvhcp.com por 5 años",
        "subtotal" : 50.0,
        "subtotal_with_discount" : 50.0
      }
    ],
    "vat_concepts" : [

    ]
  }
]
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 295
X-Ratelimit-Reset: 1442228400
X-Total-Count: 356
<?xml version="1.0" encoding="UTF-8"?>
<invoices>
  <invoice>
    <id>609</id>
    <status>skipped</status>
    <processed-with>skip</processed-with>
    <closed-at nil="true"/>
    <company>Neodigit</company>
    <company-id>B82753625</company-id>
    <name>API</name>
    <lastname>Documentation</lastname>
    <ic></ic>
    <email>info@neodigit.es</email>
    <phonecc>34</phonecc>
    <phone>910059090</phone>
    <address>Calle Agosto, 6</address>
    <zipcode>28022</zipcode>
    <city>Madrid</city>
    <state>Madrid</state>
    <country>ES</country>
    <emitter-company>Tecnocrática Centro de Datos S.L.</emitter-company>
    <emitter-company-id>B86333523</emitter-company-id>
    <emitter-email>clientes@tecnocratica.net</emitter-email>
    <emitter-phonecc>34</emitter-phonecc>
    <emitter-phone>910059045</emitter-phone>
    <emitter-address>Calle Agosto, 6 (Oficina 9)</emitter-address>
    <emitter-zipcode>28022</emitter-zipcode>
    <emitter-city>Madrid</emitter-city>
    <emitter-state>Madrid</emitter-state>
    <emitter-country>ES</emitter-country>
    <legal-notice>Tecnocrática Centro de Datos, S.L. inscrita en el Registro Mercantil de Madrid, tomo 29392, folio 11, hoja M-529043</legal-notice>
    <checkout-at>2015-04-17T19:58:11+02:00</checkout-at>
    <rejected-at nil="true"/>
    <reference nil="true"/>
    <subtotal>10000.0</subtotal>
    <subtotal-with-discount>10000.0</subtotal-with-discount>
    <total>10000.0</total>
    <orders>
      <order>
        <id>617</id>
        <status>pending</status>
        <quantity>1</quantity>
        <created-at>2015-04-17T19:56:41+02:00</created-at>
        <updated-at>2015-04-17T19:58:09+02:00</updated-at>
        <invoice-id>609</invoice-id>
        <from>2015-09-14</from>
        <to>2015-09-14</to>
        <fixed-discount nil="true"/>
        <proportional-discount nil="true"/>
        <amount>10000.0</amount>
        <product-periodicity>not_recurrent</product-periodicity>
        <source-amount>10000.0</source-amount>
        <source-currency>EUR</source-currency>
        <exchange-rate>1</exchange-rate>
        <method>manual</method>
        <description>Añadir fondos a depósito (10000.00 €)</description>
        <subtotal>10000.0</subtotal>
        <subtotal-with-discount>10000.0</subtotal-with-discount>
      </order>
    </orders>
    <vat-concepts/>
  </invoice>
  <invoice>
    <id>610</id>
    <status>paid</status>
    <processed-with>deposit</processed-with>
    <closed-at nil="true"/>
    <company>Neodigit</company>
    <company-id>B82753625</company-id>
    <name>API</name>
    <lastname>Documentation</lastname>
    <ic></ic>
    <email>info@neodigit.es</email>
    <phonecc>34</phonecc>
    <phone>910059090</phone>
    <address>Calle Agosto, 6</address>
    <zipcode>28022</zipcode>
    <city>Madrid</city>
    <state>Madrid</state>
    <country>ES</country>
    <emitter-company>Tecnocrática Centro de Datos S.L.</emitter-company>
    <emitter-company-id>B86333523</emitter-company-id>
    <emitter-email>clientes@tecnocratica.net</emitter-email>
    <emitter-phonecc>34</emitter-phonecc>
    <emitter-phone>910059045</emitter-phone>
    <emitter-address>Calle Agosto, 6 (Oficina 9)</emitter-address>
    <emitter-zipcode>28022</emitter-zipcode>
    <emitter-city>Madrid</emitter-city>
    <emitter-state>Madrid</emitter-state>
    <emitter-country>ES</emitter-country>
    <legal-notice>Tecnocrática Centro de Datos, S.L. inscrita en el Registro Mercantil de Madrid, tomo 29392, folio 11, hoja M-529043</legal-notice>
    <checkout-at>2015-04-17T19:59:17+02:00</checkout-at>
    <rejected-at nil="true"/>
    <reference nil="true"/>
    <subtotal>50.0</subtotal>
    <subtotal-with-discount>50.0</subtotal-with-discount>
    <total>50.0</total>
    <orders>
      <order>
        <id>618</id>
        <status>paid</status>
        <quantity>5</quantity>
        <created-at>2015-04-17T19:59:17+02:00</created-at>
        <updated-at>2015-04-17T19:59:18+02:00</updated-at>
        <invoice-id>610</invoice-id>
        <from>2015-04-17</from>
        <to>2020-04-17</to>
        <fixed-discount>0.0</fixed-discount>
        <proportional-discount>0.0</proportional-discount>
        <amount>10.0</amount>
        <product-periodicity>not_recurrent</product-periodicity>
        <source-amount>10.0</source-amount>
        <source-currency>EUR</source-currency>
        <exchange-rate>1.0</exchange-rate>
        <method>api</method>
        <description>Registro del dominio domain-pasotkvhcp.com por 5 años</description>
        <subtotal>50.0</subtotal>
        <subtotal-with-discount>50.0</subtotal-with-discount>
      </order>
    </orders>
    <vat-concepts/>
  </invoice>
</invoices>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 294
X-Ratelimit-Reset: 1442228400
X-Total-Count: 356

Refiérete a la documentación del detalle de pedido o factura para saber más acerca de cada atributo.

Detalle de pedido o factura

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/invoices/609.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/invoices/609.xml
{
  "id" : 609,
  "status" : "skipped",
  "processed_with" : "skip",
  "closed_at" : null,
  "company" : "Neodigit",
  "company_id" : "B82753625",
  "name" : "API",
  "lastname" : "Documentation",
  "ic" : "",
  "email" : "info@neodigit.es",
  "phonecc" : "34",
  "phone" : "910059090",
  "address" : "Calle Agosto, 6",
  "zipcode" : "28022",
  "city" : "Madrid",
  "state" : "Madrid",
  "country" : "ES",
  "emitter_company" : "Tecnocrática Centro de Datos S.L.",
  "emitter_company_id" : "B86333523",
  "emitter_email" : "clientes@tecnocratica.net",
  "emitter_phonecc" : "34",
  "emitter_phone" : "910059045",
  "emitter_address" : "Calle Agosto, 6 (Oficina 9)",
  "emitter_zipcode" : "28022",
  "emitter_city" : "Madrid",
  "emitter_state" : "Madrid",
  "emitter_country" : "ES",
  "legal_notice" : "Tecnocrática Centro de Datos, S.L. inscrita en el Registro Mercantil de Madrid, tomo 29392, folio 11, hoja M-529043",
  "checkout_at" : "2015-04-17T19:58:11.000+02:00",
  "rejected_at" : null,
  "reference" : null,
  "subtotal" : 10000.0,
  "subtotal_with_discount" : 10000.0,
  "total" : 10000.0,
  "orders" : [
    {
      "id" : 617,
      "status" : "pending",
      "quantity" : 1,
      "created_at" : "2015-04-17T19:56:41.000+02:00",
      "updated_at" : "2015-04-17T19:58:09.000+02:00",
      "invoice_id" : 609,
      "from" : "2015-09-14",
      "to" : "2015-09-14",
      "fixed_discount" : null,
      "proportional_discount" : null,
      "amount" : 10000.0,
      "product_periodicity" : "not_recurrent",
      "source_amount" : 10000.0,
      "source_currency" : "EUR",
      "exchange_rate" : 1,
      "method" : "manual",
      "description" : "Añadir fondos a depósito (10000.00 €)",
      "subtotal" : 10000.0,
      "subtotal_with_discount" : 10000.0
    }
  ],
  "vat_concepts" : [

  ]
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 292
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<invoice>
  <id>609</id>
  <status>skipped</status>
  <processed-with>skip</processed-with>
  <closed-at nil="true"/>
  <company>Neodigit</company>
  <company-id>B82753625</company-id>
  <name>API</name>
  <lastname>Documentation</lastname>
  <ic></ic>
  <email>info@neodigit.es</email>
  <phonecc>34</phonecc>
  <phone>910059090</phone>
  <address>Calle Agosto, 6</address>
  <zipcode>28022</zipcode>
  <city>Madrid</city>
  <state>Madrid</state>
  <country>ES</country>
  <emitter-company>Tecnocrática Centro de Datos S.L.</emitter-company>
  <emitter-company-id>B86333523</emitter-company-id>
  <emitter-email>clientes@tecnocratica.net</emitter-email>
  <emitter-phonecc>34</emitter-phonecc>
  <emitter-phone>910059045</emitter-phone>
  <emitter-address>Calle Agosto, 6 (Oficina 9)</emitter-address>
  <emitter-zipcode>28022</emitter-zipcode>
  <emitter-city>Madrid</emitter-city>
  <emitter-state>Madrid</emitter-state>
  <emitter-country>ES</emitter-country>
  <legal-notice>Tecnocrática Centro de Datos, S.L. inscrita en el Registro Mercantil de Madrid, tomo 29392, folio 11, hoja M-529043</legal-notice>
  <checkout-at>2015-04-17T19:58:11+02:00</checkout-at>
  <rejected-at nil="true"/>
  <reference nil="true"/>
  <subtotal>10000.0</subtotal>
  <subtotal-with-discount>10000.0</subtotal-with-discount>
  <total>10000.0</total>
  <orders>
    <order>
      <id>617</id>
      <status>pending</status>
      <quantity>1</quantity>
      <created-at>2015-04-17T19:56:41+02:00</created-at>
      <updated-at>2015-04-17T19:58:09+02:00</updated-at>
      <invoice-id>609</invoice-id>
      <from>2015-09-14</from>
      <to>2015-09-14</to>
      <fixed-discount nil="true"/>
      <proportional-discount nil="true"/>
      <amount>10000.0</amount>
      <product-periodicity>not_recurrent</product-periodicity>
      <source-amount>10000.0</source-amount>
      <source-currency>EUR</source-currency>
      <exchange-rate>1</exchange-rate>
      <method>manual</method>
      <description>Añadir fondos a depósito (10000.00 €)</description>
      <subtotal>10000.0</subtotal>
      <subtotal-with-discount>10000.0</subtotal-with-discount>
    </order>
  </orders>
  <vat-concepts/>
</invoice>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 291
X-Ratelimit-Reset: 1442228400
Atributo Tipo Descripción
id integer Identificador
status string Estado
processed_with string Medio de pago con el que se procesó el pedido o factura
closed_at datetime Momento en el que se cerró el pedido o factura
company string Razón social de la emprea, si hubiere
company_id string CIF de la empresa, si hubiere
name string Nombre del cliente
lastname string Apellidos del cliente
ic string NIF/NIE o cualquier otro documento que identifica al cliente como persona física
email string Dirección de correo electrónico
phonecc string Código de país del número de teléfono
phone string Número de teléfono
address string Dirección postal
zipcode string Código postal
city string Ciudad
state string Provincia o estado
country string País en formato ISO 3166-1 alpha-2
checkout_at datetime Momento en el que se hizo checkout del pedido o factura
rejected_at datetime Momento en el que el pago fue rechazado. No es NULL únicamente si el pago fue rechazado y el tipo de pago fue por transferencia bancaria
reference string Número de factura. En el caso de un pedido será NULL
subtotal decimal Subtotal del pedido o factura. No incluye descuentos
subtotal_with_discount decimal Subtotal del pedido o factura, descuentos incluídos
total decimal Total de la factura. Incluyendo descuentos e impuestos
vat_concepts list Lista de impuestos aplicados a la factura
orders list Lista de órdenes. Refiérete a la documentación del detalle de orden para saber más acerca de cada atributo

vat_concepts

vat_concepts es una lista de impuestos, cada uno contiene los siguientes atributos:

Atributo Tipo Descripción
concept string Concepto del impuesto
amount decimal Valor del impuesto aplicado

Detalle de orden

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/orders/617.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/orders/617.xml
{
  "id" : 617,
  "status" : "pending",
  "quantity" : 1,
  "created_at" : "2015-04-17T19:56:41.000+02:00",
  "updated_at" : "2015-04-17T19:58:09.000+02:00",
  "invoice_id" : 609,
  "from" : "2015-09-14",
  "to" : "2015-09-14",
  "fixed_discount" : null,
  "proportional_discount" : null,
  "amount" : 10000.0,
  "product_periodicity" : "not_recurrent",
  "source_amount" : 10000.0,
  "source_currency" : "EUR",
  "exchange_rate" : 1,
  "method" : "manual",
  "description" : "Añadir fondos a depósito (10000.00 €)",
  "subtotal" : 10000.0,
  "subtotal_with_discount" : 10000.0
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 289
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<order>
  <id>617</id>
  <status>pending</status>
  <quantity>1</quantity>
  <created-at>2015-04-17T19:56:41+02:00</created-at>
  <updated-at>2015-04-17T19:58:09+02:00</updated-at>
  <invoice-id>609</invoice-id>
  <from>2015-09-14</from>
  <to>2015-09-14</to>
  <fixed-discount nil="true"/>
  <proportional-discount nil="true"/>
  <amount>10000.0</amount>
  <product-periodicity>not_recurrent</product-periodicity>
  <source-amount>10000.0</source-amount>
  <source-currency>EUR</source-currency>
  <exchange-rate>1</exchange-rate>
  <method>manual</method>
  <description>Añadir fondos a depósito (10000.00 €)</description>
  <subtotal>10000.0</subtotal>
  <subtotal-with-discount>10000.0</subtotal-with-discount>
</order>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 288
X-Ratelimit-Reset: 1442228400

Cualquier pedido o factura está compuesto de una o varias líneas de órdenes. Esta petición muestra el detalle de una línea de pedido o factura.

Atributo Tipo Descripción
id integer Identificador
status string Estado
quantity integer Cantidad
invoice_id integer Pedido o factura a la que pertenece
from date Desde cuándo referencia la orden
to date Hasta cuándo referencia la orden
fixed_discount decimal Descuento fijo
proportional_discount decimal Descuento proporcional
amount decimal Precio unitario
product_periodicity string Periodicidad del servicio
source_amount decimal Precio unitario en la moneda de origen
source_currency string Moneda de origen
exchange_rate decimal Cambio aplicado para esta orden desde la moneda de origen
description string Descripción del servicio relacionado con esta orden
subtotal decimal Subtotal para esta orden

Conversión de divisas

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/exchange-rates.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/exchange-rates.xml
[
  {
    "source_currency" : "USD",
    "target_currency" : "EUR",
    "exchange_rate" : 0.92498
  },
  {
    "source_currency" : "RUB",
    "target_currency" : "EUR",
    "exchange_rate" : 0.01725
  }
]
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 287
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<exchange-rates>
  <exchange-rate>
    <source-currency>USD</source-currency>
    <target-currency>EUR</target-currency>
    <exchange-rate>0.92498</exchange-rate>
  </exchange-rate>
  <exchange-rate>
    <source-currency>RUB</source-currency>
    <target-currency>EUR</target-currency>
    <exchange-rate>0.01725</exchange-rate>
  </exchange-rate>
</exchange-rates>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 286
X-Ratelimit-Reset: 1442228400

Obtiene las conversiones entre divisas que serán aplicadas a las transacciones que requieran cambio de divisa.

La respuesta es una lista de elementos, que describimos a continuación:

Atributo Tipo Descripción
source_currency string Código de la divisa de origen (ISO 4217)
target_currency string Código de la divisa destino (ISO 4217)
exchange_rate decimal Cambio efectivo unitario

Lista de peticiones asíncronas

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/async-calls.json?limit=2
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/async-calls.xml?limit=2
[
  {
    "id" : 70,
    "path" : "/v1/domains/contacts.json",
    "verb" : "POST",
    "callback" : "https://mysite.com/callback.php?order=1000",
    "status" : "pending",
    "callback_status" : "pending",
    "callback_retries" : 0,
    "started_execution_at" : null,
    "finished_execution_at" : null,
    "ack_at" : null,
    "created_at" : "2015-04-17T19:59:12.000+02:00",
    "updated_at" : "2015-04-17T19:59:12.000+02:00",
    "parameters" : {
      "contact" : {
        "name" : "Other"
      }
    }
  },
  {
    "id" : 71,
    "path" : "/v1/domains/contacts.xml",
    "verb" : "POST",
    "callback" : "https://mysite.com/callback.php?order=1000",
    "status" : "pending",
    "callback_status" : "pending",
    "callback_retries" : 0,
    "started_execution_at" : null,
    "finished_execution_at" : null,
    "ack_at" : null,
    "created_at" : "2015-04-17T19:59:12.000+02:00",
    "updated_at" : "2015-04-17T19:59:12.000+02:00",
    "parameters" : {
      "contact" : {
        "name" : "Other"
      }
    }
  }
]
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 285
X-Ratelimit-Reset: 1442228400
X-Total-Count: 130
<?xml version="1.0" encoding="UTF-8"?>
<async-calls>
  <async-call>
    <id>70</id>
    <path>/v1/domains/contacts.json</path>
    <verb>POST</verb>
    <callback>https://mysite.com/callback.php?order=1000</callback>
    <status>pending</status>
    <callback-status>pending</callback-status>
    <callback-retries>0</callback-retries>
    <started-execution-at nil="true"/>
    <finished-execution-at nil="true"/>
    <ack-at nil="true"/>
    <created-at>2015-04-17T19:59:12+02:00</created-at>
    <updated-at>2015-04-17T19:59:12+02:00</updated-at>
    <parameters>
      <contact>
        <name>Other</name>
      </contact>
    </parameters>
  </async-call>
  <async-call>
    <id>71</id>
    <path>/v1/domains/contacts.xml</path>
    <verb>POST</verb>
    <callback>https://mysite.com/callback.php?order=1000</callback>
    <status>pending</status>
    <callback-status>pending</callback-status>
    <callback-retries>0</callback-retries>
    <started-execution-at nil="true"/>
    <finished-execution-at nil="true"/>
    <ack-at nil="true"/>
    <created-at>2015-04-17T19:59:12+02:00</created-at>
    <updated-at>2015-04-17T19:59:12+02:00</updated-at>
    <parameters>
      <contact>
        <name>Other</name>
      </contact>
    </parameters>
  </async-call>
</async-calls>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 284
X-Ratelimit-Reset: 1442228400
X-Total-Count: 130

Refiérete a la documentación del detalle de petición asíncrona para saber más acerca de cada atributo.

Detalle de petición asíncrona

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/async-calls/70.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/async-calls/70.xml
{
  "id" : 70,
  "path" : "/v1/domains/contacts.json",
  "verb" : "POST",
  "callback" : "https://mysite.com/callback.php?order=1000",
  "status" : "pending",
  "callback_status" : "pending",
  "callback_retries" : 0,
  "started_execution_at" : null,
  "finished_execution_at" : null,
  "ack_at" : null,
  "created_at" : "2015-04-17T19:59:12.000+02:00",
  "updated_at" : "2015-04-17T19:59:12.000+02:00",
  "parameters" : {
    "contact" : {
      "name" : "Other"
    }
  }
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 282
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<async-call>
  <id>70</id>
  <path>/v1/domains/contacts.json</path>
  <verb>POST</verb>
  <callback>https://mysite.com/callback.php?order=1000</callback>
  <status>pending</status>
  <callback-status>pending</callback-status>
  <callback-retries>0</callback-retries>
  <started-execution-at nil="true"/>
  <finished-execution-at nil="true"/>
  <ack-at nil="true"/>
  <created-at>2015-04-17T19:59:12+02:00</created-at>
  <updated-at>2015-04-17T19:59:12+02:00</updated-at>
  <parameters>
    <contact>
      <name>Other</name>
    </contact>
  </parameters>
</async-call>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 281
X-Ratelimit-Reset: 1442228400
Atributo Tipo Descripción
id integer Identificador
token string Token utilizado con la petición original
path string Ruta a la que se realizó la petición original
verb string Método HTTP con el que se llamó a la API
callback string Dirección de callback especificado por la petición asíncrona
status string Estado de la petición asíncrona
callback_status string Estado del callback
callback_retries integer Número de reintentos realizados al llamar al callback. Se reintentará 5 veces como máximo de forma automática
started_execution_at datetime Momento en el que el trabajo ha sido tomado para ejecución
finished_execution_at datetime Momento en el que la petición ha terminado de ejecutarse. En este momento todavía no hemos enviado ningún callback
ack_at datetime Momento en el que recibimos por parte del callback un estado HTTP 200
parameters object Representa los parámetros de la petición original

status

Valor Descripción
pending Es su valor inicial. La petición asíncrona está en la cola para ser ejecutada
executing La petición asíncrona se está ejecutando en estos momentos
success La petición ya se ha ejecutado. Pasamos a procesar el callback y a partir de ahora el atributo callback_status es el que indica el final del proceso

callback_status

Valor Descripción
pending Es su valor inicial. El callback está pendiente de ser ejecutado
executing En estos momentos estamos realizando la petición de callback
success El callback se ejecutó y devolvió un estado HTTP 200. El proceso para esta petición asíncrona ya ha terminado
gaveup El callback se intentó llamar 5 veces, con una diferencia de 10 segundos entre peticiones, y ninguna de ellas devolvió un estado HTTP 200. El callback no se reintentará más de forma automática

Detalle de cualquier producto o servicio

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/domains/366.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/domains/366.xml
{
  "id" : 366,
  "name" : "domain-pasotkvhcp.com",
  "created_at" : "2015-04-17T19:59:17.000+02:00",
  "updated_at" : "2015-09-14T11:15:54.000+02:00",
  "auto_renew" : null,
  "privacy" : false,
  "protection" : true,
  "authcode" : "1t5q1stjB",
  "transfer_date_requested" : null,
  "nameservers" : [
    "dns3.debian.org",
    "dns4.debian.org"
  ],
  "contacts" : {
    "registrant" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "administrative" : {
      "id" : 507,
      "name" : "Nómbre",
      "company" : null,
      "email" : "test@test.com",
      "address" : "Test",
      "city" : "Test",
      "state" : "Test",
      "country" : "US",
      "zipcode" : "00000",
      "phonecc" : "34",
      "phone" : "123456789",
      "created_at" : "2015-09-14T10:58:48.000+02:00",
      "updated_at" : "2015-09-14T11:07:24.000+02:00",
      "ic" : "Identification number",
      "faxcc" : null,
      "fax" : null,
      "lastname" : "Apéllidos",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "billing" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "technical" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    }
  },
  "product_info" : {
    "product_status" : "active",
    "product_technical_status" : null,
    "product_periodicity" : "not_recurrent",
    "product_expiration" : "2083-04-17"
  }
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 279
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<domain>
  <id>366</id>
  <name>domain-pasotkvhcp.com</name>
  <created-at>2015-04-17T19:59:17+02:00</created-at>
  <updated-at>2015-09-14T11:15:54+02:00</updated-at>
  <auto-renew nil="true"/>
  <privacy>false</privacy>
  <protection>true</protection>
  <authcode>1t5q1stjB</authcode>
  <transfer-date-requested nil="true"/>
  <nameservers>
    <nameserver>dns3.debian.org</nameserver>
    <nameserver>dns4.debian.org</nameserver>
  </nameservers>
  <contacts>
    <registrant>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </registrant>
    <administrative>
      <id>507</id>
      <name>Nómbre</name>
      <company nil="true"/>
      <email>test@test.com</email>
      <address>Test</address>
      <city>Test</city>
      <state>Test</state>
      <country>US</country>
      <zipcode>00000</zipcode>
      <phonecc>34</phonecc>
      <phone>123456789</phone>
      <created-at>2015-09-14T10:58:48+02:00</created-at>
      <updated-at>2015-09-14T11:07:24+02:00</updated-at>
      <ic>Identification number</ic>
      <faxcc nil="true"/>
      <fax nil="true"/>
      <lastname>Apéllidos</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </administrative>
    <billing>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </billing>
    <technical>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </technical>
  </contacts>
  <product-info>
    <product-status>active</product-status>
    <product-technical-status nil="true"/>
    <product-periodicity>not_recurrent</product-periodicity>
    <product-expiration>2083-04-17</product-expiration>
  </product-info>
</domain>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 278
X-Ratelimit-Reset: 1442228400

Todos los productos o servicios susceptibles de ser facturados incluyen una sección product_info (información de producto), formada por cuatro campos:

Atributo Tipo Descripción
product_status string Estado del producto o servicio
product_technical_status string Estado técnico del producto o servicio. Normalmente será NULL excepto en los recursos en los que se especifique su función en la documentación
product_periodicity string Periodicidad o recurrencia del producto o servicio
product_expiration date Fecha de expiración del producto o servicio

product_status

Este campo puede adoptar más estados de los listados aquí, dependiendo del producto o servicio al que se refiera. En caso de que haya más estados de los aquí listados en algún servicio o producto accesible por la API, la documentación listará los estados de producto que extiende.

Valor Descripción
pending Pendiente de pago
paid Pagado
active Activo
suspended Suspendido por el sistema
operator_suspended Suspendido por un operador
user_suspended Suspendido por un usuario
subuser_suspended Suspendido por un subusuario
cancelled Cancelado
deletion_requested Eliminación solicitada
inactive Inactivo
destroying En proceso de ser eliminado

product_periodicity

Valor Descripción
not_recurrent No existe recurrencia. Los dominios o certificados entran dentro de este grupo, por ejemplo.
monthly Mensual
bimonthly Bimestral
quarterly Cuatrimestral
halfyearly Semestral
yearly Anual

También es muy habitual que encuentres un campo created_at y otro llamado updated_at en muchos de los objetos que consultes.

Atributo Tipo Descripción
created_at datetime Creación del objeto
updated_at datetime Última actualización del objeto

Dominios

Lista de contactos

Listado

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/contacts.json?limit=2
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/contacts.xml?limit=2
[
  {
    "id" : 233,
    "name" : "Nómbre",
    "company" : "Neodigit",
    "email" : "info@neodigit.es",
    "address" : "Calle Agosto, 6 b",
    "city" : "Madrid",
    "state" : "Madrid",
    "country" : "ES",
    "zipcode" : "28022",
    "phonecc" : "34",
    "phone" : "34910059090",
    "created_at" : "2015-04-17T19:56:10.000+02:00",
    "updated_at" : "2015-09-10T13:48:08.000+02:00",
    "ic" : "7865612",
    "faxcc" : "34",
    "fax" : "910059090",
    "lastname" : "Apéllidos222",
    "birthdate" : null,
    "birthplace" : null,
    "passport" : null
  },
  {
    "id" : 370,
    "name" : "Test",
    "company" : null,
    "email" : "test@test.com",
    "address" : "Test",
    "city" : "Test",
    "state" : "Test",
    "country" : "US",
    "zipcode" : "00000",
    "phonecc" : "34",
    "phone" : "123456789",
    "created_at" : "2015-04-22T19:37:28.000+02:00",
    "updated_at" : "2015-04-22T19:37:28.000+02:00",
    "ic" : "Identification number",
    "faxcc" : null,
    "fax" : null,
    "lastname" : "Test",
    "birthdate" : null,
    "birthplace" : null,
    "passport" : null
  }
]
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 277
X-Ratelimit-Reset: 1442228400
X-Total-Count: 44
<?xml version="1.0" encoding="UTF-8"?>
<domains-contacts>
  <domains-contact>
    <id>233</id>
    <name>Nómbre</name>
    <company>Neodigit</company>
    <email>info@neodigit.es</email>
    <address>Calle Agosto, 6 b</address>
    <city>Madrid</city>
    <state>Madrid</state>
    <country>ES</country>
    <zipcode>28022</zipcode>
    <phonecc>34</phonecc>
    <phone>34910059090</phone>
    <created-at>2015-04-17T19:56:10+02:00</created-at>
    <updated-at>2015-09-10T13:48:08+02:00</updated-at>
    <ic>7865612</ic>
    <faxcc>34</faxcc>
    <fax>910059090</fax>
    <lastname>Apéllidos222</lastname>
    <birthdate nil="true"/>
    <birthplace nil="true"/>
    <passport nil="true"/>
  </domains-contact>
  <domains-contact>
    <id>370</id>
    <name>Test</name>
    <company nil="true"/>
    <email>test@test.com</email>
    <address>Test</address>
    <city>Test</city>
    <state>Test</state>
    <country>US</country>
    <zipcode>00000</zipcode>
    <phonecc>34</phonecc>
    <phone>123456789</phone>
    <created-at>2015-04-22T19:37:28+02:00</created-at>
    <updated-at>2015-04-22T19:37:28+02:00</updated-at>
    <ic>Identification number</ic>
    <faxcc nil="true"/>
    <fax nil="true"/>
    <lastname>Test</lastname>
    <birthdate nil="true"/>
    <birthplace nil="true"/>
    <passport nil="true"/>
  </domains-contact>
</domains-contacts>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 276
X-Ratelimit-Reset: 1442228400
X-Total-Count: 44

Refiérete a la documentación del detalle de contacto para saber más acerca de cada atributo.

Detalle de contacto

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/contacts/233.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/contacts/233.xml
{
  "id" : 233,
  "name" : "Nómbre",
  "company" : "Neodigit",
  "email" : "info@neodigit.es",
  "address" : "Calle Agosto, 6 b",
  "city" : "Madrid",
  "state" : "Madrid",
  "country" : "ES",
  "zipcode" : "28022",
  "phonecc" : "34",
  "phone" : "34910059090",
  "created_at" : "2015-04-17T19:56:10.000+02:00",
  "updated_at" : "2015-09-10T13:48:08.000+02:00",
  "ic" : "7865612",
  "faxcc" : "34",
  "fax" : "910059090",
  "lastname" : "Apéllidos222",
  "birthdate" : null,
  "birthplace" : null,
  "passport" : null
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 274
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<contact>
  <id>233</id>
  <name>Nómbre</name>
  <company>Neodigit</company>
  <email>info@neodigit.es</email>
  <address>Calle Agosto, 6 b</address>
  <city>Madrid</city>
  <state>Madrid</state>
  <country>ES</country>
  <zipcode>28022</zipcode>
  <phonecc>34</phonecc>
  <phone>34910059090</phone>
  <created-at>2015-04-17T19:56:10+02:00</created-at>
  <updated-at>2015-09-10T13:48:08+02:00</updated-at>
  <ic>7865612</ic>
  <faxcc>34</faxcc>
  <fax>910059090</fax>
  <lastname>Apéllidos222</lastname>
  <birthdate nil="true"/>
  <birthplace nil="true"/>
  <passport nil="true"/>
</contact>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 273
X-Ratelimit-Reset: 1442228400
Atributo Tipo Descripción
id integer Identificador
name string Nombre
lastname string Apellidos
company string Empresa
email string Correo electrónico
address string Dirección postal
city string Ciudad
state string Provincia o estado
country string País en formato ISO 3166-1 alpha-2
zipcode string Código postal
phonecc string Código de país del número de teléfono
phone string Número de teléfono
ic string NIF/NIE o cualquier otro documento que identifica al contacto como persona física
faxcc string Código de país del número de fax
fax string Número de fax
birthdate date Fecha de nacimiento
birthplace date Lugar de nacimiento
passport string Pasaporte

Crear contacto

curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "contact" : { "name" : "Test", "lastname" : "Test", "ic" : "Identification number", "email" : "test@test.com", "country": "US", "state" : "Test", "city" : "Test", "address": "Test", "zipcode" : "00000", "phonecc" : "34", "phone" : "123456789" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/contacts.json
curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "contact" : { "name" : "Test", "lastname" : "Test", "ic" : "Identification number", "email" : "test@test.com", "country": "US", "state" : "Test", "city" : "Test", "address": "Test", "zipcode" : "00000", "phonecc" : "34", "phone" : "123456789" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/contacts.xml
{
  "id" : 522,
  "name" : "Test",
  "company" : null,
  "email" : "test@test.com",
  "address" : "Test",
  "city" : "Test",
  "state" : "Test",
  "country" : "US",
  "zipcode" : "00000",
  "phonecc" : "34",
  "phone" : "123456789",
  "created_at" : "2015-09-14T11:16:01.488+02:00",
  "updated_at" : "2015-09-14T11:16:01.488+02:00",
  "ic" : "Identification number",
  "faxcc" : null,
  "fax" : null,
  "lastname" : "Test",
  "birthdate" : null,
  "birthplace" : null,
  "passport" : null
}
HTTP/1.1 201 Created
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 631
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<contact>
  <id>523</id>
  <name>Test</name>
  <company nil="true"/>
  <email>test@test.com</email>
  <address>Test</address>
  <city>Test</city>
  <state>Test</state>
  <country>US</country>
  <zipcode>00000</zipcode>
  <phonecc>34</phonecc>
  <phone>123456789</phone>
  <created-at>2015-09-14T11:16:01+02:00</created-at>
  <updated-at>2015-09-14T11:16:01+02:00</updated-at>
  <ic>Identification number</ic>
  <faxcc nil="true"/>
  <fax nil="true"/>
  <lastname>Test</lastname>
  <birthdate nil="true"/>
  <birthplace nil="true"/>
  <passport nil="true"/>
</contact>
HTTP/1.1 201 Created
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 630
X-Ratelimit-Reset: 1442228400

Atributos obligatorios

name, email, country, state, city, address, zipcode, phonecc, phone

Atributos opcionales

lastname, ic, company, faxcc, fax, birthdate, birthplace, passport

Refiérete a la documentación del detalle de contacto para saber más acerca de cada atributo.

Actualizar contacto

curl -vvv -H 'X-TCpanel-Token: token' -X PATCH -d '{ "contact" : { "name" : "Update Test" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/contacts/523.json
curl -vvv -H 'X-TCpanel-Token: token' -X PATCH -d '{ "contact" : { "name" : "Update Test" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/contacts/523.xml
curl -vvv -H 'X-TCpanel-Token: token' -X PUT -d '{ "contact" : { "name" : "Update Test" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/contacts/523.json
curl -vvv -H 'X-TCpanel-Token: token' -X PUT -d '{ "contact" : { "name" : "Update Test" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/contacts/523.xml
{
  "id" : 523,
  "name" : "Update Test",
  "company" : null,
  "email" : "test@test.com",
  "address" : "Test",
  "city" : "Test",
  "state" : "Test",
  "country" : "US",
  "zipcode" : "00000",
  "phonecc" : "34",
  "phone" : "123456789",
  "created_at" : "2015-09-14T11:16:01.000+02:00",
  "updated_at" : "2015-09-14T11:16:01.656+02:00",
  "ic" : "Identification number",
  "faxcc" : null,
  "fax" : null,
  "lastname" : "Test",
  "birthdate" : null,
  "birthplace" : null,
  "passport" : null
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 629
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<contact>
  <id>523</id>
  <name>Update Test</name>
  <company nil="true"/>
  <email>test@test.com</email>
  <address>Test</address>
  <city>Test</city>
  <state>Test</state>
  <country>US</country>
  <zipcode>00000</zipcode>
  <phonecc>34</phonecc>
  <phone>123456789</phone>
  <created-at>2015-09-14T11:16:01+02:00</created-at>
  <updated-at>2015-09-14T11:16:01+02:00</updated-at>
  <ic>Identification number</ic>
  <faxcc nil="true"/>
  <fax nil="true"/>
  <lastname>Test</lastname>
  <birthdate nil="true"/>
  <birthplace nil="true"/>
  <passport nil="true"/>
</contact>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 628
X-Ratelimit-Reset: 1442228400

Refiérete a la documentación del detalle de contacto para saber más acerca de cada atributo.

Refiérete a la documentación de crear contacto para saber qué atributos son obligatorios y cuáles son opcionales.

Eliminar contacto

curl -vvv -H 'X-TCpanel-Token: token' -X DELETE https://api.neodigit.net/v1/domains/contacts/523.json
HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 627
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X DELETE https://api.neodigit.net/v1/domains/contacts/522.xml
HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 626
X-Ratelimit-Reset: 1442228400

Error al eliminar un contacto relacionado con algún dominio

curl -vvv -H 'X-TCpanel-Token: token' -X DELETE https://api.neodigit.net/v1/domains/contacts/233.json
curl -vvv -H 'X-TCpanel-Token: token' -X DELETE https://api.neodigit.net/v1/domains/contacts/233.xml
{
  "base" : [
    "Tiene dominios (domain-pasotkvhcp.com, domain-btcknuweuh.com, domain-bydonsosdc.com, domain-aqzxblhmeb.com, domain-nfbdfcpxmx.com, domain-jhkmitlqik.com, domain-dheusggyko.com, domain-tletzjclgp.com, domain-mhleslikpb.com, domain-yirwrrebxr.com, domain-ngwfzrnnmf.com, domain-hhbvtubzmb.com, ajdadfasadf-dfasdfasdffkasdflaasdfasdfadsfsdf.com, domain-qpcjcuegfo.com, domain-hfammybgir.com, domain-wzpwirzjhw.com, domain-bmksgukfho.com, domain-wgndotoqeq.com, domain-caylrfskvb.com, domain-yiskfszugx.com, domain-cybkigrkys.com, domain-apjrfhvcvj.com, domain-rbbxpqpbfc.com, domain-egqxwnhxvw.com, domain-yuabwiiptw.com, domain-lpkjqeqrqk.com, domain-frxhbogtce.com, domain-etjphwwldc.com, domain-hmwunelvdx.com, domain-oconojssyb.com, domain-htosnqqkst.com, domain-tsffkleuad.com, domain-rldnotpxsw.com, domain-vdvjbxucnc.com, domain-lqniqtbubb.com, domain-zmwdhluxen.com, domain-kdrgobjsvq.com, domain-kyiawzcaak.com, domain-kkwogkcsik.com, domain-zvayvvidxe.com, domain-kpwsukpfeg.com, domain-ycxfuaqmkx.com, domain-qrexocdntp.com, domain-upqbeiixpu.com, domain-zxsoxbesxk.com, domain-pxbkgczpjt.com, domain-tfaihagvxv.com, domain-ztwttnbxpm.com, domain-yasodizcbz.com, domain-vcrkeikici.com, domain-jlwarjhwbp.com, domain-ypxmkkeswv.com, domain-iocoeusyth.com, domain-ivbxiktijv.com, domain-uvhblgkhlm.com, domain-bazjwizedc.com, domain-xnpaovzfby.com, domain-taqmxjzatf.com, domain-slzptykfga.com, domain-krznzjhqor.com, domain-txozjangxx.com, domain-bsaxokkzoz.com, domain-zwaifamqvr.com, domain-cbrwqvfdea.com, domain-dyjdrfclbe.com, domain-nmagnqjtjd.com, domain-ypbiohfjeu.com, domain-hxpprojezz.com, domain-dyadfjdrfclbe.com, doadfmain-dyadfjdrfclbe.com, domain-uiigtkuksy.com, domain-sesuszlcai.com, domain-yhwfiusnnw.com, domain-mdwzlwepxl.com, domain-zttgehurwm.com, domain-uvekvbaqoz.com, domain-prdqcilbvc.com, domain-xddnkojtgf.com, domain-kenlpempje.com, domain-oozzcmyesz.com, domain-ovdelzqyim.com, domain-dmykrylmid.com, domain-zojznkkefo.com, domain-wqzqxpkzgx.com, domain-kckpyonvct.com, domain-asiygqrbwa.com, domain-mizcpqohrm.com, domain-clmkfudexr.com, domain-gtenluuges.com, domain-qbezgpesqo.com, domain-ktjvtfvkuo.com, domain-nhyfhpmbth.com, domain-iwodglnjmh.com, domain-qkjxwoimsb.com, domain-xcplaruxbm.com, domain-qzemwjcroo.com, domain-puppdqjvjo.com, domain-ccolrlekvl.com, domain-ryncbrxsxf.com, domain-kmpcihxntu.com, domain-bapsktqiey.com, domain-ipbrajacwx.com, domain-dhxcwoncyu.com, domain-wjxoodjkkb.com, domain-cguutclvfx.com, domain-hzdjfcjfzq.com, domain-sturdxifqc.com, domain-lktpbwbhct.com, domain-pmmvbgwipf.com, domain-iqmflumqrd.com, domain-atkbkxjoka.com, domain-osojkjlqpm.com, domain-pllihzpnwa.com, domain-ylbcmunvnb.com, domain-zsxhmmkthx.com, domain-xalbknczda.com, domain-vwtclrvsth.com, domain-ggykqwhuyt.com, domain-cptekcmksn.com, domain-hldgubzlku.com, domain-kchrcceaoe.com, domain-exnjuxfzzy.com, domain-jqwgdxoono.com, domain-coeralunus.com, domain-toiinxnodp.com, domain-caksqixieb.com, domain-empjzbfcwh.com, domain-jwkduhpwcx.com, domain-psrcfdtnci.com, domain-dzxobkmjko.com, domain-eltokcease.com, domain-aimkzpimeq.com, domain-dsqoscfdjk.com, domain-mlnvyfrklp.com, domain-wpwrqacojv.com, domain-wycjytxzkl.com, domain-kpxlbzjctp.com, domain-surtqkjvua.com, domain-umusiaodmk.com, domain-xdvhhczcjc.com, domain-upxlkwpmpq.com, domain-cajzscbgzp.com, domain-kiipdrgsji.com, domain-vpkhydtpih.com, domain-kywctjbaxe.com, domain-sjbhmscktu.com, domain-mcotvlnjjz.com, domain-aqypfxjtxz.com, domain-phvzjzhiaw.com, domain-xwzdageiuj.com, domain-yrfoocnkqd.com, domain-xdmwcupuhy.com, domain-szmxlejtvt.com, domain-zbiwcbijuu.com, domain-czsblgyzzp.com, domain-uvcccntbma.com, domain-ekmujzqlzo.com, domain-oakahlhwtb.com, domain-tpyvgyexiu.com, domain-cmgelakpjc.com, domain-dlqpdiapka.com, domain-llbzgmlchj.com, domain-gzpsjwmtgm.com, domain-vdsifjhlxh.com, domain-zmpwhkfvau.com) relacionados con este contacto, así que no se ha podido eliminar"
  ]
}
HTTP/1.1 422 Unprocessable Entity
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 625
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<errors>
  <error>Tiene dominios (domain-pasotkvhcp.com, domain-btcknuweuh.com, domain-bydonsosdc.com, domain-aqzxblhmeb.com, domain-nfbdfcpxmx.com, domain-jhkmitlqik.com, domain-dheusggyko.com, domain-tletzjclgp.com, domain-mhleslikpb.com, domain-yirwrrebxr.com, domain-ngwfzrnnmf.com, domain-hhbvtubzmb.com, ajdadfasadf-dfasdfasdffkasdflaasdfasdfadsfsdf.com, domain-qpcjcuegfo.com, domain-hfammybgir.com, domain-wzpwirzjhw.com, domain-bmksgukfho.com, domain-wgndotoqeq.com, domain-caylrfskvb.com, domain-yiskfszugx.com, domain-cybkigrkys.com, domain-apjrfhvcvj.com, domain-rbbxpqpbfc.com, domain-egqxwnhxvw.com, domain-yuabwiiptw.com, domain-lpkjqeqrqk.com, domain-frxhbogtce.com, domain-etjphwwldc.com, domain-hmwunelvdx.com, domain-oconojssyb.com, domain-htosnqqkst.com, domain-tsffkleuad.com, domain-rldnotpxsw.com, domain-vdvjbxucnc.com, domain-lqniqtbubb.com, domain-zmwdhluxen.com, domain-kdrgobjsvq.com, domain-kyiawzcaak.com, domain-kkwogkcsik.com, domain-zvayvvidxe.com, domain-kpwsukpfeg.com, domain-ycxfuaqmkx.com, domain-qrexocdntp.com, domain-upqbeiixpu.com, domain-zxsoxbesxk.com, domain-pxbkgczpjt.com, domain-tfaihagvxv.com, domain-ztwttnbxpm.com, domain-yasodizcbz.com, domain-vcrkeikici.com, domain-jlwarjhwbp.com, domain-ypxmkkeswv.com, domain-iocoeusyth.com, domain-ivbxiktijv.com, domain-uvhblgkhlm.com, domain-bazjwizedc.com, domain-xnpaovzfby.com, domain-taqmxjzatf.com, domain-slzptykfga.com, domain-krznzjhqor.com, domain-txozjangxx.com, domain-bsaxokkzoz.com, domain-zwaifamqvr.com, domain-cbrwqvfdea.com, domain-dyjdrfclbe.com, domain-nmagnqjtjd.com, domain-ypbiohfjeu.com, domain-hxpprojezz.com, domain-dyadfjdrfclbe.com, doadfmain-dyadfjdrfclbe.com, domain-uiigtkuksy.com, domain-sesuszlcai.com, domain-yhwfiusnnw.com, domain-mdwzlwepxl.com, domain-zttgehurwm.com, domain-uvekvbaqoz.com, domain-prdqcilbvc.com, domain-xddnkojtgf.com, domain-kenlpempje.com, domain-oozzcmyesz.com, domain-ovdelzqyim.com, domain-dmykrylmid.com, domain-zojznkkefo.com, domain-wqzqxpkzgx.com, domain-kckpyonvct.com, domain-asiygqrbwa.com, domain-mizcpqohrm.com, domain-clmkfudexr.com, domain-gtenluuges.com, domain-qbezgpesqo.com, domain-ktjvtfvkuo.com, domain-nhyfhpmbth.com, domain-iwodglnjmh.com, domain-qkjxwoimsb.com, domain-xcplaruxbm.com, domain-qzemwjcroo.com, domain-puppdqjvjo.com, domain-ccolrlekvl.com, domain-ryncbrxsxf.com, domain-kmpcihxntu.com, domain-bapsktqiey.com, domain-ipbrajacwx.com, domain-dhxcwoncyu.com, domain-wjxoodjkkb.com, domain-cguutclvfx.com, domain-hzdjfcjfzq.com, domain-sturdxifqc.com, domain-lktpbwbhct.com, domain-pmmvbgwipf.com, domain-iqmflumqrd.com, domain-atkbkxjoka.com, domain-osojkjlqpm.com, domain-pllihzpnwa.com, domain-ylbcmunvnb.com, domain-zsxhmmkthx.com, domain-xalbknczda.com, domain-vwtclrvsth.com, domain-ggykqwhuyt.com, domain-cptekcmksn.com, domain-hldgubzlku.com, domain-kchrcceaoe.com, domain-exnjuxfzzy.com, domain-jqwgdxoono.com, domain-coeralunus.com, domain-toiinxnodp.com, domain-caksqixieb.com, domain-empjzbfcwh.com, domain-jwkduhpwcx.com, domain-psrcfdtnci.com, domain-dzxobkmjko.com, domain-eltokcease.com, domain-aimkzpimeq.com, domain-dsqoscfdjk.com, domain-mlnvyfrklp.com, domain-wpwrqacojv.com, domain-wycjytxzkl.com, domain-kpxlbzjctp.com, domain-surtqkjvua.com, domain-umusiaodmk.com, domain-xdvhhczcjc.com, domain-upxlkwpmpq.com, domain-cajzscbgzp.com, domain-kiipdrgsji.com, domain-vpkhydtpih.com, domain-kywctjbaxe.com, domain-sjbhmscktu.com, domain-mcotvlnjjz.com, domain-aqypfxjtxz.com, domain-phvzjzhiaw.com, domain-xwzdageiuj.com, domain-yrfoocnkqd.com, domain-xdmwcupuhy.com, domain-szmxlejtvt.com, domain-zbiwcbijuu.com, domain-czsblgyzzp.com, domain-uvcccntbma.com, domain-ekmujzqlzo.com, domain-oakahlhwtb.com, domain-tpyvgyexiu.com, domain-cmgelakpjc.com, domain-dlqpdiapka.com, domain-llbzgmlchj.com, domain-gzpsjwmtgm.com, domain-vdsifjhlxh.com, domain-zmpwhkfvau.com) relacionados con este contacto, así que no se ha podido eliminar</error>
</errors>
HTTP/1.1 422 Unprocessable Entity
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 624
X-Ratelimit-Reset: 1442228400

Extensiones

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/extensions.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/extensions.xml
{
  "com" : {
    "currency" : "EUR",
    "pricing" : {
      "register" : {
        "1" : 10.0,
        "2" : 10.0,
        "3" : 10.0,
        "4" : 10.0,
        "5" : 10.0,
        "6" : 10.0,
        "7" : 10.0,
        "8" : 10.0,
        "9" : 10.0,
        "10" : 10.0
      },
      "renew" : {
        "1" : 10.0,
        "2" : 10.0,
        "3" : 10.0,
        "4" : 10.0,
        "5" : 10.0,
        "6" : 10.0,
        "7" : 10.0,
        "8" : 10.0,
        "9" : 10.0,
        "10" : 10.0
      },
      "restore" : {
        "1" : 100.0
      },
      "transfer" : {
        "1" : 10.0
      }
    }
  },
  "net" : {
    "currency" : "EUR",
    "pricing" : {
      "register" : {
        "1" : 10.0,
        "2" : 10.0,
        "3" : 10.0,
        "4" : 10.0,
        "5" : 10.0,
        "6" : 10.0,
        "7" : 10.0,
        "8" : 10.0,
        "9" : 10.0,
        "10" : 10.0
      },
      "renew" : {
        "1" : 10.0,
        "2" : 10.0,
        "3" : 10.0,
        "4" : 10.0,
        "5" : 10.0,
        "6" : 10.0,
        "7" : 10.0,
        "8" : 10.0,
        "9" : 10.0,
        "10" : 10.0
      },
      "restore" : {
        "1" : 100.0
      },
      "transfer" : {
        "1" : 10.0
      }
    }
  }
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 268
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<hash>
  <com>
    <currency>EUR</currency>
    <pricing>
      <register>
        <1>10.0</1>
        <2>10.0</2>
        <3>10.0</3>
        <4>10.0</4>
        <5>10.0</5>
        <6>10.0</6>
        <7>10.0</7>
        <8>10.0</8>
        <9>10.0</9>
        <10>10.0</10>
      </register>
      <renew>
        <1>10.0</1>
        <2>10.0</2>
        <3>10.0</3>
        <4>10.0</4>
        <5>10.0</5>
        <6>10.0</6>
        <7>10.0</7>
        <8>10.0</8>
        <9>10.0</9>
        <10>10.0</10>
      </renew>
      <restore>
        <1>100.0</1>
      </restore>
      <transfer>
        <1>10.0</1>
      </transfer>
    </pricing>
  </com>
  <net>
    <currency>EUR</currency>
    <pricing>
      <register>
        <1>10.0</1>
        <2>10.0</2>
        <3>10.0</3>
        <4>10.0</4>
        <5>10.0</5>
        <6>10.0</6>
        <7>10.0</7>
        <8>10.0</8>
        <9>10.0</9>
        <10>10.0</10>
      </register>
      <renew>
        <1>10.0</1>
        <2>10.0</2>
        <3>10.0</3>
        <4>10.0</4>
        <5>10.0</5>
        <6>10.0</6>
        <7>10.0</7>
        <8>10.0</8>
        <9>10.0</9>
        <10>10.0</10>
      </renew>
      <restore>
        <1>100.0</1>
      </restore>
      <transfer>
        <1>10.0</1>
      </transfer>
    </pricing>
  </net>
</hash>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 267
X-Ratelimit-Reset: 1442228400

Devuelve la lista de extensiones soportadas para tu cuenta de cliente, junto con los precios. La estructura tiene un primer nivel de TLD. Este contiene currency, que representa la divisa en la que se cobran las acciones del mismo (ISO 4217). Al mismo nivel que currency se encuentra pricing, que incluye una lista de acciones disponibles: register (registrar), renew (renovar), transfer (transferir) o restore (restaurar). Cada una de estas acciones incluye el precio para los años solicitados, con precio de acción por año. Es decir: com -> pricing -> register -> 5 contendría el precio por año de registrar un dominio .com por 5 años (precio por año).

Lista de dominios

Listado

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/domains.json?limit=2
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/domains.xml?limit=2
[
  {
    "id" : 366,
    "name" : "domain-pasotkvhcp.com",
    "created_at" : "2015-04-17T19:59:17.000+02:00",
    "updated_at" : "2015-09-14T11:15:54.000+02:00",
    "auto_renew" : null,
    "privacy" : false,
    "protection" : true,
    "authcode" : "1t5q1stjB",
    "transfer_date_requested" : null,
    "nameservers" : [
      "dns3.debian.org",
      "dns4.debian.org"
    ],
    "contacts" : {
      "registrant" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "administrative" : {
        "id" : 507,
        "name" : "Nómbre",
        "company" : null,
        "email" : "test@test.com",
        "address" : "Test",
        "city" : "Test",
        "state" : "Test",
        "country" : "US",
        "zipcode" : "00000",
        "phonecc" : "34",
        "phone" : "123456789",
        "created_at" : "2015-09-14T10:58:48.000+02:00",
        "updated_at" : "2015-09-14T11:07:24.000+02:00",
        "ic" : "Identification number",
        "faxcc" : null,
        "fax" : null,
        "lastname" : "Apéllidos",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "billing" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "technical" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      }
    },
    "product_info" : {
      "product_status" : "active",
      "product_technical_status" : null,
      "product_periodicity" : "not_recurrent",
      "product_expiration" : "2083-04-17"
    }
  },
  {
    "id" : 367,
    "name" : "domain-btcknuweuh.com",
    "created_at" : "2015-04-17T19:59:18.000+02:00",
    "updated_at" : "2015-04-17T19:59:20.000+02:00",
    "auto_renew" : null,
    "privacy" : false,
    "protection" : true,
    "authcode" : "5No651D57",
    "transfer_date_requested" : null,
    "nameservers" : [
      "ns1.tecnocratica.net",
      "ns2.tecnocratica.net"
    ],
    "contacts" : {
      "registrant" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "administrative" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "billing" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "technical" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      }
    },
    "product_info" : {
      "product_status" : "active",
      "product_technical_status" : null,
      "product_periodicity" : "not_recurrent",
      "product_expiration" : "2022-04-17"
    }
  }
]
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 266
X-Ratelimit-Reset: 1442228400
X-Total-Count: 181
<?xml version="1.0" encoding="UTF-8"?>
<domains>
  <domain>
    <id>366</id>
    <name>domain-pasotkvhcp.com</name>
    <created-at>2015-04-17T19:59:17+02:00</created-at>
    <updated-at>2015-09-14T11:15:54+02:00</updated-at>
    <auto-renew nil="true"/>
    <privacy>false</privacy>
    <protection>true</protection>
    <authcode>1t5q1stjB</authcode>
    <transfer-date-requested nil="true"/>
    <nameservers>
      <nameserver>dns3.debian.org</nameserver>
      <nameserver>dns4.debian.org</nameserver>
    </nameservers>
    <contacts>
      <registrant>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </registrant>
      <administrative>
        <id>507</id>
        <name>Nómbre</name>
        <company nil="true"/>
        <email>test@test.com</email>
        <address>Test</address>
        <city>Test</city>
        <state>Test</state>
        <country>US</country>
        <zipcode>00000</zipcode>
        <phonecc>34</phonecc>
        <phone>123456789</phone>
        <created-at>2015-09-14T10:58:48+02:00</created-at>
        <updated-at>2015-09-14T11:07:24+02:00</updated-at>
        <ic>Identification number</ic>
        <faxcc nil="true"/>
        <fax nil="true"/>
        <lastname>Apéllidos</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </administrative>
      <billing>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </billing>
      <technical>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </technical>
    </contacts>
    <product-info>
      <product-status>active</product-status>
      <product-technical-status nil="true"/>
      <product-periodicity>not_recurrent</product-periodicity>
      <product-expiration>2083-04-17</product-expiration>
    </product-info>
  </domain>
  <domain>
    <id>367</id>
    <name>domain-btcknuweuh.com</name>
    <created-at>2015-04-17T19:59:18+02:00</created-at>
    <updated-at>2015-04-17T19:59:20+02:00</updated-at>
    <auto-renew nil="true"/>
    <privacy>false</privacy>
    <protection>true</protection>
    <authcode>5No651D57</authcode>
    <transfer-date-requested nil="true"/>
    <nameservers>
      <nameserver>ns1.tecnocratica.net</nameserver>
      <nameserver>ns2.tecnocratica.net</nameserver>
    </nameservers>
    <contacts>
      <registrant>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </registrant>
      <administrative>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </administrative>
      <billing>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </billing>
      <technical>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </technical>
    </contacts>
    <product-info>
      <product-status>active</product-status>
      <product-technical-status nil="true"/>
      <product-periodicity>not_recurrent</product-periodicity>
      <product-expiration>2022-04-17</product-expiration>
    </product-info>
  </domain>
</domains>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 265
X-Ratelimit-Reset: 1442228400
X-Total-Count: 181
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/domains.json?name=domain-pasotkvhcp.com
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/domains.xml?name=domain-pasotkvhcp.com
[
  {
    "id" : 366,
    "name" : "domain-pasotkvhcp.com",
    "created_at" : "2015-04-17T19:59:17.000+02:00",
    "updated_at" : "2015-09-14T11:15:54.000+02:00",
    "auto_renew" : null,
    "privacy" : false,
    "protection" : true,
    "authcode" : "1t5q1stjB",
    "transfer_date_requested" : null,
    "nameservers" : [
      "dns3.debian.org",
      "dns4.debian.org"
    ],
    "contacts" : {
      "registrant" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "administrative" : {
        "id" : 507,
        "name" : "Nómbre",
        "company" : null,
        "email" : "test@test.com",
        "address" : "Test",
        "city" : "Test",
        "state" : "Test",
        "country" : "US",
        "zipcode" : "00000",
        "phonecc" : "34",
        "phone" : "123456789",
        "created_at" : "2015-09-14T10:58:48.000+02:00",
        "updated_at" : "2015-09-14T11:07:24.000+02:00",
        "ic" : "Identification number",
        "faxcc" : null,
        "fax" : null,
        "lastname" : "Apéllidos",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "billing" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      },
      "technical" : {
        "id" : 233,
        "name" : "Nómbre",
        "company" : "Neodigit",
        "email" : "info@neodigit.es",
        "address" : "Calle Agosto, 6 b",
        "city" : "Madrid",
        "state" : "Madrid",
        "country" : "ES",
        "zipcode" : "28022",
        "phonecc" : "34",
        "phone" : "34910059090",
        "created_at" : "2015-04-17T19:56:10.000+02:00",
        "updated_at" : "2015-09-10T13:48:08.000+02:00",
        "ic" : "7865612",
        "faxcc" : "34",
        "fax" : "910059090",
        "lastname" : "Apéllidos222",
        "birthdate" : null,
        "birthplace" : null,
        "passport" : null
      }
    },
    "product_info" : {
      "product_status" : "active",
      "product_technical_status" : null,
      "product_periodicity" : "not_recurrent",
      "product_expiration" : "2083-04-17"
    }
  }
]
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 263
X-Ratelimit-Reset: 1442228400
X-Total-Count: 1
<?xml version="1.0" encoding="UTF-8"?>
<domains>
  <domain>
    <id>366</id>
    <name>domain-pasotkvhcp.com</name>
    <created-at>2015-04-17T19:59:17+02:00</created-at>
    <updated-at>2015-09-14T11:15:54+02:00</updated-at>
    <auto-renew nil="true"/>
    <privacy>false</privacy>
    <protection>true</protection>
    <authcode>1t5q1stjB</authcode>
    <transfer-date-requested nil="true"/>
    <nameservers>
      <nameserver>dns3.debian.org</nameserver>
      <nameserver>dns4.debian.org</nameserver>
    </nameservers>
    <contacts>
      <registrant>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </registrant>
      <administrative>
        <id>507</id>
        <name>Nómbre</name>
        <company nil="true"/>
        <email>test@test.com</email>
        <address>Test</address>
        <city>Test</city>
        <state>Test</state>
        <country>US</country>
        <zipcode>00000</zipcode>
        <phonecc>34</phonecc>
        <phone>123456789</phone>
        <created-at>2015-09-14T10:58:48+02:00</created-at>
        <updated-at>2015-09-14T11:07:24+02:00</updated-at>
        <ic>Identification number</ic>
        <faxcc nil="true"/>
        <fax nil="true"/>
        <lastname>Apéllidos</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </administrative>
      <billing>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </billing>
      <technical>
        <id>233</id>
        <name>Nómbre</name>
        <company>Neodigit</company>
        <email>info@neodigit.es</email>
        <address>Calle Agosto, 6 b</address>
        <city>Madrid</city>
        <state>Madrid</state>
        <country>ES</country>
        <zipcode>28022</zipcode>
        <phonecc>34</phonecc>
        <phone>34910059090</phone>
        <created-at>2015-04-17T19:56:10+02:00</created-at>
        <updated-at>2015-09-10T13:48:08+02:00</updated-at>
        <ic>7865612</ic>
        <faxcc>34</faxcc>
        <fax>910059090</fax>
        <lastname>Apéllidos222</lastname>
        <birthdate nil="true"/>
        <birthplace nil="true"/>
        <passport nil="true"/>
      </technical>
    </contacts>
    <product-info>
      <product-status>active</product-status>
      <product-technical-status nil="true"/>
      <product-periodicity>not_recurrent</product-periodicity>
      <product-expiration>2083-04-17</product-expiration>
    </product-info>
  </domain>
</domains>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 262
X-Ratelimit-Reset: 1442228400
X-Total-Count: 1

Refiérete a la documentación del detalle de dominio para saber más acerca de cada atributo.

Además de filtrar por los atributos documentados en listados, es posible filtrar por el campo name, que es el nombre completo del dominio.

Detalle de dominio

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/domains/366.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/domains/366.xml
{
  "id" : 366,
  "name" : "domain-pasotkvhcp.com",
  "created_at" : "2015-04-17T19:59:17.000+02:00",
  "updated_at" : "2015-09-14T11:15:54.000+02:00",
  "auto_renew" : null,
  "privacy" : false,
  "protection" : true,
  "authcode" : "1t5q1stjB",
  "transfer_date_requested" : null,
  "nameservers" : [
    "dns3.debian.org",
    "dns4.debian.org"
  ],
  "contacts" : {
    "registrant" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "administrative" : {
      "id" : 507,
      "name" : "Nómbre",
      "company" : null,
      "email" : "test@test.com",
      "address" : "Test",
      "city" : "Test",
      "state" : "Test",
      "country" : "US",
      "zipcode" : "00000",
      "phonecc" : "34",
      "phone" : "123456789",
      "created_at" : "2015-09-14T10:58:48.000+02:00",
      "updated_at" : "2015-09-14T11:07:24.000+02:00",
      "ic" : "Identification number",
      "faxcc" : null,
      "fax" : null,
      "lastname" : "Apéllidos",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "billing" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "technical" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    }
  },
  "product_info" : {
    "product_status" : "active",
    "product_technical_status" : null,
    "product_periodicity" : "not_recurrent",
    "product_expiration" : "2083-04-17"
  }
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 260
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<domain>
  <id>366</id>
  <name>domain-pasotkvhcp.com</name>
  <created-at>2015-04-17T19:59:17+02:00</created-at>
  <updated-at>2015-09-14T11:15:54+02:00</updated-at>
  <auto-renew nil="true"/>
  <privacy>false</privacy>
  <protection>true</protection>
  <authcode>1t5q1stjB</authcode>
  <transfer-date-requested nil="true"/>
  <nameservers>
    <nameserver>dns3.debian.org</nameserver>
    <nameserver>dns4.debian.org</nameserver>
  </nameservers>
  <contacts>
    <registrant>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </registrant>
    <administrative>
      <id>507</id>
      <name>Nómbre</name>
      <company nil="true"/>
      <email>test@test.com</email>
      <address>Test</address>
      <city>Test</city>
      <state>Test</state>
      <country>US</country>
      <zipcode>00000</zipcode>
      <phonecc>34</phonecc>
      <phone>123456789</phone>
      <created-at>2015-09-14T10:58:48+02:00</created-at>
      <updated-at>2015-09-14T11:07:24+02:00</updated-at>
      <ic>Identification number</ic>
      <faxcc nil="true"/>
      <fax nil="true"/>
      <lastname>Apéllidos</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </administrative>
    <billing>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </billing>
    <technical>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </technical>
  </contacts>
  <product-info>
    <product-status>active</product-status>
    <product-technical-status nil="true"/>
    <product-periodicity>not_recurrent</product-periodicity>
    <product-expiration>2083-04-17</product-expiration>
  </product-info>
</domain>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 259
X-Ratelimit-Reset: 1442228400
Atributo Tipo Descripción
id integer Identificador
name string Nombre del dominio (incluyendo el TLD)
auto_renew boolean Auto renovación
privacy boolean Privacidad de contactos (no está soportado por todos los TLD’s)
protection boolean Protección de transferencia (no está soportado por todos los TLD’s)
authcode string Authcode del dominio
transfer_date_requested datetime En caso de que el dominio sea una transferencia entrante, la fecha y hora de la última solicitud de transferencia
contacts object Incluye los identificadores de los dominios (registrant: registrante, administrative: administrativo, technical: técnico, billing: facturación)

product_status

Además de los estados documentados en el detalle de cualquier producto o servicio, los dominios pueden adoptar varios valores nuevos, que pasamos a documentar:

Valor Descripción
transferring El dominio está siendo transferido hacia tu cuenta de cliente
transfer_expired La transferencia del dominio caducó o fue cancelada por el cliente o el proveedor saliente. Puedes reiniciar la transferencia para probar de nuevo. Reiniciar la transferencia no conlleva ningún coste adicional
outbound_transfer El dominio fue transferido hacia otro proveedor y ya hemos perdido el control sobre él
expired El dominio está expirado. Mientras el dominio tenga este estado es posible solicitar su renovación
redemption El dominio está en redención. Es posible solicitar su recuperación

Disponibilidad de dominios para registro

curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "domains" : ["domain-tvhvlduqdm.com", "domain-tnlkjbgzyx.net", "api.org"] }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/register/available.json
curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "domains" : ["domain-tvhvlduqdm.com", "domain-tnlkjbgzyx.net", "api.org"] }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/register/available.xml
{
  "domain-tvhvlduqdm.com" : true,
  "domain-tnlkjbgzyx.net" : false,
  "api.org" : false
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 623
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<register-available>
  <domain-tvhvlduqdm.com>true</domain-tvhvlduqdm.com>
  <domain-tnlkjbgzyx.net>false</domain-tnlkjbgzyx.net>
  <api.org>false</api.org>
</register-available>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 622
X-Ratelimit-Reset: 1442228400

Comprueba si una lista de dominios está disponible para registro.

Registrar dominio

curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "domain" : { "name" : "domain-pjoeekeffb.com", "contacts" : { "registrant" : 233, "administrative" : 233, "technical" : 233, "billing" : 233 }, "auto_renew" : true, "years" : 5, "nameservers" : ["dns1.debian.org", "dns2.debian.org"] } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/register.json
{
  "id" : 816,
  "name" : "domain-pjoeekeffb.com",
  "created_at" : "2015-09-14T11:16:05.000+02:00",
  "updated_at" : "2015-09-14T11:16:06.000+02:00",
  "auto_renew" : true,
  "privacy" : null,
  "protection" : null,
  "authcode" : null,
  "transfer_date_requested" : null,
  "nameservers" : [
    "dns1.debian.org",
    "dns2.debian.org"
  ],
  "contacts" : {
    "registrant" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "administrative" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "billing" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "technical" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    }
  },
  "product_info" : {
    "product_status" : "paid",
    "product_technical_status" : null,
    "product_periodicity" : "not_recurrent",
    "product_expiration" : null
  }
}
HTTP/1.1 201 Created
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 621
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "domain" : { "name" : "domain-jtckfsqrdj.com", "contacts" : { "registrant" : 233, "administrative" : 233, "technical" : 233, "billing" : 233 }, "auto_renew" : true, "years" : 5, "nameservers" : ["dns1.debian.org", "dns2.debian.org"] } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/register.xml
<?xml version="1.0" encoding="UTF-8"?>
<domain>
  <id>817</id>
  <name>domain-jtckfsqrdj.com</name>
  <created-at>2015-09-14T11:16:06+02:00</created-at>
  <updated-at>2015-09-14T11:16:06+02:00</updated-at>
  <auto-renew>true</auto-renew>
  <privacy nil="true"/>
  <protection nil="true"/>
  <authcode nil="true"/>
  <transfer-date-requested nil="true"/>
  <nameservers>
    <nameserver>dns1.debian.org</nameserver>
    <nameserver>dns2.debian.org</nameserver>
  </nameservers>
  <contacts>
    <registrant>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </registrant>
    <administrative>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </administrative>
    <billing>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </billing>
    <technical>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </technical>
  </contacts>
  <product-info>
    <product-status>paid</product-status>
    <product-technical-status nil="true"/>
    <product-periodicity>not_recurrent</product-periodicity>
    <product-expiration nil="true"/>
  </product-info>
</domain>
HTTP/1.1 201 Created
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 620
X-Ratelimit-Reset: 1442228400

Disponibilidad de dominios para transferencia

curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "domains" : ["domain-zyfyweebtb.com", "domain-gtzmgrsiso.net", "api.org", "hello.es"] }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/transfer/available.json
curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "domains" : ["domain-zyfyweebtb.com", "domain-gtzmgrsiso.net", "api.org", "hello.es"] }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/transfer/available.xml
{
  "domain-zyfyweebtb.com" : true,
  "domain-gtzmgrsiso.net" : false,
  "api.org" : false,
  "hello.es" : false
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 619
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<transfer-available>
  <domain-zyfyweebtb.com>true</domain-zyfyweebtb.com>
  <domain-gtzmgrsiso.net>false</domain-gtzmgrsiso.net>
  <api.org>false</api.org>
  <hello.es>false</hello.es>
</transfer-available>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 618
X-Ratelimit-Reset: 1442228400

Comprueba si una lista de dominios está disponible para transferencia.

Dependiendo del tipo de dominio, se comprobará si el dominio registrado ya, y en caso de estar registrado si su estado permite la transferencia.

Transferir dominio

curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "domain" : { "name" : "domain-swuoveyfec.com", "contacts" : { "registrant" : 233, "administrative" : 233, "technical" : 233, "billing" : 233 }, "authcode" : "y3%", "auto_renew" : true } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/transfer.json
{
  "id" : 818,
  "name" : "domain-swuoveyfec.com",
  "created_at" : "2015-09-14T11:16:06.000+02:00",
  "updated_at" : "2015-09-14T11:16:07.000+02:00",
  "auto_renew" : true,
  "privacy" : null,
  "protection" : null,
  "authcode" : "y3%",
  "transfer_date_requested" : null,
  "nameservers" : [

  ],
  "contacts" : {
    "registrant" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "administrative" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "billing" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "technical" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    }
  },
  "product_info" : {
    "product_status" : "paid",
    "product_technical_status" : null,
    "product_periodicity" : "not_recurrent",
    "product_expiration" : null
  }
}
HTTP/1.1 201 Created
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 617
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "domain" : { "name" : "domain-ybtaydwuov.com", "contacts" : { "registrant" : 233, "administrative" : 233, "technical" : 233, "billing" : 233 }, "authcode" : "e^u23$!", "auto_renew" : true } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/transfer.xml
<?xml version="1.0" encoding="UTF-8"?>
<domain>
  <id>819</id>
  <name>domain-ybtaydwuov.com</name>
  <created-at>2015-09-14T11:16:07+02:00</created-at>
  <updated-at>2015-09-14T11:16:07+02:00</updated-at>
  <auto-renew>true</auto-renew>
  <privacy nil="true"/>
  <protection nil="true"/>
  <authcode>e^u23$!</authcode>
  <transfer-date-requested nil="true"/>
  <nameservers/>
  <contacts>
    <registrant>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </registrant>
    <administrative>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </administrative>
    <billing>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </billing>
    <technical>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </technical>
  </contacts>
  <product-info>
    <product-status>paid</product-status>
    <product-technical-status nil="true"/>
    <product-periodicity>not_recurrent</product-periodicity>
    <product-expiration nil="true"/>
  </product-info>
</domain>
HTTP/1.1 201 Created
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 616
X-Ratelimit-Reset: 1442228400

Renovar dominio

curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "domain" : { "expiration_year" : 2083, "years" : 1 } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/366/renew.json
curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "domain" : { "expiration_year" : 2083, "years" : 1 } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/366/renew.xml
{
  "id" : 366,
  "name" : "domain-pasotkvhcp.com",
  "created_at" : "2015-04-17T19:59:17.000+02:00",
  "updated_at" : "2015-09-14T11:16:07.000+02:00",
  "auto_renew" : null,
  "privacy" : false,
  "protection" : true,
  "authcode" : "1t5q1stjB",
  "transfer_date_requested" : null,
  "nameservers" : [
    "dns3.debian.org",
    "dns4.debian.org"
  ],
  "contacts" : {
    "registrant" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "administrative" : {
      "id" : 507,
      "name" : "Nómbre",
      "company" : null,
      "email" : "test@test.com",
      "address" : "Test",
      "city" : "Test",
      "state" : "Test",
      "country" : "US",
      "zipcode" : "00000",
      "phonecc" : "34",
      "phone" : "123456789",
      "created_at" : "2015-09-14T10:58:48.000+02:00",
      "updated_at" : "2015-09-14T11:07:24.000+02:00",
      "ic" : "Identification number",
      "faxcc" : null,
      "fax" : null,
      "lastname" : "Apéllidos",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "billing" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "technical" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    }
  },
  "product_info" : {
    "product_status" : "active",
    "product_technical_status" : null,
    "product_periodicity" : "not_recurrent",
    "product_expiration" : "2083-04-17"
  }
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 615
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<domain>
  <id>366</id>
  <name>domain-pasotkvhcp.com</name>
  <created-at>2015-04-17T19:59:17+02:00</created-at>
  <updated-at>2015-09-14T11:16:07+02:00</updated-at>
  <auto-renew nil="true"/>
  <privacy>false</privacy>
  <protection>true</protection>
  <authcode>1t5q1stjB</authcode>
  <transfer-date-requested nil="true"/>
  <nameservers>
    <nameserver>dns3.debian.org</nameserver>
    <nameserver>dns4.debian.org</nameserver>
  </nameservers>
  <contacts>
    <registrant>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </registrant>
    <administrative>
      <id>507</id>
      <name>Nómbre</name>
      <company nil="true"/>
      <email>test@test.com</email>
      <address>Test</address>
      <city>Test</city>
      <state>Test</state>
      <country>US</country>
      <zipcode>00000</zipcode>
      <phonecc>34</phonecc>
      <phone>123456789</phone>
      <created-at>2015-09-14T10:58:48+02:00</created-at>
      <updated-at>2015-09-14T11:07:24+02:00</updated-at>
      <ic>Identification number</ic>
      <faxcc nil="true"/>
      <fax nil="true"/>
      <lastname>Apéllidos</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </administrative>
    <billing>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </billing>
    <technical>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </technical>
  </contacts>
  <product-info>
    <product-status>active</product-status>
    <product-technical-status nil="true"/>
    <product-periodicity>not_recurrent</product-periodicity>
    <product-expiration>2083-04-17</product-expiration>
  </product-info>
</domain>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 614
X-Ratelimit-Reset: 1442228400

Para renovar un dominio es necesario que especifiques el año de caducidad actual y los años que quieres renovar el dominio. Si por alguna razón pensabas que no habías renovado el dominio y si se renovó la acción no se ejecutará, y se devolverá un error, ya que el parámetro expiration_year que habrás especificado no coincidirá con la expiración real del dominio.

Atributo Tipo Descripción
expiration_year integer Año de la expiración actual del dominio
years string Años que se renovará el dominio

Especificamos un año de expiración actual erróneo

curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "domain" : { "expiration_year" : 1990, "years" : 1 } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/366/renew.json
curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "domain" : { "expiration_year" : 1990, "years" : 1 } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/366/renew.xml
{
  "expiration_year" : [
    "is invalid"
  ]
}
HTTP/1.1 422 Unprocessable Entity
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 613
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<errors>
  <error>Expiration year is invalid</error>
</errors>
HTTP/1.1 422 Unprocessable Entity
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 612
X-Ratelimit-Reset: 1442228400

Restaurar dominio

curl -X POST -d '{ domain_data }' -H 'X-TCpanel-Token: token' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/:id/restore.json

Actualizar dominio

curl -vvv -H 'X-TCpanel-Token: token' -X PATCH -d '{ "domain" : { "nameservers" : ["dns3.debian.org", "dns4.debian.org"] } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/366.json
curl -vvv -H 'X-TCpanel-Token: token' -X PATCH -d '{ "domain" : { "nameservers" : ["dns3.debian.org", "dns4.debian.org"] } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/366.xml
curl -vvv -H 'X-TCpanel-Token: token' -X PUT -d '{ "domain" : { "nameservers" : ["dns3.debian.org", "dns4.debian.org"] } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/366.json
curl -vvv -H 'X-TCpanel-Token: token' -X PUT -d '{ "domain" : { "nameservers" : ["dns3.debian.org", "dns4.debian.org"] } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/366.xml
{
  "id" : 366,
  "name" : "domain-pasotkvhcp.com",
  "created_at" : "2015-04-17T19:59:17.000+02:00",
  "updated_at" : "2015-09-14T11:16:07.000+02:00",
  "auto_renew" : null,
  "privacy" : false,
  "protection" : true,
  "authcode" : "1t5q1stjB",
  "transfer_date_requested" : null,
  "nameservers" : [
    "dns3.debian.org",
    "dns4.debian.org"
  ],
  "contacts" : {
    "registrant" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "administrative" : {
      "id" : 507,
      "name" : "Nómbre",
      "company" : null,
      "email" : "test@test.com",
      "address" : "Test",
      "city" : "Test",
      "state" : "Test",
      "country" : "US",
      "zipcode" : "00000",
      "phonecc" : "34",
      "phone" : "123456789",
      "created_at" : "2015-09-14T10:58:48.000+02:00",
      "updated_at" : "2015-09-14T11:07:24.000+02:00",
      "ic" : "Identification number",
      "faxcc" : null,
      "fax" : null,
      "lastname" : "Apéllidos",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "billing" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "technical" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    }
  },
  "product_info" : {
    "product_status" : "active",
    "product_technical_status" : null,
    "product_periodicity" : "not_recurrent",
    "product_expiration" : "2083-04-17"
  }
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 611
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<domain>
  <id>366</id>
  <name>domain-pasotkvhcp.com</name>
  <created-at>2015-04-17T19:59:17+02:00</created-at>
  <updated-at>2015-09-14T11:16:07+02:00</updated-at>
  <auto-renew nil="true"/>
  <privacy>false</privacy>
  <protection>true</protection>
  <authcode>1t5q1stjB</authcode>
  <transfer-date-requested nil="true"/>
  <nameservers>
    <nameserver>dns3.debian.org</nameserver>
    <nameserver>dns4.debian.org</nameserver>
  </nameservers>
  <contacts>
    <registrant>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </registrant>
    <administrative>
      <id>507</id>
      <name>Nómbre</name>
      <company nil="true"/>
      <email>test@test.com</email>
      <address>Test</address>
      <city>Test</city>
      <state>Test</state>
      <country>US</country>
      <zipcode>00000</zipcode>
      <phonecc>34</phonecc>
      <phone>123456789</phone>
      <created-at>2015-09-14T10:58:48+02:00</created-at>
      <updated-at>2015-09-14T11:07:24+02:00</updated-at>
      <ic>Identification number</ic>
      <faxcc nil="true"/>
      <fax nil="true"/>
      <lastname>Apéllidos</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </administrative>
    <billing>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </billing>
    <technical>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </technical>
  </contacts>
  <product-info>
    <product-status>active</product-status>
    <product-technical-status nil="true"/>
    <product-periodicity>not_recurrent</product-periodicity>
    <product-expiration>2083-04-17</product-expiration>
  </product-info>
</domain>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 610
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X PATCH -d '{ "domain" : { "contacts" : { "administrative" : 507 } } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/366.json
curl -vvv -H 'X-TCpanel-Token: token' -X PATCH -d '{ "domain" : { "contacts" : { "administrative" : 507 } } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/366.xml
curl -vvv -H 'X-TCpanel-Token: token' -X PUT -d '{ "domain" : { "contacts" : { "administrative" : 507 } } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/366.json
curl -vvv -H 'X-TCpanel-Token: token' -X PUT -d '{ "domain" : { "contacts" : { "administrative" : 507 } } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/366.xml
{
  "id" : 366,
  "name" : "domain-pasotkvhcp.com",
  "created_at" : "2015-04-17T19:59:17.000+02:00",
  "updated_at" : "2015-09-14T11:16:07.000+02:00",
  "auto_renew" : null,
  "privacy" : false,
  "protection" : true,
  "authcode" : "1t5q1stjB",
  "transfer_date_requested" : null,
  "nameservers" : [
    "dns3.debian.org",
    "dns4.debian.org"
  ],
  "contacts" : {
    "registrant" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "administrative" : {
      "id" : 507,
      "name" : "Nómbre",
      "company" : null,
      "email" : "test@test.com",
      "address" : "Test",
      "city" : "Test",
      "state" : "Test",
      "country" : "US",
      "zipcode" : "00000",
      "phonecc" : "34",
      "phone" : "123456789",
      "created_at" : "2015-09-14T10:58:48.000+02:00",
      "updated_at" : "2015-09-14T11:07:24.000+02:00",
      "ic" : "Identification number",
      "faxcc" : null,
      "fax" : null,
      "lastname" : "Apéllidos",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "billing" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    },
    "technical" : {
      "id" : 233,
      "name" : "Nómbre",
      "company" : "Neodigit",
      "email" : "info@neodigit.es",
      "address" : "Calle Agosto, 6 b",
      "city" : "Madrid",
      "state" : "Madrid",
      "country" : "ES",
      "zipcode" : "28022",
      "phonecc" : "34",
      "phone" : "34910059090",
      "created_at" : "2015-04-17T19:56:10.000+02:00",
      "updated_at" : "2015-09-10T13:48:08.000+02:00",
      "ic" : "7865612",
      "faxcc" : "34",
      "fax" : "910059090",
      "lastname" : "Apéllidos222",
      "birthdate" : null,
      "birthplace" : null,
      "passport" : null
    }
  },
  "product_info" : {
    "product_status" : "active",
    "product_technical_status" : null,
    "product_periodicity" : "not_recurrent",
    "product_expiration" : "2083-04-17"
  }
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 609
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<domain>
  <id>366</id>
  <name>domain-pasotkvhcp.com</name>
  <created-at>2015-04-17T19:59:17+02:00</created-at>
  <updated-at>2015-09-14T11:16:07+02:00</updated-at>
  <auto-renew nil="true"/>
  <privacy>false</privacy>
  <protection>true</protection>
  <authcode>1t5q1stjB</authcode>
  <transfer-date-requested nil="true"/>
  <nameservers>
    <nameserver>dns3.debian.org</nameserver>
    <nameserver>dns4.debian.org</nameserver>
  </nameservers>
  <contacts>
    <registrant>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </registrant>
    <administrative>
      <id>507</id>
      <name>Nómbre</name>
      <company nil="true"/>
      <email>test@test.com</email>
      <address>Test</address>
      <city>Test</city>
      <state>Test</state>
      <country>US</country>
      <zipcode>00000</zipcode>
      <phonecc>34</phonecc>
      <phone>123456789</phone>
      <created-at>2015-09-14T10:58:48+02:00</created-at>
      <updated-at>2015-09-14T11:07:24+02:00</updated-at>
      <ic>Identification number</ic>
      <faxcc nil="true"/>
      <fax nil="true"/>
      <lastname>Apéllidos</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </administrative>
    <billing>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </billing>
    <technical>
      <id>233</id>
      <name>Nómbre</name>
      <company>Neodigit</company>
      <email>info@neodigit.es</email>
      <address>Calle Agosto, 6 b</address>
      <city>Madrid</city>
      <state>Madrid</state>
      <country>ES</country>
      <zipcode>28022</zipcode>
      <phonecc>34</phonecc>
      <phone>34910059090</phone>
      <created-at>2015-04-17T19:56:10+02:00</created-at>
      <updated-at>2015-09-10T13:48:08+02:00</updated-at>
      <ic>7865612</ic>
      <faxcc>34</faxcc>
      <fax>910059090</fax>
      <lastname>Apéllidos222</lastname>
      <birthdate nil="true"/>
      <birthplace nil="true"/>
      <passport nil="true"/>
    </technical>
  </contacts>
  <product-info>
    <product-status>active</product-status>
    <product-technical-status nil="true"/>
    <product-periodicity>not_recurrent</product-periodicity>
    <product-expiration>2083-04-17</product-expiration>
  </product-info>
</domain>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 608
X-Ratelimit-Reset: 1442228400

Lista de hosts

Listado

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/domains/817/hosts.json?limit=2
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/domains/817/hosts.xml?limit=2
[
  {
    "id" : 263,
    "name" : "dns1",
    "ips" : [
      "8.8.8.8",
      "8.8.4.4"
    ]
  }
]
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 248
X-Ratelimit-Reset: 1442228400
X-Total-Count: 1
<?xml version="1.0" encoding="UTF-8"?>
<hosts>
  <host>
    <id>263</id>
    <name>dns1</name>
    <ips>
      <ip>8.8.8.8</ip>
      <ip>8.8.4.4</ip>
    </ips>
  </host>
</hosts>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 247
X-Ratelimit-Reset: 1442228400
X-Total-Count: 1

Muestra la lista de hosts o glue records.

Detalle de host

Muestra el detalle de un host o glue record.

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/domains/817/hosts/263.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/domains/domains/817/hosts/263.xml
{
  "id" : 263,
  "name" : "dns1",
  "ips" : [
    "8.8.8.8",
    "8.8.4.4"
  ]
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 244
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<host>
  <id>263</id>
  <name>dns1</name>
  <ips>
    <ip>8.8.8.8</ip>
    <ip>8.8.4.4</ip>
  </ips>
</host>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 243
X-Ratelimit-Reset: 1442228400

Crear host

curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "host" : { "name" : "ns1", "ips" : ["8.8.8.8", "8.8.4.4"] } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/817/hosts.json
{
  "id" : 264,
  "name" : "ns1",
  "ips" : [
    "8.8.8.8",
    "8.8.4.4"
  ]
}
HTTP/1.1 201 Created
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 606
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "host" : { "name" : "ns2", "ips" : ["8.8.8.8", "8.8.4.4"] } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/817/hosts.xml
<?xml version="1.0" encoding="UTF-8"?>
<host>
  <id>265</id>
  <name>ns2</name>
  <ips>
    <ip>8.8.8.8</ip>
    <ip>8.8.4.4</ip>
  </ips>
</host>
HTTP/1.1 201 Created
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 605
X-Ratelimit-Reset: 1442228400

Crea un host o glue record.

Modificar host

curl -vvv -H 'X-TCpanel-Token: token' -X PATCH -d '{ "host" : { "ips" : ["8.8.8.8", "8.8.2.2"] } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/817/hosts/263.json
curl -vvv -H 'X-TCpanel-Token: token' -X PATCH -d '{ "host" : { "ips" : ["8.8.8.8", "8.8.2.2"] } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/817/hosts/263.xml
curl -vvv -H 'X-TCpanel-Token: token' -X PUT -d '{ "host" : { "ips" : ["8.8.8.8", "8.8.2.2"] } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/817/hosts/263.json
curl -vvv -H 'X-TCpanel-Token: token' -X PUT -d '{ "host" : { "ips" : ["8.8.8.8", "8.8.2.2"] } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/817/hosts/263.xml
{
  "id" : 263,
  "name" : "dns1",
  "ips" : [
    "8.8.8.8",
    "8.8.2.2"
  ]
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 604
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<host>
  <id>263</id>
  <name>dns1</name>
  <ips>
    <ip>8.8.8.8</ip>
    <ip>8.8.2.2</ip>
  </ips>
</host>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 603
X-Ratelimit-Reset: 1442228400

Modifica las direcciones IP de un host o un glue record.

Eliminar host

curl -vvv -H 'X-TCpanel-Token: token' -X DELETE https://api.neodigit.net/v1/domains/domains/817/hosts/263.json
HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 602
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X DELETE https://api.neodigit.net/v1/domains/domains/817/hosts/264.xml
HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 601
X-Ratelimit-Reset: 1442228400

Elimina un host o glue record.

Registro masivo de dominios

curl -X POST -d '{ domain_data }' -H 'X-TCpanel-Token: token' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/bulk/register.json

Transferencia masiva de dominios

curl -X POST -d '{ domain_data }' -H 'X-TCpanel-Token: token' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/bulk/transfer.json

Renovación masiva de dominios

curl -X POST -d '{ domain_data }' -H 'X-TCpanel-Token: token' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/bulk/renew.json

Actualización masiva de dominios

curl -X POST -d '{ domain_data }' -H 'X-TCpanel-Token: token' -H 'Content-Type: application/json' https://api.neodigit.net/v1/domains/domains/bulk/update.json

DNS

Lista de zonas

Listado

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/dns/zones.json?limit=2
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/dns/zones.xml?limit=2
[
  {
    "id" : 37,
    "name" : "domain-injdhkusen.com",
    "created_at" : "2015-09-14T10:57:00.000+02:00",
    "updated_at" : "2015-09-14T10:57:00.000+02:00",
    "human_name" : "domain-injdhkusen.com"
  },
  {
    "id" : 38,
    "name" : "myzone-nitgnmffcq.com",
    "created_at" : "2015-09-14T10:58:46.000+02:00",
    "updated_at" : "2015-09-14T10:58:46.000+02:00",
    "human_name" : "myzone-nitgnmffcq.com"
  }
]
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 235
X-Ratelimit-Reset: 1442228400
X-Total-Count: 25
<?xml version="1.0" encoding="UTF-8"?>
<zones>
  <zone>
    <id>37</id>
    <name>domain-injdhkusen.com</name>
    <created-at>2015-09-14T10:57:00+02:00</created-at>
    <updated-at>2015-09-14T10:57:00+02:00</updated-at>
    <human-name>domain-injdhkusen.com</human-name>
  </zone>
  <zone>
    <id>38</id>
    <name>myzone-nitgnmffcq.com</name>
    <created-at>2015-09-14T10:58:46+02:00</created-at>
    <updated-at>2015-09-14T10:58:46+02:00</updated-at>
    <human-name>myzone-nitgnmffcq.com</human-name>
  </zone>
</zones>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 234
X-Ratelimit-Reset: 1442228400
X-Total-Count: 25

Refiérete a la documentación del detalle de zona para saber más acerca de cada atributo.

Detalle de zona

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/dns/zones/37.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/dns/zones/37.xml
{
  "id" : 37,
  "name" : "domain-injdhkusen.com",
  "created_at" : "2015-09-14T10:57:00.000+02:00",
  "updated_at" : "2015-09-14T10:57:00.000+02:00",
  "human_name" : "domain-injdhkusen.com"
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 232
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<zone>
  <id>37</id>
  <name>domain-injdhkusen.com</name>
  <created-at>2015-09-14T10:57:00+02:00</created-at>
  <updated-at>2015-09-14T10:57:00+02:00</updated-at>
  <human-name>domain-injdhkusen.com</human-name>
</zone>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 231
X-Ratelimit-Reset: 1442228400
Atributo Tipo Descripción
id integer Identificador
name string Nombre del dominio en codificación IDN (RFC 5890)
human_name string Nombre del dominio en codificación UTF-8

Crear zona

curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "zone" : { "name" : "myzone-ojyuvwaljb.com" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/dns/zones.json
{
  "id" : 62,
  "name" : "myzone-ojyuvwaljb.com",
  "created_at" : "2015-09-14T11:16:13.364+02:00",
  "updated_at" : "2015-09-14T11:16:13.364+02:00",
  "human_name" : "myzone-ojyuvwaljb.com"
}
HTTP/1.1 201 Created
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 600
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "zone" : { "name" : "myzone-pudivbincw.com" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/dns/zones.xml
<?xml version="1.0" encoding="UTF-8"?>
<zone>
  <id>63</id>
  <name>myzone-pudivbincw.com</name>
  <created-at>2015-09-14T11:16:13+02:00</created-at>
  <updated-at>2015-09-14T11:16:13+02:00</updated-at>
  <human-name>myzone-pudivbincw.com</human-name>
</zone>
HTTP/1.1 201 Created
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 599
X-Ratelimit-Reset: 1442228400

Atributos obligatorios

name

Atributos opcionales

Ninguno

Refiérete a la documentación del detalle de zona para saber más acerca de cada atributo.

Eliminar zona

curl -vvv -H 'X-TCpanel-Token: token' -X DELETE https://api.neodigit.net/v1/dns/zones/37.json
HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 598
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X DELETE https://api.neodigit.net/v1/dns/zones/38.xml
HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 597
X-Ratelimit-Reset: 1442228400

Lista de registros

Listado

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/dns/zones/39/records.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/dns/zones/39/records.xml
[
  {
    "id" : 337,
    "name" : "",
    "type" : "SOA",
    "content" : "ns1.tecnocratica.net dns.tecnocratica.net 2015091402 7200 7200 1209600 1800",
    "ttl" : 7200,
    "prio" : null,
    "created_at" : "2015-09-14T10:58:47.000+02:00",
    "updated_at" : "2015-09-14T10:58:47.000+02:00",
    "extra_fields" : {
      "primary" : "ns1.tecnocratica.net",
      "hostmaster" : "dns.tecnocratica.net",
      "serial" : "2015091402",
      "refresh" : "7200",
      "retry" : "7200",
      "expire" : "1209600",
      "negative_ttl" : "1800"
    }
  },
  {
    "id" : 338,
    "name" : "",
    "type" : "NS",
    "content" : "ns1.tecnocratica.net",
    "ttl" : 7200,
    "prio" : null,
    "created_at" : "2015-09-14T10:58:47.000+02:00",
    "updated_at" : "2015-09-14T10:58:47.000+02:00",
    "extra_fields" : null
  },
  {
    "id" : 339,
    "name" : "",
    "type" : "NS",
    "content" : "ns2.tecnocratica.net",
    "ttl" : 7200,
    "prio" : null,
    "created_at" : "2015-09-14T10:58:47.000+02:00",
    "updated_at" : "2015-09-14T10:58:47.000+02:00",
    "extra_fields" : null
  }
]
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 227
X-Ratelimit-Reset: 1442228400
X-Total-Count: 3
<?xml version="1.0" encoding="UTF-8"?>
<records>
  <record>
    <id>337</id>
    <name></name>
    <type>SOA</type>
    <content>ns1.tecnocratica.net dns.tecnocratica.net 2015091402 7200 7200 1209600 1800</content>
    <ttl>7200</ttl>
    <prio nil="true"/>
    <created-at>2015-09-14T10:58:47+02:00</created-at>
    <updated-at>2015-09-14T10:58:47+02:00</updated-at>
    <extra-fields>
      <primary>ns1.tecnocratica.net</primary>
      <hostmaster>dns.tecnocratica.net</hostmaster>
      <serial>2015091402</serial>
      <refresh>7200</refresh>
      <retry>7200</retry>
      <expire>1209600</expire>
      <negative-ttl>1800</negative-ttl>
    </extra-fields>
  </record>
  <record>
    <id>338</id>
    <name></name>
    <type>NS</type>
    <content>ns1.tecnocratica.net</content>
    <ttl>7200</ttl>
    <prio nil="true"/>
    <created-at>2015-09-14T10:58:47+02:00</created-at>
    <updated-at>2015-09-14T10:58:47+02:00</updated-at>
    <extra-fields nil="true"/>
  </record>
  <record>
    <id>339</id>
    <name></name>
    <type>NS</type>
    <content>ns2.tecnocratica.net</content>
    <ttl>7200</ttl>
    <prio nil="true"/>
    <created-at>2015-09-14T10:58:47+02:00</created-at>
    <updated-at>2015-09-14T10:58:47+02:00</updated-at>
    <extra-fields nil="true"/>
  </record>
</records>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 226
X-Ratelimit-Reset: 1442228400
X-Total-Count: 3

Obtener únicamente los registros de tipo NS

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/dns/zones/39/records.json?type=NS
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/dns/zones/39/records.xml?type=NS
[
  {
    "id" : 338,
    "name" : "",
    "type" : "NS",
    "content" : "ns1.tecnocratica.net",
    "ttl" : 7200,
    "prio" : null,
    "created_at" : "2015-09-14T10:58:47.000+02:00",
    "updated_at" : "2015-09-14T10:58:47.000+02:00",
    "extra_fields" : null
  },
  {
    "id" : 339,
    "name" : "",
    "type" : "NS",
    "content" : "ns2.tecnocratica.net",
    "ttl" : 7200,
    "prio" : null,
    "created_at" : "2015-09-14T10:58:47.000+02:00",
    "updated_at" : "2015-09-14T10:58:47.000+02:00",
    "extra_fields" : null
  }
]
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 224
X-Ratelimit-Reset: 1442228400
X-Total-Count: 2
<?xml version="1.0" encoding="UTF-8"?>
<records>
  <record>
    <id>338</id>
    <name></name>
    <type>NS</type>
    <content>ns1.tecnocratica.net</content>
    <ttl>7200</ttl>
    <prio nil="true"/>
    <created-at>2015-09-14T10:58:47+02:00</created-at>
    <updated-at>2015-09-14T10:58:47+02:00</updated-at>
    <extra-fields nil="true"/>
  </record>
  <record>
    <id>339</id>
    <name></name>
    <type>NS</type>
    <content>ns2.tecnocratica.net</content>
    <ttl>7200</ttl>
    <prio nil="true"/>
    <created-at>2015-09-14T10:58:47+02:00</created-at>
    <updated-at>2015-09-14T10:58:47+02:00</updated-at>
    <extra-fields nil="true"/>
  </record>
</records>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 223
X-Ratelimit-Reset: 1442228400
X-Total-Count: 2

Además de filtrar por los atributos documentados en listados, es posible filtrar por el campo type, que puede adoptar cualquiera de los valores documentados en el detalle de registro.

Refiérete a la documentación del detalle de registro para saber más acerca de cada atributo.

Detalle de registro

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/dns/zones/39/records/337.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/dns/zones/39/records/337.xml
{
  "id" : 337,
  "name" : "",
  "type" : "SOA",
  "content" : "ns1.tecnocratica.net dns.tecnocratica.net 2015091402 7200 7200 1209600 1800",
  "ttl" : 7200,
  "prio" : null,
  "created_at" : "2015-09-14T10:58:47.000+02:00",
  "updated_at" : "2015-09-14T10:58:47.000+02:00",
  "extra_fields" : {
    "primary" : "ns1.tecnocratica.net",
    "hostmaster" : "dns.tecnocratica.net",
    "serial" : "2015091402",
    "refresh" : "7200",
    "retry" : "7200",
    "expire" : "1209600",
    "negative_ttl" : "1800"
  }
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 220
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<record>
  <id>337</id>
  <name></name>
  <type>SOA</type>
  <content>ns1.tecnocratica.net dns.tecnocratica.net 2015091402 7200 7200 1209600 1800</content>
  <ttl>7200</ttl>
  <prio nil="true"/>
  <created-at>2015-09-14T10:58:47+02:00</created-at>
  <updated-at>2015-09-14T10:58:47+02:00</updated-at>
  <extra-fields>
    <primary>ns1.tecnocratica.net</primary>
    <hostmaster>dns.tecnocratica.net</hostmaster>
    <serial>2015091402</serial>
    <refresh>7200</refresh>
    <retry>7200</retry>
    <expire>1209600</expire>
    <negative-ttl>1800</negative-ttl>
  </extra-fields>
</record>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 219
X-Ratelimit-Reset: 1442228400
Atributo Tipo Descripción
id integer Identificador
name string Nombre de la entrada
type string Tipo de registro
content string Contenido del registro
ttl integer TTL
prio integer Prioridad

type

Valor
A
AAAA
CNAME
MX
NS
SOA
SPF
SRV
TXT

Campos adicionales

En el caso de los registros de tipo SOA, MX y SRV el campo content es automáticamente procesado y se añaden más atributos a la respuesta de la API en el atributo extra_fields.

SOA

Atributo Tipo Valor
primary string NS primario
hostmaster string Hostmaster de la zona
serial string Serial de la zona
refresh integer Valor de refresh
retry integer Valor de retry
expire integer Valor de expire
default_ttl integer TTL por defecto de la zona

MX

Atributo Tipo Valor
server string Servidor MX

SRV

Atributo Tipo Valor
service_name string Nombre del servicio
protocol string Protocolo del servicio
weight integer Peso
destination_host string Host destino
destination_port integer Puerto destino

Crear registro

curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "record" : { "name" : "www", "type" : "CNAME", "content" : "my.domain.com" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/dns/zones/63/records.json
{
  "id" : 518,
  "name" : "www.myzone-pudivbincw.com",
  "type" : "CNAME",
  "content" : "my.domain.com",
  "ttl" : 7200,
  "prio" : null,
  "created_at" : "2015-09-14T11:16:14.048+02:00",
  "updated_at" : "2015-09-14T11:16:14.048+02:00",
  "extra_fields" : null
}
HTTP/1.1 201 Created
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 596
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "record" : { "name" : "blog", "type" : "CNAME", "content" : "my.domain.com" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/dns/zones/63/records.xml
<?xml version="1.0" encoding="UTF-8"?>
<record>
  <id>519</id>
  <name>blog.myzone-pudivbincw.com</name>
  <type>CNAME</type>
  <content>my.domain.com</content>
  <ttl>7200</ttl>
  <prio nil="true"/>
  <created-at>2015-09-14T11:16:14+02:00</created-at>
  <updated-at>2015-09-14T11:16:14+02:00</updated-at>
  <extra-fields nil="true"/>
</record>
HTTP/1.1 201 Created
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 595
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "record" : { "type" : "SRV", "prio" : 5, "extra_fields" : { "service_name" : "xmpp-client", "protocol" : "tcp", "weight" : 0, "destination_host" : "server.example.net", "destination_port" : 5222 } } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/dns/zones/63/records.json
{
  "id" : 520,
  "name" : "_xmpp-client._tcp.myzone-pudivbincw.com",
  "type" : "SRV",
  "content" : "0 5222 server.example.net",
  "ttl" : 7200,
  "prio" : 5,
  "created_at" : "2015-09-14T11:16:14.178+02:00",
  "updated_at" : "2015-09-14T11:16:14.178+02:00",
  "extra_fields" : {
    "service_name" : "xmpp-client",
    "protocol" : "tcp",
    "weight" : 0,
    "destination_host" : "server.example.net",
    "destination_port" : 5222
  }
}
HTTP/1.1 201 Created
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 594
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "record" : { "type" : "SRV", "prio" : 5, "extra_fields" : { "service_name" : "xmpp-server", "protocol" : "tcp", "weight" : 0, "destination_host" : "server.example.net", "destination_port" : 5269 } } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/dns/zones/63/records.xml
<?xml version="1.0" encoding="UTF-8"?>
<record>
  <id>521</id>
  <name>_xmpp-server._tcp.myzone-pudivbincw.com</name>
  <type>SRV</type>
  <content>0 5269 server.example.net</content>
  <ttl>7200</ttl>
  <prio>5</prio>
  <created-at>2015-09-14T11:16:14+02:00</created-at>
  <updated-at>2015-09-14T11:16:14+02:00</updated-at>
  <extra-fields>
    <service-name>xmpp-server</service-name>
    <protocol>tcp</protocol>
    <weight>0</weight>
    <destination-host>server.example.net</destination-host>
    <destination-port>5269</destination-port>
  </extra-fields>
</record>
HTTP/1.1 201 Created
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 593
X-Ratelimit-Reset: 1442228400

Atributos obligatorios

type

El campo tipo es siempre obligatorio cuando se crea un registro.

Tipo A

content es obligatorio y debe ser una dirección IPv4 válida.

Tipo AAAA

content es obligatorio y debe ser una dirección IPv6 válida.

Tipo CNAME

content es obligatorio y debe ser un hostname válido. Además el campo name no puede ser vacío.

Tipo MX

Es obligatorio especificar el campo prio con la prioridad del registro.

Tipo SRV

Es necesario que se incluya el campo extra_fields con los siguientes atributos: service_name, protocol, weight, destination_host y destination_port. Además es obligatorio expecificar el campo prio con la prioridad del registro.

Tipo SPF

content es obligatorio.

Tipo TXT

content es obligatorio.

Refiérete a la documentación del detalle de registro para saber más acerca de cada atributo.

Actualizar registro

curl -vvv -H 'X-TCpanel-Token: token' -X PATCH -d '{ "record" : { "name" : "www", "content" : "another.domain.com" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/dns/zones/63/records/521.json
curl -vvv -H 'X-TCpanel-Token: token' -X PATCH -d '{ "record" : { "name" : "www", "content" : "another.domain.com" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/dns/zones/63/records/521.xml
curl -vvv -H 'X-TCpanel-Token: token' -X PUT -d '{ "record" : { "name" : "www", "content" : "another.domain.com" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/dns/zones/63/records/521.json
curl -vvv -H 'X-TCpanel-Token: token' -X PUT -d '{ "record" : { "name" : "www", "content" : "another.domain.com" } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/dns/zones/63/records/521.xml
{
  "id" : 521,
  "name" : "_xmpp-server._tcp.www.myzone-pudivbincw.com",
  "type" : "SRV",
  "content" : "0 5269 server.example.net",
  "ttl" : 7200,
  "prio" : 5,
  "created_at" : "2015-09-14T11:16:14.000+02:00",
  "updated_at" : "2015-09-14T11:16:14.352+02:00",
  "extra_fields" : {
    "service_name" : "xmpp-server",
    "protocol" : "tcp",
    "weight" : "0",
    "destination_host" : "server.example.net",
    "destination_port" : "5269"
  }
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 592
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<record>
  <id>521</id>
  <name>_xmpp-server._tcp.www.myzone-pudivbincw.com</name>
  <type>SRV</type>
  <content>0 5269 server.example.net</content>
  <ttl>7200</ttl>
  <prio>5</prio>
  <created-at>2015-09-14T11:16:14+02:00</created-at>
  <updated-at>2015-09-14T11:16:14+02:00</updated-at>
  <extra-fields>
    <service-name>xmpp-server</service-name>
    <protocol>tcp</protocol>
    <weight>0</weight>
    <destination-host>server.example.net</destination-host>
    <destination-port>5269</destination-port>
  </extra-fields>
</record>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 591
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X PATCH -d '{ "record" : { "extra_fields" : { "destination_host" : "server.example2.net" } } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/dns/zones/63/records/521.json
curl -vvv -H 'X-TCpanel-Token: token' -X PUT -d '{ "record" : { "extra_fields" : { "destination_host" : "server.example2.net" } } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/dns/zones/63/records/521.json
{
  "content" : [
    "El contenido especificado (0 5269 server.example.net) es incorrecto para el tipo de registro elegido (SRV)"
  ]
}
HTTP/1.1 422 Unprocessable Entity
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 590
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X PATCH -d '{ "record" : { "extra_fields" : { "destination_host" : "server.example2.net" } } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/dns/zones/63/records/521.xml
curl -vvv -H 'X-TCpanel-Token: token' -X PUT -d '{ "record" : { "extra_fields" : { "destination_host" : "server.example2.net" } } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/dns/zones/63/records/521.xml
<?xml version="1.0" encoding="UTF-8"?>
<errors>
  <error>Content El contenido especificado (0 5269 server.example.net) es incorrecto para el tipo de registro elegido (SRV)</error>
</errors>
HTTP/1.1 422 Unprocessable Entity
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 589
X-Ratelimit-Reset: 1442228400

Refiérete a la documentación del detalle de registro para saber más acerca de cada atributo.

Refiérete a la documentación de crear registro para saber qué atributos son obligatorios y cuáles son opcionales.

Eliminar registro

curl -vvv -H 'X-TCpanel-Token: token' -X DELETE https://api.neodigit.net/v1/dns/zones/63/records/521.json
HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 588
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X DELETE https://api.neodigit.net/v1/dns/zones/63/records/520.xml
HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 587
X-Ratelimit-Reset: 1442228400

Alojamiento

Lista de alojamientos compartidos

Listado

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/hosting/shared-hostings.json?limit=2
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/hosting/shared-hostings.xml?limit=2
[
  {
    "id" : 84,
    "domain" : "domain-tihwpcnafy.com",
    "disk_limit" : 5,
    "php_enabled" : false,
    "php_version" : "5.5",
    "php_type" : "php_fcgi",
    "safe_mode_enabled" : false,
    "register_globals_enabled" : false,
    "transfer_limit" : 1,
    "db_enabled" : true,
    "product_info" : {
      "product_status" : "paid",
      "product_technical_status" : null,
      "product_periodicity" : "quarterly",
      "product_expiration" : "2015-07-17"
    }
  },
  {
    "id" : 85,
    "domain" : "domain-pkxphbseux.com",
    "disk_limit" : 5,
    "php_enabled" : false,
    "php_version" : "5.5",
    "php_type" : "php_fcgi",
    "safe_mode_enabled" : false,
    "register_globals_enabled" : false,
    "transfer_limit" : 1,
    "db_enabled" : true,
    "product_info" : {
      "product_status" : "paid",
      "product_technical_status" : null,
      "product_periodicity" : "quarterly",
      "product_expiration" : "2015-07-17"
    }
  }
]
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 209
X-Ratelimit-Reset: 1442228400
X-Total-Count: 70
<?xml version="1.0" encoding="UTF-8"?>
<shared-hostings>
  <shared-hosting>
    <id>84</id>
    <domain>domain-tihwpcnafy.com</domain>
    <disk-limit>5</disk-limit>
    <php-enabled>false</php-enabled>
    <php-version>5.5</php-version>
    <php-type>php_fcgi</php-type>
    <safe-mode-enabled>false</safe-mode-enabled>
    <register-globals-enabled>false</register-globals-enabled>
    <transfer-limit>1</transfer-limit>
    <db-enabled>true</db-enabled>
    <product-info>
      <product-status>paid</product-status>
      <product-technical-status nil="true"/>
      <product-periodicity>quarterly</product-periodicity>
      <product-expiration>2015-07-17</product-expiration>
    </product-info>
  </shared-hosting>
  <shared-hosting>
    <id>85</id>
    <domain>domain-pkxphbseux.com</domain>
    <disk-limit>5</disk-limit>
    <php-enabled>false</php-enabled>
    <php-version>5.5</php-version>
    <php-type>php_fcgi</php-type>
    <safe-mode-enabled>false</safe-mode-enabled>
    <register-globals-enabled>false</register-globals-enabled>
    <transfer-limit>1</transfer-limit>
    <db-enabled>true</db-enabled>
    <product-info>
      <product-status>paid</product-status>
      <product-technical-status nil="true"/>
      <product-periodicity>quarterly</product-periodicity>
      <product-expiration>2015-07-17</product-expiration>
    </product-info>
  </shared-hosting>
</shared-hostings>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 208
X-Ratelimit-Reset: 1442228400
X-Total-Count: 70

Refiérete a la documentación del detalle de alojamiento compartido para saber más acerca de cada atributo.

Detalle de alojamiento compartido

curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/hosting/shared-hostings/281.json
curl -vvv -H 'X-TCpanel-Token: token' https://api.neodigit.net/v1/hosting/shared-hostings/281.xml
{
  "id" : 281,
  "domain" : "domain-qwjruicgkd.com",
  "disk_limit" : 5,
  "php_enabled" : false,
  "php_version" : "5.5",
  "php_type" : "mod_php",
  "safe_mode_enabled" : false,
  "register_globals_enabled" : false,
  "transfer_limit" : 1,
  "db_enabled" : true,
  "product_info" : {
    "product_status" : "paid",
    "product_technical_status" : null,
    "product_periodicity" : "quarterly",
    "product_expiration" : "2015-12-13"
  }
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 206
X-Ratelimit-Reset: 1442228400
<?xml version="1.0" encoding="UTF-8"?>
<hosting>
  <id>281</id>
  <domain>domain-qwjruicgkd.com</domain>
  <disk-limit>5</disk-limit>
  <php-enabled>false</php-enabled>
  <php-version>5.5</php-version>
  <php-type>mod_php</php-type>
  <safe-mode-enabled>false</safe-mode-enabled>
  <register-globals-enabled>false</register-globals-enabled>
  <transfer-limit>1</transfer-limit>
  <db-enabled>true</db-enabled>
  <product-info>
    <product-status>paid</product-status>
    <product-technical-status nil="true"/>
    <product-periodicity>quarterly</product-periodicity>
    <product-expiration>2015-12-13</product-expiration>
  </product-info>
</hosting>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 205
X-Ratelimit-Reset: 1442228400
Atributo Tipo Descripción
id integer Identificador
domain string Dominio del alojamiento
disk_limit integer Límite de disco del alojamiento en GB
php_enabled boolean Si tiene activado PHP en el alojamiento o no
php_version string Versión de PHP actual (solo configurable si php_type es php_fcgi)
php_type string Tipo de ejecución PHP
safe_mode_enabled boolean Si tiene activado el modo safe_mode de PHP. Solo aplicable si php_version es menor que 5.4
register_globals_enabled boolean Si tiene activado el modo register_globals de PHP. Solo aplicable si php_version es menor que 5.4
transfer_limit integer Límite de transferencia mensual en GB
db_enabled boolean Si tiene activadas las BBDD en el alojamiento o no

php_version

Valor
5.2
5.3
5.4
5.5
5.6

php_type

Valor Descripción
php_fcgi PHP FastCGI. La versión de PHP se establece con el atributo php_version
mod_php Mod PHP. La versión de PHP es 5.4 y php_version no se utiliza en este caso

Crear alojamiento compartido

curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "hosting" : { "domain" : "domain-rstpiaksfu.com", "disk_limit" : 5, "php_enabled" : false, "transfer_limit" : 1, "product_info" : { "product_periodicity" : "quarterly" } } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/hosting/shared-hostings.json
{
  "id" : 282,
  "domain" : "domain-rstpiaksfu.com",
  "disk_limit" : 5,
  "php_enabled" : false,
  "php_version" : "5.5",
  "php_type" : "mod_php",
  "safe_mode_enabled" : false,
  "register_globals_enabled" : false,
  "transfer_limit" : 1,
  "db_enabled" : true,
  "product_info" : {
    "product_status" : "paid",
    "product_technical_status" : null,
    "product_periodicity" : "quarterly",
    "product_expiration" : "2015-12-13"
  }
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 586
X-Ratelimit-Reset: 1442228400
curl -vvv -H 'X-TCpanel-Token: token' -X POST -d '{ "hosting" : { "domain" : "domain-xkezhftpji.com", "disk_limit" : 5, "php_enabled" : false, "transfer_limit" : 1, "product_info" : { "product_periodicity" : "quarterly" } } }' -H 'Content-Type: application/json' https://api.neodigit.net/v1/hosting/shared-hostings.xml
<?xml version="1.0" encoding="UTF-8"?>
<hosting>
  <id>283</id>
  <domain>domain-xkezhftpji.com</domain>
  <disk-limit>5</disk-limit>
  <php-enabled>false</php-enabled>
  <php-version>5.5</php-version>
  <php-type>mod_php</php-type>
  <safe-mode-enabled>false</safe-mode-enabled>
  <register-globals-enabled>false</register-globals-enabled>
  <transfer-limit>1</transfer-limit>
  <db-enabled>true</db-enabled>
  <product-info>
    <product-status>paid</product-status>
    <product-technical-status nil="true"/>
    <product-periodicity>quarterly</product-periodicity>
    <product-expiration>2015-12-13</product-expiration>
  </product-info>
</hosting>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
X-Ratelimit: 1000
X-Ratelimit-Remaining: 585
X-Ratelimit-Reset: 1442228400

Atributos obligatorios

domain, disk_limit, transfer_limit

Atributos opcionales

php_enabled, php_version, php_type, safe_mode_enabled, register_globals_enabled, db_enabled

Refiérete a la documentación del detalle de alojamiento compartido para saber más acerca de cada atributo.

Actualizar alojamiento compartido

Refiérete a la documentación del detalle de alojamiento compartido para saber más acerca de cada atributo.

Refiérete a la documentación de crear alojamiento compartido para saber qué atributos son obligatorios y cuáles son opcionales.

Solicitar eliminación de alojamiento compartido

La eliminación del alojamiento compartido se solicita y la eliminación se hará efectiva al día siguiente de la expiración del servicio, a menos que se cancele la solicitud de eliminación del alojamiento compartido.

Únicamente se podrán solicitar eliminaciones sobre alojamientos compartidos que tengan estado active (activo). El estado pasará a ser deletion_requested (eliminación solicitada).

Cancelar solicitud de eliminación de alojamiento compartido

Únicamente se podrán cancelar solicitudes de eliminación sobre alojamientos compartidos que tengan estado deletion_requested (eliminación solicitada). El estado pasará a ser active (activo).