POST api/workflowdefinitions/clone

Clones a workflow definition.

Request Information

URI Parameters

None.

Body Parameters

The model to clone a workflow definition with.

CloneWorkflowDefinitionDto
NameDescriptionTypeAdditional information
CurrentId

globally unique identifier

None.

NewId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "CurrentId": "f041b6bf-b54f-4836-8c3e-878f56b81980",
  "NewId": "0d2bc92b-d49f-4ad8-9f0e-193a7ef8604c"
}

application/xml, text/xml

Sample:
<CloneWorkflowDefinitionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Template.Models">
  <CurrentId>f041b6bf-b54f-4836-8c3e-878f56b81980</CurrentId>
  <NewId>0d2bc92b-d49f-4ad8-9f0e-193a7ef8604c</NewId>
</CloneWorkflowDefinitionDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CloneWorkflowDefinitionDto'.

Response Information

Resource Description

None.