Import a Workflow Definition
Select
Customer Managed
This operation imports a workflow definition.
Use the workflow definition generated by the GET Workflow Definition API in the request body
Header Parameters
- Accept string required
- Content-Type string required
Possible values: [
application/xml
]
Responses
- 200
OK
- text/plain
- Workflow Definition
<Workflow_SetWorkflowResponse><workflow workflowId="88" workflowName="Test"/></Workflow_SetWorkflowResponse>
PUT /workflow
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Workflow' \
-H 'Content-Type: application/xml' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Workflow' \
-H 'Content-Type: application/xml' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Workflow' \
-H 'Content-Type: application/xml' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Workflow' \
-H 'Content-Type: application/xml' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Workflow' \
-H 'Content-Type: application/xml' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Workflow' \
-H 'Content-Type: application/xml' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/Workflow' \
-H 'Content-Type: application/xml' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''