GetStats

Returns information about the numbers of questions and question equivalence classes in the system in each state.

The possible question state values are: incoming, answerable, needs_answer, answered, or rejected. HPE Answer Server automatically assigns the incoming state to new questions, and updates the state to answered when you add the question to a question equivalence class. You can also manually define the question states by using the ManageResources action. For more information, refer to the HPE Answer Server Administration Guide.

HPE Answer Server assigns the question equivalence class a state according to whether it has a question equivalence rule. Question equivalence classes without a rule have the state incoming. Classes with a rule have the state published.

Example

action=GetStats&SystemName=MyAnswerBank

This action returns information about the questions in the MyAnswerBank system.

Parameters

Parameter Description Required
SystemName The name of the system that you want to retrieve statistics from. Yes

This action accepts the following standard ACI action parameters.

Parameter Description
ActionID A string to use to identify an ACI action.
EncryptResponse Encrypt the output.
FileName The file to write output to.
ForceTemplateRefresh Forces the server to load the template from disk.
Output Writes output to a file.
ResponseFormat The format of the action output.
Template The template to use for the action output.
TemplateParamCSVs A list of variables to use for the specified template.

Response

You can retrieve the full response XSD by sending the GetResources action with Type set to XSD.

NOTE:

If there are no questions or question equivalence classes in a particular state, the action returns a stat tag for the status, with count zero.


_HP_HTML5_bannerTitle.htm