Execute a workflow with organization details
Execute a workflow for the supplied organization details. If no matching organization is found for the provided details, a new organization will be created. The request body includes entityID, organizationToken and organization. Only one of these should be provided per request. Providing more than one will result in an error. Additionally you can also specify a serviceName to execute a workflow for a specific service profile of the organization.
Path parameters
workflowName
Headers
api_key
X-Frankie-CustomerID
Your Customer ID provided by FrankieOne
X-Frankie-CustomerChildID
Your Customer Child ID provided by FrankieOne
X-Frankie-Channel
Open string that can be used to define the “channel” the request comes in from. It can potentially be used in routing and risk calculations upon request. Default values that can be used are: api portal smartui Any alphanumeric string is supported though. Anything over 64 characters will be truncated.
X-Frankie-Background
If this header parameter is supplied and set to 1, then the request will not wait for the process to finish,
and will return a 202 if there are no obvious errors in the input. The request will then run in the background
and send a notification back to the customer. See our callback API for details on this.
Allowed values:
X-Frankie-Username
Username provided by API caller
Request
This endpoint expects an object.
entityId
organizationToken
This is the unique Frankie token that contains all the information required from lookup that are needed in succeeding steps
organization
Defines the fields under organization object on which workflow is executed. The created/updated organization will then be updated with the details provided.
serviceName
Name of the service profile of the organization against which the workflow is to be executed. If no value is passed, default configured service name will be used.
comment
Response
Execution request completed
workflowResult
serviceProfile
organization
Organization details at the current time. This could be different from the original organization details at the time of workflow execution.
requestId
The unique request identifier for the API call made.