Body
Description
Gets the default and customized Legal Agreements.
HTTP Method
GET
Example Test URL Request
https://test.httpapi.com/api/commons/legal-agreements.xml?auth-userid=0&api-key=key&type=type
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. |
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.