Per poder gaudir de la web necessites un navegador més recent i segur. Per més informació, revisa les actualitzacions d'Internet Explorer.
Debido a la incidencia eléctrica nuestro servicio de atención al cliente no puede atenderte con normalidad
 No es pot donar d'alta aquest servei. Contacta amb Suport
Debido a la incidencia eléctrica nuestro servicio de atención al cliente no puede atenderte con normalidad

API dinahosting

Totes les ordres que necessites
Si tens dubtes, t'ajudem gratis

api.cta__h1

Llista de comandaments

Llista d'errors

Librería de archivos

Dinahosting HTTP_Request libary files
Introduce el texto mostrado en la imagen

Hosting_Import_ApplyForDdbb

Apply for a database import to your hosting.
1.0 -> 1.1: Removed unused parameter.
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.1
Special errors:
OBJECT_EXISTS If destination mysql ddbb cannot be created because already exists.
OBJECT_NOT_EXISTS If destination mysql ddbb doesn't exists.

Parameters:

  • hosting (string): Destination hosting name. The parameter is required.
  • originDdbbName (string): Origin database name. The parameter is required. Parameter value must be a valid database name. Parameter length must be between 1 and 64 characters. It can contain only alphanumeric or underscore chars. String must start with a alphabetical char and contain at least one numeric char.
  • originUser (string): Origin user name. The parameter is required. Parameter length must be between 1 and 16 characters.
  • originPassword (string): Origin user password. The parameter is required. Parameter length must be between 1 and 255 characters.
  • originServer (string): Origin server hostname or IP with (or without) port. Default port: 3306. The parameter is required.
  • create (bool): Create destination DDBB. The parameter is optional. Parameter value must be a boolean ( true or false ).
  • destinationDdbbName (string): Destination new database name. If it's empty, we'll use originDdbbName as the destination database name. The parameter is optional. Parameter value must be a valid database name. Parameter length must be between 1 and 64 characters. It can contain only alphanumeric or underscore chars. String must start with a alphabetical char and contain at least one numeric char.
  • destinationUser (string): Destination new user name. If it's empty, we'll use originUser as the destination user name on creation. The parameter is optional. Parameter length must be between 0 and 16 characters.
  • destinationPassword (string): Only used if create is true. Destination user password. If it's empty, we'll use originPassword as the destination password on creation. The parameter is optional. Parameter length must be between 0 and 16 characters.
  • notificationMail (string): Email address for a notification. The parameter is optional. Parameter value must be a valid email address.

Tipus de dades de resposta

int

Generador de codi

Destination hosting name.

Origin database name.

Origin user name.

Origin user password.

Origin server hostname or IP with (or without) port. Default port: 3306.

Create destination DDBB.

Destination new database name. If it's empty, we'll use originDdbbName as the destination database name.

Destination new user name. If it's empty, we'll use originUser as the destination user name on creation.

Only used if create is true. Destination user password. If it's empty, we'll use originPassword as the destination password on creation.

Email address for a notification.

 
 

Simulador

Los datos de respuesta no son reales.

Destination hosting name.

Origin database name.

Origin user name.

Origin user password.

Origin server hostname or IP with (or without) port. Default port: 3306.

Create destination DDBB.

Destination new database name. If it's empty, we'll use originDdbbName as the destination database name.

Destination new user name. If it's empty, we'll use originUser as the destination user name on creation.

Only used if create is true. Destination user password. If it's empty, we'll use originPassword as the destination password on creation.

Email address for a notification.