# getLicenseType

Description: obtain information about the license.

Request example:

{
    "method" : "getLicenseType",
    "requestId" : "1"
}

Response example:

{
    "method" : "getLicenseType",
    "requestId" : "1",
    "result" : true,
    "product_id":"rm0qd",
    "value" : 2,
    "start_date": 1633554000,
    "end_date": 1635541199,
    "result": true
}

Parameter description:

  • value — the type of license.

    Values:

    • 0 — free license

    • 1 — trial license

    • 2 —premium license

  • product_id — the identifier of the current application instance (the field is optional)

  • start_date — the time when the license became active; the field is optional (Unix TimeStamp)

  • end_date — the license expiry date; the field is optional (Unix TimeStamp)

  • requestId - a unique request identifier. You can learn more about it here.

See also: