Exports a workflow version into a JSON file. This file can be used to create a copy of this workflow version.
You must be assigned the Workflow View Access permission to run this operation.
OK
The input of version is invalid.
Workflow version is not found.
curl -i -X GET \ 'https://rest.test.zuora.com/workflows/{workflow_id}/export?version=string' \ -H 'Accept-Encoding: string' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Encoding: string' \ -H 'Zuora-Track-Id: string'
{- "linkages": [
- {
- "linkage_type": "Start",
- "source_task_id": null,
- "source_workflow_id": 286,
- "target_task_id": 849
}
], - "tasks": [
- {
- "action_type": "Callout",
- "assignment": [ ],
- "call_type": "SOAP",
- "concurrent_limit": 9999999,
- "css": {
- "left": "470px",
- "top": "160px"
}, - "error": null,
- "error_class": null,
- "error_details": null,
- "id": 849,
- "iterate_row_reference": null,
- "name": "Call Echo",
- "object": null,
- "object_batched_reference": null,
- "object_id": null,
- "original_task_id": null,
- "original_workflow_id": null,
- "parameters": {
- "authorization": {
- "type": "none"
}, - "body_type": "raw",
- "datas": [
- {
- "key": "",
- "value": ""
}
], - "headers": [
- {
- "key": "",
- "value": ""
}
], - "include_response_code": "true",
- "method": "GET",
- "raw_body": "",
- "retry_rules": {
- "current_retry_count": "0",
- "retry_count": "0",
- "retry_window": "30"
}, - "strict_variables": "true",
- "validate_response": "false",
- "validation": {
- "status_codes": [
- "",
- "200"
], - "zuora_call": "false"
}, - "validation_scheme": ""
}, - "priority": "Medium",
- "process_id": null,
- "status": null,
- "tags": [
- ""
], - "task_id": null
}
], - "workflow": {
- "call_type": null,
- "callout_trigger": true,
- "css": {
- "left": "30px",
- "top": "40px"
}, - "data": { },
- "delete_ttl": 60,
- "description": "",
- "finished_at": null,
- "id": 286,
- "interval": null,
- "name": "Call Echo",
- "notifications": { },
- "ondemand_trigger": true,
- "original_workflow_id": null,
- "parameters": { },
- "priority": "Medium",
- "scheduled_trigger": false,
- "started_at": null,
- "status": null,
- "sync_trigger": false,
- "task_summary": { },
- "timezone": null,
- "type": "Workflow::Setup",
- "version": "0.0.1"
}
}