Para poder disfrutar de la web necesitas un navegador más reciente y seguro. Para más información, revisa las actualizaciones de Internet Explorer.
 No se puede dar de alta este servicio. Contacta con Soporte

API dinahosting

Todos los comandos que necesitas
Si tienes dudas, te ayudamos gratis

api.cta__h1

Lista de comandos

Lista de errores

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 datos de respuesta

void

Información adicional

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

Generador 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.