(408) 943-4100               V   Commercial Support

license/register

  1 minute read.

Last Modified 2021-02-04 11:38 EST
NamespaceNameAdmin OnlyLog SummaryGenerates EventVersion Added
licenseregisteryesnoyes1

Description

Register a new license with TrueCommand (administrator only)

Input Arguments

  • Required:
      • “license_file_contents” : (string) Contents of the license file encapsulated as a string (file contents should already be base64-encoded can just just be read/passed through as text)

Request Example Arguments

ARGUMENTS ONLY: See the basics of API requests for additional formatting information.

{
  "license_file_contents" : "contents_of_the_license_file_on_client_system",
}

Reply Example

  • Example Reply Arguments (success):
{
  "result" : "success"
}
  • Example Reply Arguments (failure): NOTE: This type of failure means that the license/signature files were detected to be invalid and unable to be used (not the same kind of failure as an invalid API submission or unauthorized access).
{
  "result" : "failure"
}

Events

This API call will generate a license/check event.

If the license expires while TrueCommand is still running, this will generate another license/check event.

Log Summary

This API call does not generate a detailed log summary item

See Also