---
schema_version: "1"
id: 846bba38094512cf5069193b2abf31a18a8a2ba002ad071dde59dc55d9d9b212
title: executeCallout(requestId, payload, devName)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/apex_commonserviceexcellence_IntegrationHandler_executeCallout.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/apex_commonserviceexcellence_IntegrationHandler_executeCallout.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e180a6fe60c33f9a25825b72f9ca6f85f1d4921f84f8c146d907687569f713d9
description: "Calls the provider class defiled in the Integration Definition record referenced by the devName parameter. The Industries: SendApex Async Request invocable action calls this method."
---
# executeCallout(requestId, payload, devName)

Calls the provider class defiled in the Integration Definition record referenced by the devName parameter. The Industries: SendApex Async Request invocable action calls this method.

## Signature

global static IntegrationCalloutResponse executeCallout(String requestId, String payload, String devName)

## Parameters

requestId

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

Represents a unique ID string that identifies the record containing the input data to the API call.

payload

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

Represents any string that needs to be passed directly to the provider.

devName

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

Represents the Developer Name of the Integration Definition record.

## Return Value

Returns the IntegrationCalloutResponse object, which contains the following properties:

- Boolean isSuccess — Indicates if the API call was successful.
- Map<String, Object> returnValue — Response from the API call after the callback method has processed the response.
- String error — Contains the error message in case of an error.