call(action, args)

This method calls one of the available RetrievalSummaryDataRefresh actions and passes arguments to that action.

public Map<String,Object> call(String action, Map<String,Object> args)

action

Type: String

The action to call. The value must be one of these action names:

  • refreshRetrievalSummaryData—Refreshes the data of the retrieval summary definition name and account ID.
  • fetchLastRefreshDetails—Fetches the last refresh date of the retrieval summary definition name and account ID.
args

Type: Map<String, Object>

The first three keys must be input, output, and options. The required keys under input depend on the method the action invokes. None of the actions require input, so for all actions, provide empty input, output, and options keys. Input and output are required. Input must have AccountId and RetrievalSummaryDefinitionDeveloperName. The output can be empty, but it can’t be null.

Type: Map<String, Object>

The return values of the corresponding action. See the parameter descriptions.

To use this method in an Integration Procedure, specify the class in the Remote Class property, the action in the Remote Method property, and the arguments in the Additional Input property.