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

Lista de comandos

Lista de erros

Librería de archivos

Dinahosting HTTP_Request libary files
Introduce el texto mostrado en la imagen

Billing_Transfer_Domain

Buy and transfer to Dinahosting an existing domain name.
Some domains require an auth code to complete the transfer. There is a command for this: Api_Command_Domain_Transfer_SetAuthcode.
1.0 -> 1.1 Improved simulation mode.
1.1 -> 1.2: COMMAND_BILLING_CREDIT error.
1.2 -> 1.3: OBJECT_EXISTS and OBJECT_NOT_EXISTS errors.
1.3 -> 1.4: New TLDs are supported.
1.4 -> 1.5: New contact keys (RegistrantIdentification, AdminIdentification, TechIdentification, BillingIdentification) - required for esNic domain validation.
EsNic domain validation for technical contact: must be a natural person
Version: 1.5
Special errors:
OBJECT_EXISTS Domain is currently active on dinahosting.
OBJECT_NOT_EXISTS Domain is currently not registered.
COMMAND_BILLING_CREDIT User haven't got enought credit available.
BILLING_FAILURE There was some error at payment / billing runtime.
COMMAND_BILLING_PRODUCT_ERROR Invalid domain TLD or transfer period.

Parameters:

  • domain (string): Domain name. The parameter is required.
  • period (int): Registration period ( years ). Default: 1 year. 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 ( see Domain_Contacts_GetAll ). Optional, but many of the tlds require registrant information (see Billing_Transfer_GetRequirements ). The parameter is optional. Parameter value must be a valid contacts.
  • dnss (array): Array containing DNS strings ( see Domain_Dnss_Get ). Optional. 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 transfer this domain. 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".

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 ). Default: 1 year.

Array containing contacts ( see Domain_Contacts_GetAll ). Optional, but many of the tlds require registrant information (see Billing_Transfer_GetRequirements ). / Web format: Comma separated key+value pairs, one pair by line

Array containing DNS strings ( see Domain_Dnss_Get ). Optional. / Web format: Comma separated values .

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

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

 
 

Simulador

Los datos de respuesta no son reales.

Domain name.

Registration period ( years ). Default: 1 year.

Array containing contacts ( see Domain_Contacts_GetAll ). Optional, but many of the tlds require registrant information (see Billing_Transfer_GetRequirements ). / Web format: Comma separated key+value pairs, one pair by line

Array containing DNS strings ( see Domain_Dnss_Get ). Optional. / Web format: Comma separated values .

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

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