autoregistration.get

Description

object autoregistration.get(object parameters)

The method allows to retrieve autoregistration object according to the given parameters.

This method is only available to Super admin user type. Permissions to call the method can be revoked in user role settings. See User roles for more information.

Parameters

(object) Parameters defining the desired output.

The method supports only one parameter.

ParameterTypeDescription
outputqueryThis parameter being common for all get methods described in the reference commentary.

Return values

(object) Returns autoregistration object.

Examples

Request:

  1. {
  2. "jsonrpc": "2.0",
  3. "method": "autoregistration.get",
  4. "params": {
  5. "output": "extend"
  6. },
  7. "auth": "038e1d7b1735c6a5436ee9eae095879e",
  8. "id": 1
  9. }

Response:

  1. {
  2. "jsonrpc": "2.0",
  3. "result": {
  4. "tls_accept": "3"
  5. },
  6. "id": 1
  7. }

Source

CAutoregistration::get() in ui/include/classes/api/services/CAutoregistration.php.