Report
Returns all facts about a particular entity.
This action applies only to Fact Bank systems with an ODBC backend.
You provide an entity, and Answer Server returns all facts in your Fact Bank systems where this entity is the entity, or a property or qualifier value. You can optionally specify a particular set of systems by setting SystemNames. You can also use other Ask action parameters to restrict the results.
Example
http://12.3.4.56:12000/action=Report&Entity=Cambridge
This action requests all facts where Cambridge is the entity, or where it appears as a property or qualifier value.
Required Parameters
The following action parameters are required.
Parameter | Description |
---|---|
Entity | The entity for which you want to retrieve facts. |
Optional Parameters
This action accepts the following optional parameters.
Parameter | Description |
---|---|
Context | A question context ID to use to limit the scope of the result. |
CustomizationData | A JSON object that specifies additional information to use in the query. |
FirstResult | The number of the first result to return. |
MaxResults | The maximum number of results to return. |
SystemNames | The systems and system groups that you want to request results from. |
Timeout | The maximum length of time to process the action for. |
TotalResults | Whether to return the total number of available results. |
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
.