Open topic with navigation

# ManageResources

Updates resources in an answer bank or conversation system.

For an answer bank system, you can use this action to add, modify, and delete questions and question equivalence classes. You can also use it to add and update the state of a question.

For a conversation system, you can use this action to add and delete conversation sessions.

This action requires a system name, and a JSON object that specifies the update to request. You can use the GetResources action to retrieve the JSON schemas that you need to use to make each kind of update.

You update the system by sending a POST request with the JSON update.

For more information, refer to the Answer Server Administration Guide.

NOTE:

You must use a POST request method.

## Example

    action=ManageResources&SystemName=MyAnswerBank
    Data={
       "operation": "add",
       "type":"question",
       "questions":[
          {"text":"Where do I sign up for the monthly newsletter?"}
       ]
    }

This action adds the question Where do I sign up for the monthly newsletter? to the `MyAnswerBank` system.

    action=ManageResources&SystemName=MyConversation
    Data={
       "operation": "add",
       "type":"conversation_session"
    }

This action adds a conversation session to the `MyConversation` system.

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
Data | A JSON object that describes the update that you want to make.
SystemName | The name of the system that you want to update.

## Optional Parameters

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`.

© 2016-2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm