VAIOWEB Domain Names Registration, Linux Web Hosting, Email Hosting, Reseller Hosting, VPS Hosting, Thawte Digital SSL Certificates, WebSite Builder, WebSite Templates

Get Legal Agreements

Description

Gets the default and customized Legal Agreements.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
type Array of Strings Required Values can be: resellermasteragreement, customermasteragreement, resellerdomainagreement, customerdomainagreement, resellerwebserviceagreement, customerwebserviceagreement, resellerdigicertagreement, customerdigicertagreement, registraragreement, customerhostingproductagreement or resellerhostingproductagreement.

HTTP Method

GET

Example Test URL Request

https://test.httpapi.com/api/commons/legal-agreements.xml?auth-userid=0&api-key=key&type=type

Response

Returns a hash map of the Legal Agreements containing the below details:

  • Default Agreement Text (defaultagreement)

  • Whether the Default Agreement has been selected for use (agreementflag)

  • Customized Agreement Text (agreement)

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.