POST Workflow/Install
install a new workflow from an xml template
Request Information
URI Parameters
None.
Body Parameters
the install workflow request object
WorkflowInstallRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| XmlTemplate | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"XmlTemplate": "sample string 1"
}
text/html
Sample:
{"XmlTemplate":"sample string 1"}
application/xml, text/xml
Sample:
<WorkflowInstallRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Applus.EI.Workflow.Objects"> <XmlTemplate>sample string 1</XmlTemplate> </WorkflowInstallRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
the workflow id of the installed workflow
WorkflowInstallResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkflowId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkflowId": 1
}
text/html
Sample:
{"WorkflowId":1}
application/xml, text/xml
Sample:
<WorkflowInstallResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Applus.EI.Workflow.Objects"> <WorkflowId>1</WorkflowId> </WorkflowInstallResponse>