Neodigit API Documentation
version v1
baseUri https://api.neodigit.net/v1/
protocols HTTPS
mediaType application/json,application/xml
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.
- Desarrollo
- Host:
dev.api.neodigit.net
.
- Host:
- Producción
- Host:
api.neodigit.net
. Toda la comunicación se realizará detrás del protocolo SSL/TLS. Conéctate a la API utilizandohttps
o conéctate a través del puerto443
.
- Host:
Rutas
Una ruta típica de la API es del estilo: https://api.neodigit.net/v1/domains/contacts.json
. This breaks down to the following components:
- Protocol:
https
- Host:
https://api.neodigit.net
- Versión
PRINCIPAL
:v1
- Módulo:
domains
- Recurso:
contacts
- Formato:
json
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
.
Versionado
La API está versionada. En la ruta de la petición encontrarás la versión PRINCIPAL
(v1
). Por ejemplo:
https://api.neodigit.net/v1/domains/contacts.json
Estos son los cambios que pueden ser realizados a una versión PRINCIPAL
ya publicada:
- Añadir un módulo completamente nuevo.
- Esto no afectará a tu integración de ningún modo. ¡Simplemente un módulo nuevo con el que integrarte! ¡Yuju!
- Añadir nuevas rutas o recursos a módulos existentes.
- Las nuevas rutas de API no afectarán a tu código de integración. Si decides implementarla, tu integración será más completa.
- Añadir parámetros opcionales a rutas existentes de API.
- El comportamiento no cambiará si sigues pasando los parámetros anteriores.
- Añadir nuevos atributos a las respuestas de algunos recursos.
- Puedes seguir accediendo a los atributos como antes, simplemente ignorarás los recientemente introducidos.
- Cambiar de orden atributos de las respuestas.
- Nunca deberías asumir ningún tipo de orden en las respuestas de la API. En caso de
JSON
siempre deberías leer los atributos por nombre, y en caso deXML
deberías usarXPath
o utilizar los nombres de los atributos de forma jerárquica.
- Nunca deberías asumir ningún tipo de orden en las respuestas de la API. En caso de
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
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í.
curl -vvv -H 'X-TCpanel-Token: token' "https://api.neodigit.net/v1/hello.json"
Formato
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.
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"
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
.
No es necesario indentar el XML que le proporcionas a la API, lo indentamos y lo formateamos para mejorar la legibilidad en el ejemplo.
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>
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 HTTP
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:
X-RateLimit
: Límite de peticiones para la ventana actual.X-RateLimit-Remaining
: Número de peticiones disponibles para la ventana actual.X-RateLimit-Reset
: Timestamp en UTC en el que entra una nueva ventana en funcionamiento.
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
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.
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"
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'
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"
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
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:
en
: Ingléses
: Españolca
: Catalán
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"
Listados
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 |
expired | Expirado |
redemption | En periodo de redención |
active_pending_registrant_approval | Activo pendiente de aprobación del titular |
outbound_transfer | Transferencia saliente |
transfer_requested | Transferencia solicitada |
transfer_rejected | Transferencia rechazada |
transfer_approved | Transferencia aprobada |
transfer_expired | Transferencia expirada |
transfer_waiting_authcode | No se ha proporcionado authcode o es incorrecto |
transfer_waiting_pending_registrant_approval | Transferencia pendientes de aprobación del titular |
technical_status
Valor | Descripción |
---|---|
client_hold | Suspendido para el cliente |
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"
Detalle de cualquier producto o servicio
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 |
expired | Expirado |
redemption | En periodo de redención |
active_pending_registrant_approval | Activo pendiente de aprobación del titular |
outbound_transfer | Transferencia saliente |
transfer_requested | Transferencia solicitada |
transfer_rejected | Transferencia rechazada |
transfer_approved | Transferencia aprobada |
transfer_expired | Transferencia expirada |
transfer_waiting_authcode | No se ha proporcionado authcode o es incorrecto |
transfer_waiting_pending_registrant_approval | Transferencia pendientes de aprobación del titular |
product_technical_status
Valor | Descripción |
---|---|
client_hold | Suspendido para el cliente |
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 |
Balance del depósito
GET: /deposit/balance
Possible Responses
200
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/deposit/balance"
RESPONSE BODY
200
{
"balance" : 5425.3,
"currency" : "EUR"
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<deposit>
<balance>5425.3</balance>
<currency>EUR</currency>
</deposit>
Type
any
Transacciones de tu depósito
GET: /deposit/transactions
(secured)
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 |
Query Parameters
limit
Límite de resultados a devolver
Property | Value |
---|---|
required | false |
type | integer |
until
Solo devolver los elementos creados antes de la fecha especificada
Property | Value |
---|---|
required | false |
type | datetime |
offset
Offset a partir de donde devolver resultados
Property | Value |
---|---|
required | false |
type | integer |
Possible Responses
200
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/deposit/transactions" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
[
{
"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
}
]
Type
any
200
<?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>
Type
any
Pedidos y facturas
Lista de pedidos y facturas
GET: /invoices
(secured)
Refiérete a la documentación del detalle de pedido o factura para saber más acerca de cada atributo.
Query Parameters
limit
Límite de resultados a devolver
Property | Value |
---|---|
required | false |
type | integer |
until
Solo devolver los elementos creados antes de la fecha especificada
Property | Value |
---|---|
required | false |
type | datetime |
offset
Offset a partir de donde devolver resultados
Property | Value |
---|---|
required | false |
type | integer |
Possible Responses
200
Lista de pedidos y facturas
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/invoices" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
[
{
"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 Salvatierra, 4, 3ºD",
"emitter_zipcode" : "28034",
"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-21",
"to" : "2015-09-21",
"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 Salvatierra, 4, 3ºD",
"emitter_zipcode" : "28034",
"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" : [
]
}
]
Type
any
200
<?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 Salvatierra, 4, 3ºD</emitter-address>
<emitter-zipcode>28034</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-21</from>
<to>2015-09-21</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 Salvatierra, 4, 3ºD</emitter-address>
<emitter-zipcode>28034</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>
Type
any
Detalle de pedido o factura
GET: /invoices/{invoiceId}
(secured)
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 |
URI Parameters
invoiceId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Detalle de pedido o factura
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/invoices/{invoiceId}" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"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 Salvatierra, 4, 3ºD",
"emitter_zipcode" : "28034",
"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-21",
"to" : "2015-09-21",
"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" : [
]
}
Type
any
200
<?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 Salvatierra, 4, 3ºD</emitter-address>
<emitter-zipcode>28034</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-21</from>
<to>2015-09-21</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 Salvatierra, 4, 3ºD</emitter-address>
<emitter-zipcode>28034</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>
Type
any
Detalle de orden
GET: /orders/{orderId}
(secured)
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 |
URI Parameters
orderId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/orders/{orderId}" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"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-21",
"to" : "2015-09-21",
"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
}
Type
any
200
<?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-21</from>
<to>2015-09-21</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>
Type
any
Conversión de divisas
GET: /exchange-rates
(secured)
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 |
Possible Responses
200
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/exchange-rates" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
[
{
"source_currency" : "USD",
"target_currency" : "EUR",
"exchange_rate" : 0.92498
},
{
"source_currency" : "RUB",
"target_currency" : "EUR",
"exchange_rate" : 0.01725
}
]
Type
any
200
<?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>
Type
any
Peticiones asíncronas
Refiérete a la documentación del detalle de petición asíncrona para saber más acerca de cada atributo.
Lista de peticiones asíncronas
GET: /async-calls
(secured)
Possible Responses
200
Lista de peticiones asíncronas
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/async-calls" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
[
{
"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"
}
}
}
]
Type
any
200
<?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>
Type
any
Detalle de petición asíncrona
GET: /async-calls/{asyncCallId}
(secured)
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 |
URI Parameters
asyncCallId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Detalle de petición asíncrona
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/async-calls/{asyncCallId}" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"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"
}
}
}
Type
any
200
<?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>
Type
any
Dominios
Lista de contactos
GET: /domains/contacts
(secured)
Refiérete a la documentación del detalle de contacto para saber más acerca de cada atributo.
Possible Responses
200
Lista de contactos
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/domains/contacts" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
[
{
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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
}
]
Type
any
200
<?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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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>
Type
any
Crear contacto
POST: /domains/contacts
(secured)
Atributos obligatorios
name
, email
, country
, state
, city
, address
, zipcode
, phonecc
, phone
Atributos opcionales
lastname
, ic
, company
, legal_form
, faxcc
, fax
, birthdate
, birthplace
, passport
Refiérete a la documentación del detalle de contacto para saber más acerca de cada atributo.
Possible Responses
201
Crear contacto
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/domains/contacts" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "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" } }
Type
any
{ "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" } }
Type
any
RESPONSE BODY
201
{
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
Type
any
201
<?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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</lastname>
<birthdate nil="true"/>
<birthplace nil="true"/>
<passport nil="true"/>
</contact>
Type
any
Detalle de contacto
GET: /domains/contacts/{contactId}
(secured)
Atributo | Tipo | Descripción |
---|---|---|
id | integer | Identificador |
name | string | Nombre |
lastname | string | Apellidos |
company | string | Empresa |
legal_form | string | Forma jurídica |
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 |
legal_form
La disponibilidad de formas jurídicas depende del código de país del contacto.
Country | Value | Description |
---|---|---|
ES | economic_interest_group | Agrupación de interés económico |
ES | association | Asociación |
ES | sports_association | Asociación deportiva |
ES | trade_association | Asociación gremial |
ES | savings | Caja de ahorros |
ES | community_property | Comunidad de bienes |
ES | community_of_owners | Comunidad de propietarios |
ES | congregation_or_religious_institution | Congregación o institución religiosa |
ES | designation_of_origin_control_board | Consejo regulador de denominación de origen |
ES | consulate | Consulado |
ES | public_corporation | Corporación de derecho público |
ES | embassy | Embajada |
ES | local_organization | Entidad local |
ES | sports_federation | Federación deportiva |
ES | foundation | Fundación |
ES | mutual_insurance | Mutua de seguros |
ES | natural_space_agency_manager | Organismo gestor de espacio natural |
ES | autonomous_public_organization | Organismo público autonómico |
ES | state_public_agency | Organismo público estatal |
ES | local_public_agency | Organismo público local |
ES | other | Otras |
ES | political_party | Partido político |
ES | natural_person_or_individual | Persona física o particular |
ES | union | Sindicato |
ES | agrarian_transformation | Sociedad agraria de la transformación |
ES | corporation | Sociedad anónima |
ES | sports_corporation | Sociedad anónima deportiva |
ES | education_corporation | Sociedad anónima laboral |
ES | civil_society | Sociedad civil |
ES | partnership | Sociedad colectiva |
ES | limited_partnership | Sociedad comanditaria |
ES | cooperative_society | Sociedad cooperativa |
ES | labour_society_limited | Sociedad laboral limitada |
ES | limited_society | Sociedad limitada |
ES | branch_in_spain | Sucursal en España |
ES | consortium | Unión temporal de empresas |
ES | organ_of_the_state_administration | Órgano de la administración del estado |
ES | organ_of_the_regional_administration | Órgano de la administración pública |
URI Parameters
contactId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Detalle de contacto
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/domains/contacts/{contactId}" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
Type
any
200
<?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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</lastname>
<birthdate nil="true"/>
<birthplace nil="true"/>
<passport nil="true"/>
</contact>
Type
any
Actualizar contacto (PUT)
PUT: /domains/contacts/{contactId}
(secured)
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.
URI Parameters
contactId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Actualizar contacto (PUT)
CURL EXAMPLE
curl -X PUT "https://api.neodigit.net/v1/domains/contacts/{contactId}" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "contact" : { "name" : "Update Test" } }
Type
any
{ "contact" : { "name" : "Update Test" } }
Type
any
RESPONSE BODY
200
{
"id" : 479,
"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-21T14:40:16.000+02:00",
"updated_at" : "2015-09-21T14:40:17.084+02:00",
"ic" : "Identification number",
"faxcc" : null,
"fax" : null,
"lastname" : "Test",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<contact>
<id>479</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-21T14:40:16+02:00</created-at>
<updated-at>2015-09-21T14:40:17+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>
Type
any
Actualizar contacto (PATCH)
PATCH: /domains/contacts/{contactId}
(secured)
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.
URI Parameters
contactId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Actualizar contacto (PATCH)
CURL EXAMPLE
curl -X PATCH "https://api.neodigit.net/v1/domains/contacts/{contactId}" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "contact" : { "name" : "Update Test" } }
Type
any
{ "contact" : { "name" : "Update Test" } }
Type
any
RESPONSE BODY
200
{
"id" : 479,
"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-21T14:40:16.000+02:00",
"updated_at" : "2015-09-21T14:40:17.084+02:00",
"ic" : "Identification number",
"faxcc" : null,
"fax" : null,
"lastname" : "Test",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<contact>
<id>479</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-21T14:40:16+02:00</created-at>
<updated-at>2015-09-21T14:40:17+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>
Type
any
Eliminar contacto
DELETE: /domains/contacts/{contactId}
(secured)
URI Parameters
contactId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Eliminar contacto
CURL EXAMPLE
curl -X DELETE "https://api.neodigit.net/v1/domains/contacts/{contactId}" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"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-shvtiwueuc.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-ecdmjbimsj.com, domain-cvzguopzos.com, domain-iixewimokv.com, domain-abjapdodma.com, domain-stmjydqmme.com, domain-nymlhknvug.com, domain-gxfjxjqllj.com, domain-cazqlazrgu.com) relacionados con este contacto, así que no se ha podido eliminar"
]
}
Type
any
200
<?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-shvtiwueuc.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-ecdmjbimsj.com, domain-cvzguopzos.com, domain-iixewimokv.com, domain-abjapdodma.com, domain-stmjydqmme.com, domain-nymlhknvug.com, domain-gxfjxjqllj.com, domain-cazqlazrgu.com) relacionados con este contacto, así que no se ha podido eliminar</error>
</errors>
Type
any
Extensiones
GET: /domains/extensions
(secured)
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).
Extensiones
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/domains/extensions" \
-H "X-TCpanel-Token: token"
Lista de dominios
GET: /domains/domains
(secured)
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 otros parámetros.
Parámetro | Tipo | Descripcion |
---|---|---|
name | string | Nombre completo del dominio. |
registrant | integer | Identificador del titular |
administrative | integer | Identificador del contacto |
technical | integer | Identificador del contacto |
billing | integer | Identificador del contacto |
auto_renew | boolean | Auto renovación |
privacy | boolean | Privacidad |
protection | boolean | Protección de transferencia |
gdpr_enable | boolean | GDPR |
expires_after | date | Expira después de |
expires_before | date | Expira antes de |
status | string[] | Estado estados |
tecnical_status | string[] | Estado técnico estados técnicos |
limit | integer | Límite de resultados a devolver listados |
offset | integer | Offset a partir de donde devolver resultados listados |
curl -vvv -H 'X-TCpanel-Token: token' "https://api.neodigit.net/v1/domains/domains.json?registrant=ID&administrative=ID&technical=ID&billing=ID&auto_renew=true&privacy=false&protection=true&gdpr_enable=false&expires_after=2024-01-01&expires_before=2023-05-01&status=expired,paid,active&tecnical_status=client_hold&limit=10&offset=0"
curl -vvv -H 'X-TCpanel-Token: token' "https://api.neodigit.net/v1/domains/domains.xml?registrant=ID&administrative=ID&technical=ID&billing=ID&auto_renew=true&privacy=false&protection=true&gdpr_enable=false&expires_after=2024-01-01&expires_before=2023-05-01&status=expired,paid,active&tecnical_status=client_hold&limit=10&offset=0"
Possible Responses
200
Lista de dominios
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/domains/domains" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
[
{
"id" : 366,
"name" : "domain-pasotkvhcp.com",
"created_at" : "2015-04-17T19:59:17.000+02:00",
"updated_at" : "2015-09-21T12:19:03.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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
},
"administrative" : {
"id" : 473,
"name" : "Nómbre",
"company" : null,
"email" : "PruebaWelcome3@PruebaWelcome.com",
"address" : "PruebaWelcome3",
"city" : "fsds",
"state" : "Avila",
"country" : "ES",
"zipcode" : "22222",
"phonecc" : "0",
"phone" : "676767676",
"created_at" : "2015-07-29T15:25:33.000+02:00",
"updated_at" : "2015-09-21T12:18:35.000+02:00",
"ic" : "N/A",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
},
"product_info" : {
"product_status" : "active",
"product_technical_status" : null,
"product_periodicity" : "not_recurrent",
"product_expiration" : "2055-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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
},
"product_info" : {
"product_status" : "active",
"product_technical_status" : null,
"product_periodicity" : "not_recurrent",
"product_expiration" : "2022-04-17"
}
}
]
Type
any
200
<?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-21T12:19:03+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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</lastname>
<birthdate nil="true"/>
<birthplace nil="true"/>
<passport nil="true"/>
</registrant>
<administrative>
<id>473</id>
<name>Nómbre</name>
<company nil="true"/>
<email>PruebaWelcome3@PruebaWelcome.com</email>
<address>PruebaWelcome3</address>
<city>fsds</city>
<state>Avila</state>
<country>ES</country>
<zipcode>22222</zipcode>
<phonecc>0</phonecc>
<phone>676767676</phone>
<created-at>2015-07-29T15:25:33+02:00</created-at>
<updated-at>2015-09-21T12:18:35+02:00</updated-at>
<ic>N/A</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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>2055-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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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>
Type
any
Detalle de dominio
GET: /domains/domains/{domainId}
(secured)
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 |
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Detalle de dominio
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/domains/domains/{domainId}" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"id" : 366,
"name" : "domain-pasotkvhcp.com",
"created_at" : "2015-04-17T19:59:17.000+02:00",
"updated_at" : "2015-09-21T12:19:03.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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
},
"administrative" : {
"id" : 473,
"name" : "Nómbre",
"company" : null,
"email" : "PruebaWelcome3@PruebaWelcome.com",
"address" : "PruebaWelcome3",
"city" : "fsds",
"state" : "Avila",
"country" : "ES",
"zipcode" : "22222",
"phonecc" : "0",
"phone" : "676767676",
"created_at" : "2015-07-29T15:25:33.000+02:00",
"updated_at" : "2015-09-21T12:18:35.000+02:00",
"ic" : "N/A",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
},
"product_info" : {
"product_status" : "active",
"product_technical_status" : null,
"product_periodicity" : "not_recurrent",
"product_expiration" : "2055-04-17"
}
}
Type
any
200
<?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-21T12:19:03+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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</lastname>
<birthdate nil="true"/>
<birthplace nil="true"/>
<passport nil="true"/>
</registrant>
<administrative>
<id>473</id>
<name>Nómbre</name>
<company nil="true"/>
<email>PruebaWelcome3@PruebaWelcome.com</email>
<address>PruebaWelcome3</address>
<city>fsds</city>
<state>Avila</state>
<country>ES</country>
<zipcode>22222</zipcode>
<phonecc>0</phonecc>
<phone>676767676</phone>
<created-at>2015-07-29T15:25:33+02:00</created-at>
<updated-at>2015-09-21T12:18:35+02:00</updated-at>
<ic>N/A</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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>2055-04-17</product-expiration>
</product-info>
</domain>
Type
any
Actualizar dominio (PUT)
PUT: /domains/domains/{domainId}
(secured)
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Actualizar dominio (PUT)
CURL EXAMPLE
curl -X PUT "https://api.neodigit.net/v1/domains/domains/{domainId}" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "domain" : { "nameservers" : ["dns3.debian.org", "dns4.debian.org"] } }
Type
any
{ "domain" : { "nameservers" : ["dns3.debian.org", "dns4.debian.org"] } }
Type
any
RESPONSE BODY
200
{
"id" : 366,
"name" : "domain-pasotkvhcp.com",
"created_at" : "2015-04-17T19:59:17.000+02:00",
"updated_at" : "2015-09-21T14:40:22.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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
},
"administrative" : {
"id" : 473,
"name" : "Nómbre",
"company" : null,
"email" : "PruebaWelcome3@PruebaWelcome.com",
"address" : "PruebaWelcome3",
"city" : "fsds",
"state" : "Avila",
"country" : "ES",
"zipcode" : "22222",
"phonecc" : "0",
"phone" : "676767676",
"created_at" : "2015-07-29T15:25:33.000+02:00",
"updated_at" : "2015-09-21T12:18:35.000+02:00",
"ic" : "N/A",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
},
"product_info" : {
"product_status" : "active",
"product_technical_status" : null,
"product_periodicity" : "not_recurrent",
"product_expiration" : "2055-04-17"
}
}
Type
any
200
<?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-21T14:40:22+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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</lastname>
<birthdate nil="true"/>
<birthplace nil="true"/>
<passport nil="true"/>
</registrant>
<administrative>
<id>473</id>
<name>Nómbre</name>
<company nil="true"/>
<email>PruebaWelcome3@PruebaWelcome.com</email>
<address>PruebaWelcome3</address>
<city>fsds</city>
<state>Avila</state>
<country>ES</country>
<zipcode>22222</zipcode>
<phonecc>0</phonecc>
<phone>676767676</phone>
<created-at>2015-07-29T15:25:33+02:00</created-at>
<updated-at>2015-09-21T12:18:35+02:00</updated-at>
<ic>N/A</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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>2055-04-17</product-expiration>
</product-info>
</domain>
Type
any
Actualizar dominio (PATCH)
PATCH: /domains/domains/{domainId}
(secured)
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Actualizar dominio (PATCH)
CURL EXAMPLE
curl -X PATCH "https://api.neodigit.net/v1/domains/domains/{domainId}" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "domain" : { "nameservers" : ["dns3.debian.org", "dns4.debian.org"] } }
Type
any
{ "domain" : { "nameservers" : ["dns3.debian.org", "dns4.debian.org"] } }
Type
any
RESPONSE BODY
200
{
"id" : 366,
"name" : "domain-pasotkvhcp.com",
"created_at" : "2015-04-17T19:59:17.000+02:00",
"updated_at" : "2015-09-21T14:40:22.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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
},
"administrative" : {
"id" : 473,
"name" : "Nómbre",
"company" : null,
"email" : "PruebaWelcome3@PruebaWelcome.com",
"address" : "PruebaWelcome3",
"city" : "fsds",
"state" : "Avila",
"country" : "ES",
"zipcode" : "22222",
"phonecc" : "0",
"phone" : "676767676",
"created_at" : "2015-07-29T15:25:33.000+02:00",
"updated_at" : "2015-09-21T12:18:35.000+02:00",
"ic" : "N/A",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
},
"product_info" : {
"product_status" : "active",
"product_technical_status" : null,
"product_periodicity" : "not_recurrent",
"product_expiration" : "2055-04-17"
}
}
Type
any
200
<?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-21T14:40:22+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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</lastname>
<birthdate nil="true"/>
<birthplace nil="true"/>
<passport nil="true"/>
</registrant>
<administrative>
<id>473</id>
<name>Nómbre</name>
<company nil="true"/>
<email>PruebaWelcome3@PruebaWelcome.com</email>
<address>PruebaWelcome3</address>
<city>fsds</city>
<state>Avila</state>
<country>ES</country>
<zipcode>22222</zipcode>
<phonecc>0</phonecc>
<phone>676767676</phone>
<created-at>2015-07-29T15:25:33+02:00</created-at>
<updated-at>2015-09-21T12:18:35+02:00</updated-at>
<ic>N/A</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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>2055-04-17</product-expiration>
</product-info>
</domain>
Type
any
Renovar dominio
POST: /domains/domains/{domainId}/renew
(secured)
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 | integer | Años que se renovará el dominio |
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Renovar dominio
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/domains/domains/{domainId}/renew" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "domain" : { "expiration_year" : 1990, "years" : 1 } }
Type
any
{ "domain" : { "expiration_year" : 1990, "years" : 1 } }
Type
any
RESPONSE BODY
200
{
"id" : 366,
"name" : "domain-pasotkvhcp.com",
"created_at" : "2015-04-17T19:59:17.000+02:00",
"updated_at" : "2015-09-21T14:40:22.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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
},
"administrative" : {
"id" : 473,
"name" : "Nómbre",
"company" : null,
"email" : "PruebaWelcome3@PruebaWelcome.com",
"address" : "PruebaWelcome3",
"city" : "fsds",
"state" : "Avila",
"country" : "ES",
"zipcode" : "22222",
"phonecc" : "0",
"phone" : "676767676",
"created_at" : "2015-07-29T15:25:33.000+02:00",
"updated_at" : "2015-09-21T12:18:35.000+02:00",
"ic" : "N/A",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
},
"product_info" : {
"product_status" : "active",
"product_technical_status" : null,
"product_periodicity" : "not_recurrent",
"product_expiration" : "2055-04-17"
}
}
Type
any
200
<?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-21T14:40:22+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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</lastname>
<birthdate nil="true"/>
<birthplace nil="true"/>
<passport nil="true"/>
</registrant>
<administrative>
<id>473</id>
<name>Nómbre</name>
<company nil="true"/>
<email>PruebaWelcome3@PruebaWelcome.com</email>
<address>PruebaWelcome3</address>
<city>fsds</city>
<state>Avila</state>
<country>ES</country>
<zipcode>22222</zipcode>
<phonecc>0</phonecc>
<phone>676767676</phone>
<created-at>2015-07-29T15:25:33+02:00</created-at>
<updated-at>2015-09-21T12:18:35+02:00</updated-at>
<ic>N/A</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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>2055-04-17</product-expiration>
</product-info>
</domain>
Type
any
Restaurar dominio
POST: /domains/domains/{domainId}/restore
(secured)
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Restaurar dominio
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/domains/domains/{domainId}/restore" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
[object Object]
Type
any
[object Object]
Type
any
RESPONSE BODY
200
[object Object]
Type
any
200
[object Object]
Type
any
Disponibilidad de dominios para registro
POST: /domains/domains/register/available
(secured)
Comprueba si una lista de dominios está disponible para registro.
Possible Responses
200
Disponibilidad de dominios para registro
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/domains/domains/register/available" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "domains" : ["domain-hdacfnemxz.com", "domain-zapdklsvjo.net", "api.org"] }
Type
any
{ "domains" : ["domain-hdacfnemxz.com", "domain-zapdklsvjo.net", "api.org"] }
Type
any
RESPONSE BODY
200
{
"domain-hdacfnemxz.com" : true,
"domain-zapdklsvjo.net" : false,
"api.org" : false
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<register-available>
<domain-hdacfnemxz.com>true</domain-hdacfnemxz.com>
<domain-zapdklsvjo.net>false</domain-zapdklsvjo.net>
<api.org>false</api.org>
</register-available>
Type
any
Registrar dominio
POST: /domains/domains/register
(secured)
Possible Responses
200
Registrar dominio
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/domains/domains/register" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "domain" : { "name" : "domain-cemrvupvtu.com", "contacts" : { "registrant" : 233, "administrative" : 233, "technical" : 233, "billing" : 233 }, "auto_renew" : true, "years" : 5, "nameservers" : ["dns1.debian.org", "dns2.debian.org"] } }
Type
any
{ "domain" : { "name" : "domain-cemrvupvtu.com", "contacts" : { "registrant" : 233, "administrative" : 233, "technical" : 233, "billing" : 233 }, "auto_renew" : true, "years" : 5, "nameservers" : ["dns1.debian.org", "dns2.debian.org"] } }
Type
any
RESPONSE BODY
200
{
"id" : 746,
"name" : "domain-cemrvupvtu.com",
"created_at" : "2015-09-21T14:40:20.000+02:00",
"updated_at" : "2015-09-21T14:40:20.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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
},
"product_info" : {
"product_status" : "paid",
"product_technical_status" : null,
"product_periodicity" : "not_recurrent",
"product_expiration" : null
}
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<domain>
<id>747</id>
<name>domain-ypotqqjgaz.com</name>
<created-at>2015-09-21T14:40:20+02:00</created-at>
<updated-at>2015-09-21T14:40:21+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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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>
Type
any
Disponibilidad de dominios para transferir
POST: /domains/domains/transfer/available
(secured)
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.
Possible Responses
200
Disponibilidad de dominios para transferir
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/domains/domains/transfer/available" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "domain" : { "name" : "domain-dqwvnwnkgm.com", "contacts" : { "registrant" : 233, "administrative" : 233, "technical" : 233, "billing" : 233 }, "authcode" : "e^u23$!", "auto_renew" : true } }
Type
any
{ "domain" : { "name" : "domain-dqwvnwnkgm.com", "contacts" : { "registrant" : 233, "administrative" : 233, "technical" : 233, "billing" : 233 }, "authcode" : "e^u23$!", "auto_renew" : true } }
Type
any
RESPONSE BODY
200
{
"domain-dxetkovqwa.com" : true,
"domain-pqapprykdg.net" : false,
"api.org" : false,
"hello.es" : false
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<transfer-available>
<domain-dxetkovqwa.com>true</domain-dxetkovqwa.com>
<domain-pqapprykdg.net>false</domain-pqapprykdg.net>
<api.org>false</api.org>
<hello.es>false</hello.es>
</transfer-available>
Type
any
Transferir dominio
POST: /domains/domains/transfer
(secured)
Possible Responses
200
Transferir dominio
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/domains/domains/transfer" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "domain" : { "name" : "domain-dqwvnwnkgm.com", "contacts" : { "registrant" : 233, "administrative" : 233, "technical" : 233, "billing" : 233 }, "authcode" : "e^u23$!", "auto_renew" : true } }
Type
any
{ "domain" : { "name" : "domain-dqwvnwnkgm.com", "contacts" : { "registrant" : 233, "administrative" : 233, "technical" : 233, "billing" : 233 }, "authcode" : "e^u23$!", "auto_renew" : true } }
Type
any
RESPONSE BODY
200
{
"id" : 748,
"name" : "domain-bloeviyprk.com",
"created_at" : "2015-09-21T14:40:21.000+02:00",
"updated_at" : "2015-09-21T14:40:21.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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
},
"product_info" : {
"product_status" : "paid",
"product_technical_status" : null,
"product_periodicity" : "not_recurrent",
"product_expiration" : null
}
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<domain>
<id>749</id>
<name>domain-dqwvnwnkgm.com</name>
<created-at>2015-09-21T14:40:21+02:00</created-at>
<updated-at>2015-09-21T14:40:21+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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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>
Type
any
Lista de hosts
GET: /domains/domains/{domainId}/hosts
(secured)
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Lista de hosts
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/domains/domains/{domainId}/hosts" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
[
{
"id" : 224,
"name" : "dns1",
"ips" : [
"8.8.8.8",
"8.8.4.4"
]
}
]
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<hosts>
<host>
<id>224</id>
<name>dns1</name>
<ips>
<ip>8.8.8.8</ip>
<ip>8.8.4.4</ip>
</ips>
</host>
</hosts>
Type
any
Crear host
POST: /domains/domains/{domainId}/hosts
(secured)
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
201
Crear host
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/domains/domains/{domainId}/hosts" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "host" : { "name" : "ns1", "ips" : ["8.8.8.8", "8.8.4.4"] } }
Type
any
{ "host" : { "name" : "ns1", "ips" : ["8.8.8.8", "8.8.4.4"] } }
Type
any
RESPONSE BODY
201
{
"id" : 224,
"name" : "dns1",
"ips" : [
"8.8.8.8",
"8.8.4.4"
]
}
Type
any
201
<?xml version="1.0" encoding="UTF-8"?>
<host>
<id>224</id>
<name>dns1</name>
<ips>
<ip>8.8.8.8</ip>
<ip>8.8.4.4</ip>
</ips>
</host>
Type
any
Detalles de host
GET: /domains/domains/{domainId}/hosts/{hostId}
(secured)
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
hostId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Detalles de host
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/domains/domains/{domainId}/hosts/{hostId}" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"id" : 224,
"name" : "dns1",
"ips" : [
"8.8.8.8",
"8.8.4.4"
]
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<host>
<id>224</id>
<name>dns1</name>
<ips>
<ip>8.8.8.8</ip>
<ip>8.8.4.4</ip>
</ips>
</host>
Type
any
Actualizar host (PUT)
PUT: /domains/domains/{domainId}/hosts/{hostId}
(secured)
Modifica las direcciones IP de un host o un glue record.
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
hostId
Property | Value |
---|---|
required | true |
type | string |
Actualizar host (PUT)
CURL EXAMPLE
curl -X PUT "https://api.neodigit.net/v1/domains/domains/{domainId}/hosts/{hostId}" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
Actualizar host (PATCH)
PATCH: /domains/domains/{domainId}/hosts/{hostId}
(secured)
Modifica las direcciones IP de un host o un glue record.
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
hostId
Property | Value |
---|---|
required | true |
type | string |
Actualizar host (PATCH)
CURL EXAMPLE
curl -X PATCH "https://api.neodigit.net/v1/domains/domains/{domainId}/hosts/{hostId}" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
Eliminar host
DELETE: /domains/domains/{domainId}/hosts/{hostId}
(secured)
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
hostId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Eliminar host
CURL EXAMPLE
curl -X DELETE "https://api.neodigit.net/v1/domains/domains/{domainId}/hosts/{hostId}" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"id" : 224,
"name" : "dns1",
"ips" : [
"8.8.8.8",
"8.8.4.4"
]
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<host>
<id>224</id>
<name>dns1</name>
<ips>
<ip>8.8.8.8</ip>
<ip>8.8.4.4</ip>
</ips>
</host>
Type
any
Detalles de la redirección
GET: /domains/domains/{domainId}/redirection
(secured)
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Detalles de la redirección
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/domains/domains/{domainId}/redirection" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"redirection": "https://domain.tld",
"type": 302,
"created_at": "2023-05-10T14:30:50.000+02:00",
"updated_at": "2023-05-10T14:30:50.000+02:00"
}
Type
any
200
<?xml version="1.0" encoding="UTF-8" ?>
<redirection>
<redirection>https://tecnocratica.net</redirection>
<type>302</type>
<created-at>2023-05-10T14:30:50+02:00</created-at>
<updated-at>2023-05-10T14:30:50+02:00</updated-at>
</redirection>
Type
any
Crear redirección
POST: /domains/domains/{domainId}/redirection
(secured)
Atributos obligatorios
type
El campo tipo es siempre obligatorio cuando se crea un registro.
Type PERMANENT
content
es obligatorio.
Type TEMPORARY
content
es obligatorio.
url
El campo url es siempre obligatorio cuando se crea un registro.
Url
content
es obligatorio. y debe ser una dirección válida con el esquema correspondiente.
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
201
Crear redirección
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/domains/domains/{domainId}/redirection" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "redirection":{ "url": "domain.tld", "type": "permanent|temporary" } }
Type
any
{ "redirection":{ "url": "domain.tld", "type": "permanent|temporary" } }
Type
any
RESPONSE BODY
201
{
"redirection": "https://domain.tld",
"type": 302,
"created_at": "2023-05-10T14:30:50.000+02:00",
"updated_at": "2023-05-10T14:30:50.000+02:00"
}
Type
any
201
<?xml version="1.0" encoding="UTF-8" ?>
<redirection>
<redirection>https://tecnocratica.net</redirection>
<type>302</type>
<created-at>2023-05-10T14:30:50+02:00</created-at>
<updated-at>2023-05-10T14:30:50+02:00</updated-at>
</redirection>
Type
any
Eliminar redirección
DELETE: /domains/domains/{domainId}/redirection
(secured)
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Eliminar redirección
CURL EXAMPLE
curl -X DELETE "https://api.neodigit.net/v1/domains/domains/{domainId}/redirection" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"redirection": "https://domain.tld",
"type": 302,
"created_at": "2023-05-10T14:30:50.000+02:00",
"updated_at": "2023-05-10T14:30:50.000+02:00"
}
Type
any
200
<?xml version="1.0" encoding="UTF-8" ?>
<redirection>
<redirection>https://tecnocratica.net</redirection>
<type>302</type>
<created-at>2023-05-10T14:30:50+02:00</created-at>
<updated-at>2023-05-10T14:30:50+02:00</updated-at>
</redirection>
Type
any
Registro masivo de dominios
POST: /domains/bulk/register
(secured)
Possible Responses
200
Registro masivo de dominios
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/domains/bulk/register" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
RESPONSE BODY
Transferencia masiva de dominios
POST: /domains/bulk/transfer
(secured)
Possible Responses
200
Transferencia masiva de dominios
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/domains/bulk/transfer" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
RESPONSE BODY
Renovación masiva de dominios
POST: /domains/bulk/renew
(secured)
Possible Responses
200
Renovación masiva de dominios
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/domains/bulk/renew" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
RESPONSE BODY
Actualización masiva de dominios
POST: /domains/bulk/update
(secured)
Possible Responses
200
Actualización masiva de dominios
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/domains/bulk/update" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
RESPONSE BODY
Dominios de mis clientes
GET: /domains/subclients
(secured)
Possible Responses
200
Dominios de mis clientes
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/domains/subclients" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
[
{
"id" : 366,
"name" : "domain-pasotkvhcp.com",
"created_at" : "2015-04-17T19:59:17.000+02:00",
"updated_at" : "2015-09-21T12:19:03.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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
},
"administrative" : {
"id" : 473,
"name" : "Nómbre",
"company" : null,
"email" : "PruebaWelcome3@PruebaWelcome.com",
"address" : "PruebaWelcome3",
"city" : "fsds",
"state" : "Avila",
"country" : "ES",
"zipcode" : "22222",
"phonecc" : "0",
"phone" : "676767676",
"created_at" : "2015-07-29T15:25:33.000+02:00",
"updated_at" : "2015-09-21T12:18:35.000+02:00",
"ic" : "N/A",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
},
"product_info" : {
"product_status" : "active",
"product_technical_status" : null,
"product_periodicity" : "not_recurrent",
"product_expiration" : "2055-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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
},
"product_info" : {
"product_status" : "active",
"product_technical_status" : null,
"product_periodicity" : "not_recurrent",
"product_expiration" : "2022-04-17"
}
}
]
Type
any
200
<?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-21T12:19:03+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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</lastname>
<birthdate nil="true"/>
<birthplace nil="true"/>
<passport nil="true"/>
</registrant>
<administrative>
<id>473</id>
<name>Nómbre</name>
<company nil="true"/>
<email>PruebaWelcome3@PruebaWelcome.com</email>
<address>PruebaWelcome3</address>
<city>fsds</city>
<state>Avila</state>
<country>ES</country>
<zipcode>22222</zipcode>
<phonecc>0</phonecc>
<phone>676767676</phone>
<created-at>2015-07-29T15:25:33+02:00</created-at>
<updated-at>2015-09-21T12:18:35+02:00</updated-at>
<ic>N/A</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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>2055-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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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>
Type
any
Detalle de dominio de mi cliente
GET: /domains/subclients/{domainId}
(secured)
Attribute | Type | Description |
---|---|---|
id | integer | Identificador |
name | string | Nombre de dominio (TLD incluido) |
auto_renew | boolean | Auto renovar |
privacy | boolean | Privacidad de contactos (no disponible para todos los TLDs) |
protection | boolean | Protección de transferencia (no disponible para todos los TLDs) |
authcode | string | Authcode del dominio |
transfer_date_requested | datetime | Si el dominio es una transferencia externa, fecha de la último solicitud de transferencia |
contacts | object | Incluye todos los identificadores de dominio (registrant , administrative , technical , billing ) |
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 |
URI Parameters
domainId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Detalle de dominio de mi cliente
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/domains/subclients/{domainId}" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"id" : 366,
"name" : "domain-pasotkvhcp.com",
"created_at" : "2015-04-17T19:59:17.000+02:00",
"updated_at" : "2015-09-21T12:19:03.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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
},
"administrative" : {
"id" : 473,
"name" : "Nómbre",
"company" : null,
"email" : "PruebaWelcome3@PruebaWelcome.com",
"address" : "PruebaWelcome3",
"city" : "fsds",
"state" : "Avila",
"country" : "ES",
"zipcode" : "22222",
"phonecc" : "0",
"phone" : "676767676",
"created_at" : "2015-07-29T15:25:33.000+02:00",
"updated_at" : "2015-09-21T12:18:35.000+02:00",
"ic" : "N/A",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"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-07-29T15:24:44.000+02:00",
"ic" : "N/A",
"faxcc" : "34",
"fax" : "910059090",
"lastname" : "Apéllidossafdasd",
"birthdate" : null,
"birthplace" : null,
"passport" : null
}
},
"product_info" : {
"product_status" : "active",
"product_technical_status" : null,
"product_periodicity" : "not_recurrent",
"product_expiration" : "2055-04-17"
}
}
Type
any
200
<?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-21T12:19:03+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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</lastname>
<birthdate nil="true"/>
<birthplace nil="true"/>
<passport nil="true"/>
</registrant>
<administrative>
<id>473</id>
<name>Nómbre</name>
<company nil="true"/>
<email>PruebaWelcome3@PruebaWelcome.com</email>
<address>PruebaWelcome3</address>
<city>fsds</city>
<state>Avila</state>
<country>ES</country>
<zipcode>22222</zipcode>
<phonecc>0</phonecc>
<phone>676767676</phone>
<created-at>2015-07-29T15:25:33+02:00</created-at>
<updated-at>2015-09-21T12:18:35+02:00</updated-at>
<ic>N/A</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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-07-29T15:24:44+02:00</updated-at>
<ic>N/A</ic>
<faxcc>34</faxcc>
<fax>910059090</fax>
<lastname>Apéllidossafdasd</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>2055-04-17</product-expiration>
</product-info>
</domain>
Type
any
Lista de TLDs para obtener sus detalles
GET: /domains/knowledge-base
(secured)
Possible Responses
200
Lista de TLDs para obtener sus detalles
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/domains/knowledge-base" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
[
"aaa.pro",
"abogado",
"ac",
"ac.mu",
"ac.nz",
"ac.vn",
"aca.pro",
"academy",
"accountant",
"accountants",
"acct.pro",
"actor",
"adult",
"adult.ht",
"ae",
"ae.org",
"aero",
"af"
]
Type
any
200
<strings>
<string>aaa.pro</string>
<string>abogado</string>
<string>ac</string>
<string>ac.mu</string>
<string>ac.nz</string>
<string>ac.vn</string>
<string>aca.pro</string>
<string>academy</string>
<string>accountant</string>
<string>accountants</string>
<string>acct.pro</string>
<string>actor</string>
<strings>
Type
any
Detalles de un TLDs
GET: /domains/knowledge-base/{tld}
(secured)
URI Parameters
tld
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Detalles de un TLDs
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/domains/knowledge-base/{tld}" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"registrar":{
"allowed_characters": "a-z,0-9,-",
"allowed_number_of_ns": "2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13",
"authcode": true,
"dispute_policy": "http://www.icann.org/udrp/udrp-rules-24oct99.htm",
"dnssec_interface": "ds_data",
"explicit_renewals": true,
"idn": true,
"maximum_length": 63,
"minimum_length": 3,
"registry_url": "http://www.verisigninc.com/en_US/products-and-services/domain-name-services/registry-services/com-domain-names/index.xhtml",
"restore": "realtime",
"transfer_confirmation": "foa_email",
"transfer_lock": true,
"whois_server": "whois.internic.net",
"whois_update": "realtime",
"type": "gTLD",
"rtl": false,
"sponsor": "VeriSign Global Registry Services"
},
"periods":{
"autorenew_grace_period": 40,
"maximum_term": 10,
"redemption_period": 30,
"registration_periods": "1, 2, 3, 4, 5, 6, 7, 8, 9, 10",
"renewal_periods": "1, 2, 3, 4, 5, 6, 7, 8, 9, 10",
"transfer_pending_period": 5,
"transfer_periods": "1"
},
"contacts":{
"handle_updates": true,
"registrant_change_by": "automated",
"whois_privacy": true
}
}
Type
any
200
<?xml version="1.0" encoding="UTF-8" ?>
<hash>
<registrar>
<allowed-characters>a-z,0-9,-</allowed-characters>
<allowed-number-of-ns>2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13</allowed-number-of-ns>
<authcode>true</authcode>
<dispute-policy>http://www.icann.org/udrp/udrp-rules-24oct99.htm</dispute-policy>
<dnssec-interface>ds_data</dnssec-interface>
<explicit-renewals>true</explicit-renewals>
<idn>true</idn>
<maximum-length>63</maximum-length>
<minimum-length>3</minimum-length>
<registry-url>http://www.verisigninc.com/en_US/products-and-services/domain-name-services/registry-services/com-domain-names/index.xhtml</registry-url>
<restore>realtime</restore>
<transfer-confirmation>foa_email</transfer-confirmation>
<transfer-lock>true</transfer-lock>
<whois-server>whois.internic.net</whois-server>
<whois-update>realtime</whois-update>
<type>gTLD</type>
<rtl>false</rtl>
<sponsor>VeriSign Global Registry Services</sponsor>
</registrar>
<periods>
<autorenew-grace-period>40</autorenew-grace-period>
<maximum-term>10</maximum-term>
<redemption-period>30</redemption-period>
<registration-periods>1, 2, 3, 4, 5, 6, 7, 8, 9, 10</registration-periods>
<renewal-periods>1, 2, 3, 4, 5, 6, 7, 8, 9, 10</renewal-periods>
<transfer-pending-period>5</transfer-pending-period>
<transfer-periods>1</transfer-periods>
</periods>
<contacts>
<handle-updates>true</handle-updates>
<registrant-change-by>automated</registrant-change-by>
<whois-privacy>true</whois-privacy>
</contacts>
</hash>
Type
any
Dns
Lista de zonas
GET: /dns/zones
(secured)
Refiérete a la documentación del detalle de zona para saber más acerca de cada atributo.
Possible Responses
200
Lista de zonas
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/dns/zones" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
[
{
"id" : 6,
"name" : "myzone-ujuexzzzpw.com",
"created_at" : "2015-09-21T12:19:04.000+02:00",
"updated_at" : "2015-09-21T12:19:04.000+02:00",
"human_name" : "myzone-ujuexzzzpw.com"
}
]
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<zones>
<zone>
<id>6</id>
<name>myzone-ujuexzzzpw.com</name>
<created-at>2015-09-21T12:19:04+02:00</created-at>
<updated-at>2015-09-21T12:19:04+02:00</updated-at>
<human-name>myzone-ujuexzzzpw.com</human-name>
</zone>
</zones>
Type
any
Crear zona
POST: /dns/zones
(secured)
Atributos obligatorios
name
Atributos opcionales
Ninguno
Refiérete a la documentación del detalle de zona para saber más acerca de cada atributo.
Possible Responses
201
Crear zona
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/dns/zones" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "zone" : { "name" : "myzone-kplhsjhlsa.com" } }
Type
any
{ "zone" : { "name" : "myzone-kplhsjhlsa.com" } }
Type
any
RESPONSE BODY
201
{
"id" : 6,
"name" : "myzone-ujuexzzzpw.com",
"created_at" : "2015-09-21T12:19:04.000+02:00",
"updated_at" : "2015-09-21T12:19:04.000+02:00",
"human_name" : "myzone-ujuexzzzpw.com"
}
Type
any
201
<?xml version="1.0" encoding="UTF-8"?>
<zone>
<id>6</id>
<name>myzone-ujuexzzzpw.com</name>
<created-at>2015-09-21T12:19:04+02:00</created-at>
<updated-at>2015-09-21T12:19:04+02:00</updated-at>
<human-name>myzone-ujuexzzzpw.com</human-name>
</zone>
Type
any
Detalle de zona
GET: /dns/zones/{zoneId}
(secured)
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 |
URI Parameters
zoneId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Detalle de zona
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/dns/zones/{zoneId}" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"id" : 6,
"name" : "myzone-ujuexzzzpw.com",
"created_at" : "2015-09-21T12:19:04.000+02:00",
"updated_at" : "2015-09-21T12:19:04.000+02:00",
"human_name" : "myzone-ujuexzzzpw.com"
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<zone>
<id>6</id>
<name>myzone-ujuexzzzpw.com</name>
<created-at>2015-09-21T12:19:04+02:00</created-at>
<updated-at>2015-09-21T12:19:04+02:00</updated-at>
<human-name>myzone-ujuexzzzpw.com</human-name>
</zone>
Type
any
Eliminar zona
DELETE: /dns/zones/{zoneId}
(secured)
URI Parameters
zoneId
Property | Value |
---|---|
required | true |
type | string |
Eliminar zona
CURL EXAMPLE
curl -X DELETE "https://api.neodigit.net/v1/dns/zones/{zoneId}" \
-H "X-TCpanel-Token: token"
Lista de registros
GET: /dns/zones/{zoneId}/records
(secured)
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.
Obtener únicamente los registros de tipo NS
curl -vvv -H 'X-TCpanel-Token: token' "https://api.neodigit.net/v1/dns/zones/8/records.json?type=NS"
curl -vvv -H 'X-TCpanel-Token: token' "https://api.neodigit.net/v1/dns/zones/8/records.xml?type=NS"
URI Parameters
zoneId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Lista de registros
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/dns/zones/{zoneId}/records" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
[
{
"id" : 98,
"name" : "",
"type" : "SOA",
"content" : "ns1.tecnocratica.net dns.tecnocratica.net 2015092102 7200 7200 1209600 1800",
"ttl" : 7200,
"prio" : null,
"created_at" : "2015-09-21T14:40:26.000+02:00",
"updated_at" : "2015-09-21T14:40:26.000+02:00",
"extra_fields" : {
"primary" : "ns1.tecnocratica.net",
"hostmaster" : "dns.tecnocratica.net",
"serial" : "2015092102",
"refresh" : "7200",
"retry" : "7200",
"expire" : "1209600",
"negative_ttl" : "1800"
}
},
{
"id" : 99,
"name" : "",
"type" : "NS",
"content" : "ns1.tecnocratica.net",
"ttl" : 7200,
"prio" : null,
"created_at" : "2015-09-21T14:40:26.000+02:00",
"updated_at" : "2015-09-21T14:40:26.000+02:00",
"extra_fields" : null
},
{
"id" : 100,
"name" : "",
"type" : "NS",
"content" : "ns2.tecnocratica.net",
"ttl" : 7200,
"prio" : null,
"created_at" : "2015-09-21T14:40:26.000+02:00",
"updated_at" : "2015-09-21T14:40:26.000+02:00",
"extra_fields" : null
}
]
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<records>
<record>
<id>98</id>
<name></name>
<type>SOA</type>
<content>ns1.tecnocratica.net dns.tecnocratica.net 2015092102 7200 7200 1209600 1800</content>
<ttl>7200</ttl>
<prio nil="true"/>
<created-at>2015-09-21T14:40:26+02:00</created-at>
<updated-at>2015-09-21T14:40:26+02:00</updated-at>
<extra-fields>
<primary>ns1.tecnocratica.net</primary>
<hostmaster>dns.tecnocratica.net</hostmaster>
<serial>2015092102</serial>
<refresh>7200</refresh>
<retry>7200</retry>
<expire>1209600</expire>
<negative-ttl>1800</negative-ttl>
</extra-fields>
</record>
<record>
<id>99</id>
<name></name>
<type>NS</type>
<content>ns1.tecnocratica.net</content>
<ttl>7200</ttl>
<prio nil="true"/>
<created-at>2015-09-21T14:40:26+02:00</created-at>
<updated-at>2015-09-21T14:40:26+02:00</updated-at>
<extra-fields nil="true"/>
</record>
<record>
<id>100</id>
<name></name>
<type>NS</type>
<content>ns2.tecnocratica.net</content>
<ttl>7200</ttl>
<prio nil="true"/>
<created-at>2015-09-21T14:40:26+02:00</created-at>
<updated-at>2015-09-21T14:40:26+02:00</updated-at>
<extra-fields nil="true"/>
</record>
</records>
Type
any
Crear registro
POST: /dns/zones/{zoneId}/records
(secured)
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.
URI Parameters
zoneId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
201
Crear registro
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/dns/zones/{zoneId}/records" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"record": {
"name": "blog",
"type": "CNAME",
"content": "my.domain.com"
}
}
{
"record": {
"type": "SRV",
"prio": 5,
"extra_fields": {
"service_name": "xmpp-client",
"protocol": "tcp",
"weight": 0,
"destination_host": "server.example.net",
"destination_port": 5222
}
}
}
Type
any
{
"record": {
"name": "blog",
"type": "CNAME",
"content": "my.domain.com"
}
}
{
"record": {
"type": "SRV",
"prio": 5,
"extra_fields": {
"service_name": "xmpp-client",
"protocol": "tcp",
"weight": 0,
"destination_host": "server.example.net",
"destination_port": 5222
}
}
}
Type
any
RESPONSE BODY
201
{
"id": 101,
"name": "www.myzone-hbbpocqwvu.com",
"type": "CNAME",
"content": "my.domain.com",
"ttl": 7200,
"prio": null,
"created_at": "2015-09-21T14:40:27.127+02:00",
"updated_at": "2015-09-21T14:40:27.127+02:00",
"extra_fields": null
}
201
{
"id": 103,
"name": "_xmpp-client._tcp.myzone-hbbpocqwvu.com",
"type": "SRV",
"content": "0 5222 server.example.net",
"ttl": 7200,
"prio": 5,
"created_at": "2015-09-21T14:40:27.253+02:00",
"updated_at": "2015-09-21T14:40:27.253+02:00",
"extra_fields": {
"service_name": "xmpp-client",
"protocol": "tcp",
"weight": 0,
"destination_host": "server.example.net",
"destination_port": 5222
}
}
Type
any
201
<?xml version="1.0" encoding="UTF-8"?><record><id>102</id><name>blog.myzone-hbbpocqwvu.com</name><type>CNAME</type><content>my.domain.com</content><ttl>7200</ttl><prio nil="true"/><created-at>2015-09-21T14:40:27+02:00</created-at><updated-at>2015-09-21T14:40:27+02:00</updated-at><extra-fields nil="true"/></record>
201
<?xml version="1.0" encoding="UTF-8"?><record><id>104</id><name>_xmpp-server._tcp.myzone-hbbpocqwvu.com</name><type>SRV</type><content>0 5269 server.example.net</content><ttl>7200</ttl><prio>5</prio><created-at>2015-09-21T14:40:27+02:00</created-at><updated-at>2015-09-21T14:40:27+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>
Type
any
Detalle de registro
GET: /dns/zones/{zoneId}/records/{recordId}
(secured)
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 |
URI Parameters
zoneId
Property | Value |
---|---|
required | true |
type | string |
recordId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Detalle de registro
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/dns/zones/{zoneId}/records/{recordId}" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"id" : 98,
"name" : "",
"type" : "SOA",
"content" : "ns1.tecnocratica.net dns.tecnocratica.net 2015092102 7200 7200 1209600 1800",
"ttl" : 7200,
"prio" : null,
"created_at" : "2015-09-21T14:40:26.000+02:00",
"updated_at" : "2015-09-21T14:40:26.000+02:00",
"extra_fields" : {
"primary" : "ns1.tecnocratica.net",
"hostmaster" : "dns.tecnocratica.net",
"serial" : "2015092102",
"refresh" : "7200",
"retry" : "7200",
"expire" : "1209600",
"negative_ttl" : "1800"
}
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<record>
<id>98</id>
<name></name>
<type>SOA</type>
<content>ns1.tecnocratica.net dns.tecnocratica.net 2015092102 7200 7200 1209600 1800</content>
<ttl>7200</ttl>
<prio nil="true"/>
<created-at>2015-09-21T14:40:26+02:00</created-at>
<updated-at>2015-09-21T14:40:26+02:00</updated-at>
<extra-fields>
<primary>ns1.tecnocratica.net</primary>
<hostmaster>dns.tecnocratica.net</hostmaster>
<serial>2015092102</serial>
<refresh>7200</refresh>
<retry>7200</retry>
<expire>1209600</expire>
<negative-ttl>1800</negative-ttl>
</extra-fields>
</record>
Type
any
Actualizar registro (PUT)
PUT: /dns/zones/{zoneId}/records/{recordId}
(secured)
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.
URI Parameters
zoneId
Property | Value |
---|---|
required | true |
type | string |
recordId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
422
Actualizar registro (PUT)
CURL EXAMPLE
curl -X PUT "https://api.neodigit.net/v1/dns/zones/{zoneId}/records/{recordId}" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "record" : { "extra_fields" : { "destination_host" : "server.example2.net" } } }
Type
any
{ "record" : { "extra_fields" : { "destination_host" : "server.example2.net" } } }
Type
any
RESPONSE BODY
200
{
"id" : 104,
"name" : "_xmpp-server._tcp.www.myzone-hbbpocqwvu.com",
"type" : "SRV",
"content" : "0 5269 server.example.net",
"ttl" : 7200,
"prio" : 5,
"created_at" : "2015-09-21T14:40:27.000+02:00",
"updated_at" : "2015-09-21T14:40:27.421+02:00",
"extra_fields" : {
"service_name" : "xmpp-server",
"protocol" : "tcp",
"weight" : "0",
"destination_host" : "server.example.net",
"destination_port" : "5269"
}
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<record>
<id>104</id>
<name>_xmpp-server._tcp.www.myzone-hbbpocqwvu.com</name>
<type>SRV</type>
<content>0 5269 server.example.net</content>
<ttl>7200</ttl>
<prio>5</prio>
<created-at>2015-09-21T14:40:27+02:00</created-at>
<updated-at>2015-09-21T14:40:27+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>
Type
any
Actualizar registro (PATCH)
PATCH: /dns/zones/{zoneId}/records/{recordId}
(secured)
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.
URI Parameters
zoneId
Property | Value |
---|---|
required | true |
type | string |
recordId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
422
Actualizar registro (PATCH)
CURL EXAMPLE
curl -X PATCH "https://api.neodigit.net/v1/dns/zones/{zoneId}/records/{recordId}" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "record" : { "name" : "www", "content" : "another.domain.com" } }
Type
any
{ "record" : { "name" : "www", "content" : "another.domain.com" } }
Type
any
RESPONSE BODY
200
{
"id" : 104,
"name" : "_xmpp-server._tcp.www.myzone-hbbpocqwvu.com",
"type" : "SRV",
"content" : "0 5269 server.example.net",
"ttl" : 7200,
"prio" : 5,
"created_at" : "2015-09-21T14:40:27.000+02:00",
"updated_at" : "2015-09-21T14:40:27.421+02:00",
"extra_fields" : {
"service_name" : "xmpp-server",
"protocol" : "tcp",
"weight" : "0",
"destination_host" : "server.example.net",
"destination_port" : "5269"
}
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<record>
<id>104</id>
<name>_xmpp-server._tcp.www.myzone-hbbpocqwvu.com</name>
<type>SRV</type>
<content>0 5269 server.example.net</content>
<ttl>7200</ttl>
<prio>5</prio>
<created-at>2015-09-21T14:40:27+02:00</created-at>
<updated-at>2015-09-21T14:40:27+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>
Type
any
Eliminar registro
DELETE: /dns/zones/{zoneId}/records/{recordId}
(secured)
URI Parameters
zoneId
Property | Value |
---|---|
required | true |
type | string |
recordId
Property | Value |
---|---|
required | true |
type | string |
Eliminar registro
CURL EXAMPLE
curl -X DELETE "https://api.neodigit.net/v1/dns/zones/{zoneId}/records/{recordId}" \
-H "X-TCpanel-Token: token"
Alojamiento
Lista de alojamientos compartidos
GET: /hosting/shared-hostings
(secured)
Refiérete a la documentación del detalle de alojamiento compartido para saber más acerca de cada atributo.
Possible Responses
200
Lista de alojamientos compartidos
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/hosting/shared-hostings" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
[
{
"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"
}
}
]
Type
any
200
<?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>
Type
any
Create shared hosting
POST: /hosting/shared-hostings
(secured)
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.
Possible Responses
201
Create shared hosting
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/shared-hostings" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{ "hosting" : { "domain" : "domain-xashqodldf.com", "disk_limit" : 5, "php_enabled" : false, "transfer_limit" : 1, "product_info" : { "product_periodicity" : "quarterly" } } }
Type
any
{ "hosting" : { "domain" : "domain-xashqodldf.com", "disk_limit" : 5, "php_enabled" : false, "transfer_limit" : 1, "product_info" : { "product_periodicity" : "quarterly" } } }
Type
any
RESPONSE BODY
201
{
"id" : 279,
"domain" : "domain-wczdboawlq.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"
}
}
Type
any
201
<?xml version="1.0" encoding="UTF-8"?>
<hosting>
<id>279</id>
<domain>domain-wczdboawlq.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>
Type
any
Detalle de alojamiento compartido
GET: /hosting/shared-hostings/{hostingId}
(secured)
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
Value |
---|
5.6 |
7.0 |
7.1 |
7.2 |
7.3 |
7.4 |
8.0 |
8.1 |
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 |
URI Parameters
hostingId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Detalle de alojamiento compartido
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/hosting/shared-hostings/{hostingId}" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"id" : 279,
"domain" : "domain-wczdboawlq.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"
}
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<hosting>
<id>279</id>
<domain>domain-wczdboawlq.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>
Type
any
Lista de alojamientos en un servidor
GET: /hosting/server-hostings
(secured)
Refiérete a la documentación del detalle de alojamiento en un servidor para saber más acerca de cada atributo.
Query Parameters
hosting[server_ip]
Refer to the server hosting detail documentation to know more about each attribute.
Property | Value |
---|---|
required | true |
type | string |
examples | 8.8.8.8 |
Possible Responses
200
Lista de alojamientos en un servidor
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/hosting/server-hostings?hosting[server_ip]=8.8.8.8" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
[
{
"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"
}
}
]
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<server-hostings>
<server-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>
</server-hosting>
<server-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>
</server-hosting>
</server-hostings>
Type
any
Crear alojamiento en un servidor
POST: /hosting/server-hostings
(secured)
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 |
web_enabled | boolean | Web activa |
mail_enabled | boolean | Mail activo |
hourly_mail_limit | integer | Límite de correo por hora |
daily_mail_limit | integer | Límite de correo por día |
perl_enable | boolean | Perl activo |
php_version
Value |
---|
5.6 |
7.0 |
7.1 |
7.2 |
7.3 |
7.4 |
8.0 |
8.1 |
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 |
Possible Responses
200
Crear alojamiento en un servidor
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/server-hostings" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"id" : 279,
"domain" : "domain-wczdboawlq.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"
}
}
Type
any
{
"id" : 279,
"domain" : "domain-wczdboawlq.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"
}
}
Type
any
RESPONSE BODY
200
{
"id" : 279,
"domain" : "domain-wczdboawlq.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"
}
}
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<hosting>
<id>279</id>
<domain>domain-wczdboawlq.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>
Type
any
Detalles del alojamiento en un servidor
POST: /hosting/server-hostings/search
(secured)
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 |
web_enabled | boolean | Web activa |
mail_enabled | boolean | Mail activo |
hourly_mail_limit | integer | Límite de correo por hora |
daily_mail_limit | integer | Límite de correo por día |
perl_enable | boolean | Perl activo |
php_version
Value |
---|
5.6 |
7.0 |
7.1 |
7.2 |
7.3 |
7.4 |
8.0 |
8.1 |
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 |
Possible Responses
201
Detalles del alojamiento en un servidor
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/server-hostings/search" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com"
}
}
Type
any
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com"
}
}
Type
any
RESPONSE BODY
201
{
"id" : 279,
"domain" : "domain-wczdboawlq.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"
}
}
Type
any
201
<?xml version="1.0" encoding="UTF-8"?>
<hosting>
<id>279</id>
<domain>domain-wczdboawlq.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>
Type
any
Actualizar alojamiento en un servidor
POST: /hosting/server-hostings/update
(secured)
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 |
web_enabled | boolean | Web activa |
mail_enabled | boolean | Mail activo |
hourly_mail_limit | integer | Límite de correo por hora |
daily_mail_limit | integer | Límite de correo por día |
perl_enable | boolean | Perl activo |
php_version
Value |
---|
5.6 |
7.0 |
7.1 |
7.2 |
7.3 |
7.4 |
8.0 |
8.1 |
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 |
Possible Responses
201
Actualizar alojamiento en un servidor
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/server-hostings/update" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"web_enabled": true,
"mail_enabled": true,
"db_enabled": true,
"disk_limit": 1,
"php_enabled": true,
"transfer_limit" : 1,
"mail_account_limit": 2,
"ftp_account_limit": 3,
"db_limit": 4,
"letsencrypt_enabled": true
}
}
Type
any
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"web_enabled": true,
"mail_enabled": true,
"db_enabled": true,
"disk_limit": 1,
"php_enabled": true,
"transfer_limit" : 1,
"mail_account_limit": 2,
"ftp_account_limit": 3,
"db_limit": 4,
"letsencrypt_enabled": true
}
}
Type
any
RESPONSE BODY
201
{
"id" : 279,
"domain" : "domain-wczdboawlq.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"
}
}
Type
any
201
<?xml version="1.0" encoding="UTF-8"?>
<hosting>
<id>279</id>
<domain>domain-wczdboawlq.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>
Type
any
Borrar alojamiento en un servidor
POST: /hosting/server-hostings/delete
(secured)
Borra el alojamiento y su contenido
Possible Responses
201
Borrar alojamiento en un servidor
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/server-hostings/delete" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com"
}
}
Type
any
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com"
}
}
Type
any
RESPONSE BODY
201
{
"id" : 279,
"domain" : "domain-wczdboawlq.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"
}
}
Type
any
201
<?xml version="1.0" encoding="UTF-8"?>
<hosting>
<id>279</id>
<domain>domain-wczdboawlq.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>
Type
any
Uso del alojamiento de un servidor
POST: /hosting/server-hostings/usage
(secured)
Attribute | Type | Description |
---|---|---|
ftp | integer | Número de cuentas FTP |
mail | integer | Número de cuentas de correo |
database | integer | Número de bases de datos |
disk-size | integer | Almacenamiento en GB |
disk-percentage | float | Almacenamiento en % |
transfer-used | integer | Transferencia en GB |
Possible Responses
200
Uso del alojamiento de un servidor
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/server-hostings/usage" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com"
}
}
Type
any
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com"
}
}
Type
any
RESPONSE BODY
200
[
{
"ftp": 0,
"mail": 0,
"database": 2,
"disk_size": 0,
"disk_percentage": 0.0,
"transfer_used": 0
}
]
Type
any
200
<?xml version="1.0" encoding="UTF-8" ?>
<objects>
<object>
<ftp>0</ftp>
<mail>0</mail>
<database>2</database>
<disk-size>0</disk-size>
<disk-percentage>0.0</disk-percentage>
<transfer-used>0</transfer-used>
</object>
</objects>
Type
any
Detalles del subdominio de un servidor
POST: /hosting/server-hostings/subdomain
(secured)
Atributo | Tipo | Descripción |
---|---|---|
id | integer | Identificador |
domain | string | Dominio del alojamiento |
subdomain | string | Subdominio 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 |
web_enabled | boolean | Web activa |
mail_enabled | boolean | Mail activo |
hourly_mail_limit | integer | Límite de correo por hora |
daily_mail_limit | integer | Límite de correo por día |
perl_enable | boolean | Perl activo |
php_version
Value |
---|
5.6 |
7.0 |
7.1 |
7.2 |
7.3 |
7.4 |
8.0 |
8.1 |
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 |
Possible Responses
201
Detalles del subdominio de un servidor
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/server-hostings/subdomain" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"subdomain": "test"
}
}
Type
any
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"subdomain": "test"
}
}
Type
any
RESPONSE BODY
201
[
{
"id" : 84,
"domain" : "domain-tihwpcnafy.com",
"subdomain" : "test1",
"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-tihwpcnafy.com",
"subdomain" : "test2",
"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"
}
}
]
Type
any
201
Can not resolve /examples/xml/server_hosting_subdomains.xml
Type
any
Crear subdominio en un servidor
POST: /hosting/server-hostings/subdomain/create
(secured)
Atributo | Tipo | Descripción |
---|---|---|
id | integer | Identificador |
domain | string | Dominio del alojamiento |
subdomain | string | Subdominio 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 |
web_enabled | boolean | Web activa |
mail_enabled | boolean | Mail activo |
hourly_mail_limit | integer | Límite de correo por hora |
daily_mail_limit | integer | Límite de correo por día |
perl_enable | boolean | Perl activo |
php_version
Value |
---|
5.6 |
7.0 |
7.1 |
7.2 |
7.3 |
7.4 |
8.0 |
8.1 |
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 |
Possible Responses
201
Crear subdominio en un servidor
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/server-hostings/subdomain/create" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"subdomain": "test",
"web_enabled": true,
"mail_enabled": true,
"db_enabled": true,
"disk_limit": 5,
"php_enabled": true,
"transfer_limit" : 1,
"mail_account_limit": 2,
"ftp_account_limit": 3,
"db_limit": 4,
"letsencrypt_enabled": true
}
}
Type
any
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"subdomain": "test",
"web_enabled": true,
"mail_enabled": true,
"db_enabled": true,
"disk_limit": 5,
"php_enabled": true,
"transfer_limit" : 1,
"mail_account_limit": 2,
"ftp_account_limit": 3,
"db_limit": 4,
"letsencrypt_enabled": true
}
}
Type
any
RESPONSE BODY
201
{
"id" : 279,
"domain" : "domain-wczdboawlq.com",
"subdomain" : "test",
"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"
}
}
Type
any
201
Can not resolve /examples/xml/server_hosting_subdomain.xml
Type
any
Actualizar subdominio en un servidor
POST: /hosting/server-hostings/subdomain/update
(secured)
Atributo | Tipo | Descripción |
---|---|---|
id | integer | Identificador |
domain | string | Dominio del alojamiento |
subdomain | string | Subdominio 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 |
web_enabled | boolean | Web activa |
mail_enabled | boolean | Mail activo |
hourly_mail_limit | integer | Límite de correo por hora |
daily_mail_limit | integer | Límite de correo por día |
perl_enable | boolean | Perl activo |
php_version
Value |
---|
5.6 |
7.0 |
7.1 |
7.2 |
7.3 |
7.4 |
8.0 |
8.1 |
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 |
Possible Responses
201
Actualizar subdominio en un servidor
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/server-hostings/subdomain/update" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"subdomain": "test",
"web_enabled": true,
"mail_enabled": true,
"db_enabled": true,
"disk_limit": 5,
"php_enabled": true,
"transfer_limit" : 1,
"mail_account_limit": 2,
"ftp_account_limit": 3,
"db_limit": 4,
"letsencrypt_enabled": true
}
}
Type
any
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"subdomain": "test",
"web_enabled": true,
"mail_enabled": true,
"db_enabled": true,
"disk_limit": 5,
"php_enabled": true,
"transfer_limit" : 1,
"mail_account_limit": 2,
"ftp_account_limit": 3,
"db_limit": 4,
"letsencrypt_enabled": true
}
}
Type
any
RESPONSE BODY
201
{
"id" : 279,
"domain" : "domain-wczdboawlq.com",
"subdomain" : "test",
"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"
}
}
Type
any
201
Can not resolve /examples/xml/server_hosting_subdomain.xml
Type
any
Borrar subdominio en un servidor
POST: /hosting/server-hostings/subdomain/delete
(secured)
Borra el subdominio y su contenido
Possible Responses
201
Borrar subdominio en un servidor
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/server-hostings/subdomain/delete" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"subdomain": "test"
}
}
Type
any
{
"hosting" :
{
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"subdomain": "test"
}
}
Type
any
RESPONSE BODY
201
{
"id" : 279,
"domain" : "domain-wczdboawlq.com",
"subdomain" : "test",
"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"
}
}
Type
any
201
Can not resolve /examples/xml/server_hosting_subdomain.xml
Type
any
Estadísticas de disco del servidor
POST: /hosting/server-hostings/stats
(secured)
Atributo | Tipo | Descripción |
---|---|---|
total_transfer | array | Transferencia saliente mensual / transferencia entrante mensual (Bytes) |
disk_usage | array | Uso de disco (Total/Megabytes, Uso/Bytes) |
top_5_disk_usage | array | Top 5 alojamientos en uso (Megabytes) |
Possible Responses
200
Estadísticas de disco del servidor
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/server-hostings/stats" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"hosting" :
{
"server_ip": "8.8.8.8"
}
}
Type
any
{
"hosting" :
{
"server_ip": "8.8.8.8"
}
}
Type
any
RESPONSE BODY
200
[
{
"total_transfer":{
"2022-10-01 00:00:00 +0000":{
"input": 510,
"output": 460
},
"2022-09-01 00:00:00 +0000":{
"input": 2412,
"output": 3146
},
"2022-08-01 00:00:00 +0000":{
"input": 3210,
"output": 3992
},
"2022-07-01 00:00:00 +0000":{
"input": 42612,
"output": 3399
},
"2022-06-01 00:00:00 +0000":{
"input": 61734,
"output": 2605
},
"2022-05-01 00:00:00 +0000":{
"input": 9619,
"output": 2682
},
"2022-04-01 00:00:00 +0000":{
"input": 25848,
"output": 4995
},
"2022-03-01 00:00:00 +0000":{
"input": 9164,
"output": 3971
},
"2022-02-01 00:00:00 +0000":{
"input": 8485,
"output": 3032
},
"2022-01-01 00:00:00 +0000":{
"input": 9891,
"output": 3024
}
},
"disk_usage":{
"total": 51200,
"used": 8204508815.360001,
"percent": 15.0
},
"top_5_disk_usage":[
{
"domain": "uno.es",
"size": 3011.0
},
{
"domain": "dos.net",
"size": 255.0
},
{
"domain": "tres.es",
"size": 120.0
},
{
"domain": "cuatro.net",
"size": 116.0
},
{
"domain": "cinco.es",
"size": 36.0
}
]
}
]
Type
any
200
<?xml version="1.0" encoding="UTF-8"?>
<objects>
<object>
<total-transfer>
<2022-10-01-00:00:00-+0000>
<input>510</input>
<output>460</output>
</2022-10-01-00:00:00-+0000>
<2022-09-01-00:00:00-+0000>
<input>2412</input>
<output>3146</output>
</2022-09-01-00:00:00-+0000>
<2022-08-01-00:00:00-+0000>
<input>3210</input>
<output>3992</output>
</2022-08-01-00:00:00-+0000>
<2022-07-01-00:00:00-+0000>
<input>42612</input>
<output>3399</output>
</2022-07-01-00:00:00-+0000>
<2022-06-01-00:00:00-+0000>
<input>61734</input>
<output>2605</output>
</2022-06-01-00:00:00-+0000>
<2022-05-01-00:00:00-+0000>
<input>9619</input>
<output>2682</output>
</2022-05-01-00:00:00-+0000>
<2022-04-01-00:00:00-+0000>
<input>25848</input>
<output>4995</output>
</2022-04-01-00:00:00-+0000>
<2022-03-01-00:00:00-+0000>
<input>9164</input>
<output>3971</output>
</2022-03-01-00:00:00-+0000>
<2022-02-01-00:00:00-+0000>
<input>8485</input>
<output>3032</output>
</2022-02-01-00:00:00-+0000>
<2022-01-01-00:00:00-+0000>
<input>9891</input>
<output>3024</output>
</2022-01-01-00:00:00-+0000>
</total-transfer>
<disk-usage>
<total>51200</total>
<used>8204513198.080001</used>
<percent>15.0</percent>
</disk-usage>
<top-5-disk-usage>
<top-5-disk-usage>
<domain>uno.es</domain>
<size>3011.0</size>
</top-5-disk-usage>
<top-5-disk-usage>
<domain>dos.net</domain>
<size>255.0</size>
</top-5-disk-usage>
<top-5-disk-usage>
<domain>tres.es</domain>
<size>120.0</size>
</top-5-disk-usage>
<top-5-disk-usage>
<domain>cuatro.net</domain>
<size>116.0</size>
</top-5-disk-usage>
<top-5-disk-usage>
<domain>cinco.es</domain>
<size>36.0</size>
</top-5-disk-usage>
</top-5-disk-usage>
</object>
</objects>
Type
any
Estadísticas generales del servidor
POST: /hosting/server-hostings/statistics
(secured)
Atributo | Tipo | Descripción |
---|---|---|
timestamp | integer | Timestamp de las estadísticas |
cpu | array | Cores actuales y porcentaje de uso |
memory | array | RAM (Bytes) Uso (Bytes) |
disk | array | Tamaño de disco (Bytes) IOs de lectura/Escritura (Bytes) |
network | array | Red - Transferencia saliente y transferencia entrante (Bytes) |
Possible Responses
200
Estadísticas generales del servidor
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/server-hostings/statistics" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"hosting" :
{
"server_ip": "8.8.8.8"
}
}
Type
any
{
"hosting" :
{
"server_ip": "8.8.8.8"
}
}
Type
any
RESPONSE BODY
200
[
{
"timestamp": 1664971140,
"cpu":{
"max": 2,
"current": 0.00195828695191852
},
"memory":{
"max": 2147483648,
"current": 375519573.333333
},
"disk":{
"max": 52710309888,
"current":{
"read": 0,
"write": 0
}
},
"network":{
"current":{
"input": 1012.58,
"output": 1319.055
}
}
},
{
"timestamp": 1664971200,
"cpu":{
"max": 2,
"current": 0.0078934211246901
},
"memory":{
"max": 2147483648,
"current": 375411712
},
"disk":{
"max": 52710309888,
"current":{
"read": 621.226666666667,
"write": 136.533333333333
}
},
"network":{
"current":{
"input": 949.916666666667,
"output": 355.166666666667
}
}
}
]
Type
any
200
<?xml version="1.0" encoding="UTF-8" ?>
<objects>
<object>
<timestamp>1664971680</timestamp>
<cpu>
<max>2</max>
<current>0.00203425237017439</current>
</cpu>
<memory>
<max>2147483648</max>
<current>375235242.666667</current>
</memory>
<disk>
<max>52710309888</max>
<current>
<read>0</read>
<write>0</write>
</current>
</disk>
<network>
<current>
<input>909.106666666667</input>
<output>851.028333333333</output>
</current>
</network>
</object>
<object>
<timestamp>1664971740</timestamp>
<cpu>
<max>2</max>
<current>0.25746841299726</current>
</cpu>
<memory>
<max>2147483648</max>
<current>434510848</current>
</memory>
<disk>
<max>52710309888</max>
<current>
<read>13175.4666666667</read>
<write>5536.42666666667</write>
</current>
</disk>
<network>
<current>
<input>19777.2933333333</input>
<output>47640.4333333333</output>
</current>
</network>
</object>
<objects>
Type
any
Crear cuenta FTP
POST: /hosting/server-hostings/ftp/create
(secured)
Possible Responses
200
Crear cuenta FTP
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/server-hostings/ftp/create" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"hosting" : {
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"username": "myusername",
"password": "mypassword",
"password_confirmation": "mypassword",
"quota": 100,
"dir": "/www",
"read_only": true,
"enabled": true
}
}
Type
any
{
"hosting" : {
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"username": "myusername",
"password": "mypassword",
"password_confirmation": "mypassword",
"quota": 100,
"dir": "/www",
"read_only": true,
"enabled": true
}
}
Type
any
RESPONSE BODY
200
true
Type
any
200
true
Type
any
Actualizar cuenta FTP
POST: /hosting/server-hostings/ftp/update
(secured)
Possible Responses
200
Actualizar cuenta FTP
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/server-hostings/ftp/update" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"hosting" : {
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"username": "myusername",
"password": "mypassword",
"password_confirmation": "mypassword",
"quota": 100,
"read_only": true,
"enabled": true
}
}
Type
any
{
"hosting" : {
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"username": "myusername",
"password": "mypassword",
"password_confirmation": "mypassword",
"quota": 100,
"read_only": true,
"enabled": true
}
}
Type
any
RESPONSE BODY
200
true
Type
any
200
true
Type
any
Eliminar cuenta FTP
POST: /hosting/server-hostings/ftp/delete
(secured)
Possible Responses
200
Eliminar cuenta FTP
CURL EXAMPLE
curl -X POST "https://api.neodigit.net/v1/hosting/server-hostings/ftp/delete" \
-H "X-TCpanel-Token: token" \
-H "Content-type: application/json" \
-d @request_body
REQUEST BODY
{
"hosting" : {
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"ftp_id": 1
}
}
Type
any
{
"hosting" : {
"server_ip": "8.8.8.8",
"domain": "domain-wczdboawlq.com",
"ftp_id": 1
}
}
Type
any
RESPONSE BODY
200
true
Type
any
200
true
Type
any
Mis clientes
Lista de mis clientes
GET: /subclients
(secured)
Refiérete a la documentación del detalle de cliente para saber más acerca de cada atributo.
curl -vvv -H 'X-TCpanel-Token: token' "https://api.neodigit.net/v1/subclients.json"
curl -vvv -H 'X-TCpanel-Token: token' "https://api.neodigit.net/v1/subclients.json"
Possible Responses
200
Lista de mis clientes
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/subclients" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
[
{
"id": 555,
"name": "John",
"lastname": "Doe",
"ic": "",
"address": "Madrid",
"city": "Madrid",
"state": "Madrid",
"country": "ES",
"zipcode": "Madrid",
"email": "hello@johndoe.es",
"company": "",
"phonecc": "34",
"phone": "0000000",
"company_id": "B11111111",
"legal_form": "natural_person_or_individual",
"twitter": "",
"faxcc": "",
"fax": ""
},
{
"id": 777,
"name": "Mery",
"lastname": "Doe",
"ic": "",
"address": "Madrid",
"city": "Madrid",
"state": "Madrid",
"country": "ES",
"zipcode": "Madrid",
"email": "hello@johndoe.es",
"company": "",
"phonecc": "34",
"phone": "0000000",
"company_id": "B11111111",
"legal_form": "natural_person_or_individual",
"twitter": "",
"faxcc": "",
"fax": ""
}
]
Type
any
200
<?xml version="1.0" encoding="UTF-8" ?>
<subclients>
<subclient>
<id>555</id>
<name>John</name>
<lastname>Doe</lastname>
<ic/>
<address>Madrid</address>
<city>Madrid</city>
<state>Madrid</state>
<country>ES</country>
<zipcode>Madrid</zipcode>
<email>hello@johndoe.es</email>
<company/>
<phonecc>34</phonecc>
<phone>0000000</phone>
<company-id>B11111111</company-id>
<legal-form>natural_person_or_individual</legal-form>
<twitter/>
<faxcc/>
<fax/>
</subclient>
<subclient>
<id>777</id>
<name>Mery</name>
<lastname>Doe</lastname>
<ic/>
<address>Madrid</address>
<city>Madrid</city>
<state>Madrid</state>
<country>ES</country>
<zipcode>Madrid</zipcode>
<email>hello@johndoe.es</email>
<company/>
<phonecc>34</phonecc>
<phone>0000000</phone>
<company-id>B11111111</company-id>
<legal-form>natural_person_or_individual</legal-form>
<twitter/>
<faxcc/>
<fax/>
</subclient>
</subclients>
Type
any
Detalle de mi cliente
GET: /subclients/{subclientId}
(secured)
Attribute | Type | Description |
---|---|---|
id | integer | Identificador |
name | string | Nombre de mi cliente |
lastname | string | Apellido de mi cliente |
ic | string | Tarjeta de identificación de mi cliente |
address | string | Dirección de mi cliente |
state | string | Provincia de mi cliente |
country | string | País de mi cliente |
zipcode | string | Código postal de mi cliente |
email | string | Email de mi cliente |
company | string | Empresa de mi cliente |
phonecc | string | Prefijo tel. de mi cliente |
phone | string | Teléfono de mi cliente |
company_id | string | Tarjeta de identificación empresarial de mi cliente |
legal_form | string | Forma legal de mi cliente |
twitter | string | Twitter de mi cliente |
faxcc | string | Prefijo fax de mi cliente |
fax | string | Fax de mi cliente |
URI Parameters
subclientId
Property | Value |
---|---|
required | true |
type | string |
Possible Responses
200
Detalle de mi cliente
CURL EXAMPLE
curl -X GET "https://api.neodigit.net/v1/subclients/{subclientId}" \
-H "X-TCpanel-Token: token"
RESPONSE BODY
200
{
"id": 555,
"name": "John",
"lastname": "Doe",
"ic": "",
"address": "Madrid",
"city": "Madrid",
"state": "Madrid",
"country": "ES",
"zipcode": "Madrid",
"email": "hello@johndoe.es",
"company": "",
"phonecc": "34",
"phone": "0000000",
"company_id": "B11111111",
"legal_form": "natural_person_or_individual",
"twitter": "",
"faxcc": "",
"fax": ""
}
Type
any
200
<?xml version="1.0" encoding="UTF-8" ?>
<subclient>
<id>555</id>
<name>John</name>
<lastname>Doe</lastname>
<ic/>
<address>Madrid</address>
<city>Madrid</city>
<state>Madrid</state>
<country>ES</country>
<zipcode>Madrid</zipcode>
<email>hello@johndoe.es</email>
<company/>
<phonecc>34</phonecc>
<phone>0000000</phone>
<company-id>B11111111</company-id>
<legal-form>natural_person_or_individual</legal-form>
<twitter/>
<faxcc/>
<fax/>
</subclient>
Type
any