Skip to main content

Import Workflow

Import a workflow archive file using either a file located on the server or passed as the request body.

POST https://instance.securid.com/aveksa/command.submit?cmd=importWorkflow

Request

Parameters

about
filenameThe filename in the import directory on the G&L server. The import directory is specified on the web services configuration page. Alternatively, the data can be sent as part of the request body.

This option is not recommended and file should be passed using the POST body
overwritetrue, false Indicates existing objects should be overwritten. (Default) false
formatproperties - (Default) key=value. most useful when requesting a single object. If multiple objects are returned, values is a csv. ie key=value1,value2,value3 where value1 is the value for the first object, value2 is the value for the 2nd object, etc.

json - Useful format for parsing into javascript or other languages. See www.json.org for details.

Headers

Bearer token
Acceptapplication/json
Content-Typeapplication/json

Body

Workflow zip archive

Response

Parameters

typeExecuted command name
statussuccess, failure
messageOptional message to return along with the status

Examples

Request

curl -X GET "https://instance.securid.com/aveksa/command.submit" \
-d "cmd=importWorkflow" \
-d "format=json" \
-d "overwrite=true" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json"
--data '@/C:/Data/Workflow-04-26-2024.zip'

Response

{
"data": {
"type": "importWorkflow",
"status": "success",
"message": "Import started Fri Apr 26 18:19:37 UTC 2024...... <TRUNCATED>"
}
}
Feedback