Skip to content

FLOW_CallApi.DTO_Request ​

Class

apex
global inherited sharing class FLOW_CallApi.DTO_Request

Data Transfer Object representing the web service call request.


Fields ​

FieldDescription
global String apiNameThe full class name of the API handler to invoke.
global String extractPathA JSONPath expression to extract a specific element from the response body.
global String idempotencyKeyExplicit idempotency key for duplicate detection.
global String inputDelimiterThe delimiter used to split input parameters, defaults to a comma.
global String inputsA comma-delimited list of parameters in the format paramName=paramValue.
global String recordIdThe ID of the record triggering the callout.

apiName ​

apex
@InvocableVariable(required=true description='The full class name of the API handler' label='API Name' placeholderText='API_PostExample') global String apiName

Type: String

The full class name of the API handler to invoke.

extractPath ​

apex
@InvocableVariable(required=false description='Element to extract from the JSON response, using JsonPath Notation' label='Extract Path (JSONPath)') global String extractPath

Type: String

A JSONPath expression to extract a specific element from the response body.

idempotencyKey ​

apex
@InvocableVariable(required=false description='Explicit idempotency key for duplicate detection. If blank, auto-generated when enabled.' label='Idempotency Key') global String idempotencyKey

Type: String

Explicit idempotency key for duplicate detection. If blank, auto-generated when enabled.

inputDelimiter ​

apex
@InvocableVariable(required=false description='The delimiter to use when splitting parameters, defaults to a comma' label='Input Delimiter') global String inputDelimiter

Type: String

The delimiter used to split input parameters, defaults to a comma.

inputs ​

apex
@InvocableVariable(required=false description='A list of parameters in the format paramName=paramValue,paramName2=paramValue2' label='Inputs' placeholderText='ubiNum=1234') global String inputs

Type: String

A comma-delimited list of parameters in the format paramName=paramValue.

recordId ​

apex
@InvocableVariable(required=false description='The ID of the object triggering the callout' label='Record Id') global String recordId

Type: String

The ID of the record triggering the callout.