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_Autorenew_SetOn

Set autorenovation ON for a service. Service will renew automatically at expiration date.
No payment is done until expiration date.
1.0 -> 1.1: Added some validation error codes for invalid paymentMethodId .
Version: 1.1
Special errors:
BILLING_FAILURE User may have pending payments and can't set autorenews.
OBJECT_STATUS_PROHIBITS_OP Service contratation has ended. Service has lapsed.
UNIMPLEMENTED_OBJECT_SERVICE Service can't be autorenewed.
OBJECT_NOT_EXISTS Service with requested id was not found or payment method doesn't exists / is restricted.
PARAMETER_VALUE_POLICY_ERROR Payment method exists but is not eligible for new autorenewals.

Parameters:

  • id (int): Service ID ( as returned by Billing_Autorenew_GetAll ). The parameter is required. Parameter value must be a valid integer.
  • paymentMethodId (int): Payment method ID (as returned by Payment_Method_GetAll). The parameter is required. Parameter value must be a valid integer.
  • period (int): Renovation period ( years or months, see periodUnit parameter ). Optional. The parameter is optional. Parameter value must be a valid integer. Parameter value must be between values 1 and 120 inclusive.
  • periodUnit (string): Period unit. The parameter is required. Accepted parameter values: "YEAR","MONTH".

Tipo de dados de resposta

void

Informação adicional

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

Gerador de código

Service ID ( as returned by Billing_Autorenew_GetAll ).

Payment method ID (as returned by Payment_Method_GetAll).

Renovation period ( years or months, see periodUnit parameter ). Optional.

Period unit.

 
 

Simulador

Los datos de respuesta no son reales.

Service ID ( as returned by Billing_Autorenew_GetAll ).

Payment method ID (as returned by Payment_Method_GetAll).

Renovation period ( years or months, see periodUnit parameter ). Optional.

Period unit.