getTermsAndConditions

Returns the terms and conditions for using the system.

getTermsAndConditions

Returns the terms and conditions for using the system.

Top ↑

Syntax

array getTermsAndConditions( string api_key );

Parameters

api_key (string)

The key required to access the API. See Getting Started for more information.

Return Value

Returns an array containing:

Examples

$api = new Api($url, 'YOURAPIKEY');
$session_details = $api->invokeMethod('getTermsAndConditions');
{
   "id": 1,
   "method": "getTermsAndConditions",
   "params": [
      "YOURAPIKEY"
   ]
}
{
    "id": 1,
    "result": [
        "TC2813b8977c7ec6b40f4b3aa2897a36e47",
        "<p><strong>1.    IMPORTANT N...(omitted)",
    ],
    "error": null
}

Remarks

The method getTermsAndConditions must be called prior to calling acceptTermsAndConditions to obtain the terms_key and pass it to acceptTermsAndConditions.

See Also