To be able to enjoy the web you need a more recent and safe browser. For more information, check the Internet Explorer updates.
 You cannot register this service. Contact Support

API dinahosting

All the commands you need
If you have doubts, we help you for free

api.cta__h1

List of commands

List of errors

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

Response data type.

void

Additional Information

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

Code generator.

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.

 
 

Simulator

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.