Para poder desfrutares do site precisas dum navegador mais recente e seguro. Para mais informação, revisa as atualizações de Internet Explorer.
Debido a la incidencia eléctrica nuestro servicio de atención al cliente no puede atenderte con normalidad
 Não se pode cadastrar este serviço. Contacta com Suporte
Debido a la incidencia eléctrica nuestro servicio de atención al cliente no puede atenderte con normalidad

API da dinahosting

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

api.cta__h1

Lista de comandos

Lista de erros

Librería de archivos

Dinahosting HTTP_Request libary files
Introduce el texto mostrado en la imagen

Billing_Buy_DomainUsingContactsIds

Buy and register a unused domain name.
1.0 -> 1.1: Improved simulation mode.
1.1 -> 1.2: COMMAND_BILLING_CREDIT error.
1.2 -> 1.3: New TLDs are supported.
1.3 -> 1.4: EsNic domain validation for technical contact: must be a natural person
1.4 -> 1.5: New parameter extraData.
1.5 -> 1.6: New validation for esNic registration and new error code: COMMAND_BILLING_DOMAIN_FORBIDDEN_PREDEFINED_CONTACTS
Version: 1.6
Special errors:
COMMAND_BILLING_CREDIT User haven't got enought credit available.
BILLING_FAILURE There was some error at payment / billing runtime.
OBJECT_EXISTS Domain already exists on Dinahosting.
COMMAND_BILLING_PRODUCT_ERROR Invalid domain TLD or registration period.

Parameters:

  • domain (string): Domain name. The parameter is required.
  • period (int): Registration period ( years ). The parameter is required. Parameter value must be a valid integer. Parameter value must be between values 1 and 10 inclusive.
  • contacts (struct): Array containing contacts ids. The parameter is required. Parameter value must be valid contacts ids.
  • dnss (array): Array containing at least 2 DNS strings. The parameter is optional. Parameter value must be a valid array of 2-8 unique DNS.
  • whoisProtection (bool): Default is false. Set true to buy domain whois protection. Is activated inmediatly after register this domain. The parameter is optional. Parameter value must be a boolean ( true or false ).
  • showRegistrantInfoOnWhois (bool): Default is false. Set true to show registrant info on whois. The parameter is optional. Parameter value must be a boolean ( true or false ).
  • showAdminContactInfoOnWhois (bool): Default is false. Set true to show admin contact info on whois. The parameter is optional. Parameter value must be a boolean ( true or false ).
  • showTechContactInfoOnWhois (bool): Default is false. Set true to show tech contact info on whois. The parameter is optional. Parameter value must be a boolean ( true or false ).
  • paymentMethodType (string): Default is saldo. Set it to "bono" to use that payment Method. The parameter is optional. Accepted parameter values: "saldo","bono".
  • extraData (struct): Hash array containing additional data. The parameter is optional.

Tipo de dados de resposta

void

Informação adicional

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

Gerador de código

Domain name.

Registration period ( years ).

Array containing contacts ids. / Web format: Comma separated key+value pairs, one pair by line

Array containing at least 2 DNS strings. / Web format: Comma separated values .

Default is false. Set true to buy domain whois protection. Is activated inmediatly after register this domain.

Default is false. Set true to show registrant info on whois.

Default is false. Set true to show admin contact info on whois.

Default is false. Set true to show tech contact info on whois.

Default is saldo. Set it to "bono" to use that payment Method.

Hash array containing additional data. / Web format: Comma separated key+value pairs, one pair by line

 
 

Simulador

Los datos de respuesta no son reales.

Domain name.

Registration period ( years ).

Array containing contacts ids. / Web format: Comma separated key+value pairs, one pair by line

Array containing at least 2 DNS strings. / Web format: Comma separated values .

Default is false. Set true to buy domain whois protection. Is activated inmediatly after register this domain.

Default is false. Set true to show registrant info on whois.

Default is false. Set true to show admin contact info on whois.

Default is false. Set true to show tech contact info on whois.

Default is saldo. Set it to "bono" to use that payment Method.

Hash array containing additional data. / Web format: Comma separated key+value pairs, one pair by line