PUT Reports ID Parameters

The PUT /Reports/{id}/Parameters operation updates the parameters for the built-in report with the specified report ID. Only some fields can be updated. On success, the operation returns HTTP 200 OK with  the details of the report parameters.

Important:  The v1 report endpoints use the legacy reporting system and have been deprecated. They are retained for backward compatibility but require the legacy reports to be installed (see the Logi component in Install Keyfactor Command on a Windows Server Under IIS). New development should use the v2 endpoints, which use the current reporting system.
Tip:  The following permissions (see Security Roles and Claims) are required to use this feature:

/reports/modify/

Table 717: PUT Reports {id} Parameters Input Parameters

Name In Description
id Path

Required. The Keyfactor Command reference ID of the built-in report the parameter is associated with.

Use the GET Reports operation to retrieve a list of your built-in reports to determine the report ID to use.

Id Body

Required. The Keyfactor Command reference ID of the report parameter.

Use the GET Reports ID operation to retrieve the details for the desired report to determine the parameter ID to use.

DisplayName Body

A string containing the display name for the parameter (for example, Evaluation Date (UTC)).

Note:  The DisplayName cannot be updated if the ParameterType is Templates.
Description Body A string containing the description for the parameter.
DefaultValue Body A string containing the default value for the parameter.
Tip:  Default values that are integers are also stored as strings in this parameter.

Table 718: PUT Reports {id} Parameters Response Data

Name

Description

Id

An integer indicating the Keyfactor Command reference ID of the report parameter.

Parameter Name

A string containing the short reference name for the report parameter (for example, EvalDate).
Parameter Type

A string containing the type of the parameter. Possible values include:

  • Bool
  • CertAuth (certificate authorities)
  • Int
  • Metadata
  • OrchestratorPool
  • RelativeDate
  • SingleCA
  • SingleMetadata
  • SSHKeyType
  • Templates
  • TimePeriod
Display Name A string containing the display name for the parameter (for example, Evaluation Date (UTC)).
Description A string containing the description for the parameter.
Default Value A string containing the default value for the parameter.
Tip:  Default values that are integers are also stored as strings in this parameter.
Display Order An integer indicating the order in which the parameters should be displayed on the scheduling page in Keyfactor Command, beginning with 0.
Parameter Visibility A string indicating whether the parameter should be displayed in the Keyfactor Command Management Portal. The default is Visible. The alternative setting is Hidden.