Per poder gaudir de la web necessites un navegador més recent i segur. Per més informació, revisa les actualitzacions d'Internet Explorer.
 No es pot donar d'alta aquest servei. Contacta amb Suport

API dinahosting

Totes les ordres que necessites
Si tens dubtes, t'ajudem gratis

api.cta__h1

Llista de comandaments

Llista d'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".

Tipus de dades de resposta

void

Informació addicional

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

Generador de codi

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.