Execute External Action
Execute an external action to get a value (for the UI)
The projectId of the project chosen for the request.
sourceId
{
"uri": "string",
"dataSource": "string",
"parameters": [
{
"name": "string",
"value": "string",
"useResultFromRequestId": 0
}
],
"fieldType": {
"dataType": "string",
"referenceType": "string",
"fields": [
"ComplexTypeField Object"
],
"isMultiple": false
},
"requestId": 0,
"contextParameters": {
"contextParameters": "string"
},
"externalSourceProviderType": "string"
}
uri
dataSource
parameters
fieldType
requestId
contextParameters
externalSourceProviderType
'Success' with the result from the external action
"FormExternalDataResponse Object"
data
error
requestId
'Bad Request' if request body is not in specified format
"FormExternalDataResponse Object"
data
error
requestId
'Forbidden' due to insufficient access rights for form viewing or the form execution has not been created. To resolve this, ensure that the /renderer/model API is called first to load the necessary form containing the required external action.
"FormExternalDataResponse Object"
data
error
requestId
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/form-service/api/forms/renderer/external-value