call(action, args)

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

Signature

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

Parameters

action
Type: String
Action to call. Valid values are:
  • getProductListV60— Retrieves a list of available products.
  • getProductDetailsV60— Accepts productId parameter and retrieves the product details.
args
Type: Map<String, Object>
First three keys must be input, output, and options. The required keys under input depend on the method the action invokes. All actions require input, output, and options arguments, but these can be empty if the action doesn’t use them.
  • getProductDetailsV60
    • productId— The productId argument of the action that’s called.

Return Value

Type: Map<String, Object>

Returns values of the corresponding action as described in the Parameters section above.

Usage

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.