Newer Version Available

This content describes an older version of this product. View Latest

call(action, args)

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

API Version

59.0

Signature

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

Parameters

action
Type: String
The action to call. The value must be one of the following action names:
  • getAllMembersOfAHousehold — Accepts the accountId of a Person Account corresponding to a member of a Household and returns the other Household members.
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. All actions require input, output, and options arguments, but these can be empty if the action doesn’t use them.
  • getAllMembersOfAHousehold
    • input — Wrap the following arguments inside the input argument.
      • accountId — Maps to the accountId argument of the action being called.

Return Value

Type: Map<String, Object>

The return values of the corresponding action:

  • getAllMembersOfAHousehold — Returns all members of the Household.

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.