---
schema_version: "1"
id: 975c63cc841ab0613ee2d5c8a3bad13e6dea0a2abd79afed213a2dc11569c821
title: call(action, args)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/apex_fschousehold_FSCHouseholdService_call.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/apex_fschousehold_FSCHouseholdService_call.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1f23e5d3cd7a28c88d4a8ed496e8c436db35398e64ddb959cb1735753ab2a53e
description: This method calls one of the available FSCHouseholdService actions and passes arguments to that action.
---
# 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](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

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](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm), 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.