Type
The type of resource to return.
NOTE: Depending on the value of type, you might also need to set SystemName to a system of the appropriate type.
This parameter accepts the following values:
-
question. Returns questions that are stored in the answer bank system. In this case, you must set SystemName to the name of an answer bank system.
-
question_equivalence_class. Returns question equivalence classes that are stored in the answer bank system. A question equivalence class is a set of equivalent questions, and it also includes a reference question and an answer. In this case, you must set SystemName to the name of an answer bank system.
-
schema. Returns the JSON schemas for data that you must send to Answer Server in various actions and answer systems.
-
XSD. Returns response XML Schema Definitions (XSDs) for Answer Server actions, including Ask, Converse, GetJobStatus, GetResources, GetStats, GetStatus, and ManageResources.
-
rule_suggestion. Automatically generates and returns an answer bank question equivalence rule, based on the questions that you specify in IDs. In this case, you must set SystemName to the name of an answer bank system. You can also optionally specify the
rule_suggestion_text
property in the Filter parameter, to provide an array of additional questions to include in the rule suggestion. -
conversation_session. Returns the IDs of active conversation sessions in a conversation system. In this case, you must set SystemName to the name of a conversation system.
-
transcript. Returns the transcript of the conversation session that you specify in IDs. You can specify only one ID. In this case, you must set SystemName to the name of a conversation system.
- context. Returns the IDs of active question contexts. In this case, you must not set SystemName.
By default, Answer Server returns all resources of the specified type. You can use this action to find the IDs of particular resources to use in other actions (such as ManageResources). You can also use the IDs parameter to return specific resources.
Actions: | GetResources
|
Type: | String |
Default: | all |
Example: | Type=schema
|
See Also: | IDs
SystemName |