Para poder desfrutares do site precisas dum navegador mais recente e seguro. Para mais informação, revisa as atualizações de Internet Explorer.
 Não se pode cadastrar este serviço. Contacta com Suporte

API da dinahosting

Todos os comandos de que necessitar
Se tiveres dúvidas, ajudamos-te de graça

api.cta__h1

API dinahosting

Todos los comandos que necesitas para implementar tu propia plataforma de venta y gestión de dominios, alojamiento web, VPS... usando tu interfaz, automatizando y planificando acciones sobre uno o varios servicios.

  • API en PDF

    Download Fecha de actualización: 04/12/2025 08:30:37
  • Librería de archivos

    Download Dinahosting HTTP_Request libary files

Documentación de la API

A continuación se muestra la documentación completa de la API de dinahosting y la lista de comandos disponibles. Cada comando incluye una descripción detallada de su funcionamiento, los parámetros que admite y los posibles tipos de respuesta.

Al seleccionar un comando, se mostrará también un generador de peticiones y un simulador de respuesta, que te permitirán probar cómo invocar la API y visualizar la respuesta real que devuelve el servidor.

Lista de comandos

Lista de erros

Dedicated_ForVps_Vps_Create_Managed

Generates and returns a ticket for creating a managed VPS in a dedicated server. The ticket status can be consulted with the command \'Dedicated_ForVps_GetTicketStatus\'.
Please note this command has a delayed execution and it'll return SUCCESS_PENDING code on success and a ticket id (integer) on the data field.
Version: 1.0
Special errors:
UNIMPLEMENTED_OBJECT_SERVICE If it's a dedicated but not a dedicated for vps.

Parameters

  • serverName (string): Server name. The parameter is required.
  • alias (string): VPS alias. The parameter is optional.
  • description (string): VPS description. The parameter is optional.
  • diskImage (string): Image disk. Use the command 'Dedicated_ForVps_Vps_GetTypes' to get a list of available images. The parameter is required.
  • vcpusCount (int): Number of vcpus. The parameter is required. Parameter value must be a valid integer. Parameter value must be between values 1 and 4 inclusive.
  • ram (int): RAM (MB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available RAM. The parameter is required. Parameter value must be a valid integer. Parameter value must be greater or equal than 512.
  • diskSpace (int): Disk space (GB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available space. The parameter is required. Parameter value must be a valid integer. Parameter value must be greater or equal than 10.
  • transferLimit (int): Transfer limit (GB). Set empty for unlimited. Use the command 'Dedicated_ForVps_GetServerInfo' to check the avaliable transfer limit. The parameter is optional.

Tipo de datos de respuesta

int

Información adicional

El modo de simulación no se aplica plenamente este comando.

Generador de código

Genera fácilmente el código completo de tu petición en distintos lenguajes.

Nome do servidor.

VPS alias.

VPS description.

Image disk. Use the command 'Dedicated_ForVps_Vps_GetTypes' to get a list of available images.

Number of vcpus.

RAM (MB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available RAM.

Disk space (GB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available space.

Transfer limit (GB). Set empty for unlimited. Use the command 'Dedicated_ForVps_GetServerInfo' to check the avaliable transfer limit.

 
 

Simulador

Prueba tu petición y obtén al instante una respuesta simulada de ejemplo.

Nome do servidor.

VPS alias.

VPS description.

Image disk. Use the command 'Dedicated_ForVps_Vps_GetTypes' to get a list of available images.

Number of vcpus.

RAM (MB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available RAM.

Disk space (GB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available space.

Transfer limit (GB). Set empty for unlimited. Use the command 'Dedicated_ForVps_GetServerInfo' to check the avaliable transfer limit.