Submit Endpoint
This endpoint is called to submit a task on a specific work item or asset. Submitting a task in a workflow opens up the next task, while submitting an asset edit saves this information until it is edited again. Submitting a newly created asset finalises the creation of that asset.
Using the Get flow data endpoint gives you access to all the variables you need to fill in the variables required. Click here to learn how to use the Get flow data endpoint.
Request:
POST https://api.idiana.io/api/v3/flow/submit/{work_id}?eventName={event_name}Data:
Headers:
accept: "application/json, text/plain, */*"
content-type: "application/json"
authorization: bearer {bearer}Example
Request:
curl -X 'POST' \
'https://api.idiana.io/api/v3/flow/submit/482d192f-0049-4975-9a51-b83a5d78d400?eventName=untitledstep/generated-4188d0e4-1239-4165-8021-eda5ece4d3e0/submituntitledstep/generated-4188d0e4-1239-4165-8021-eda5ece4d3e0' \
-H 'accept: "*/*"
-H 'content-type: "application/json"Data:
Response: