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": "a8e8097e-c282-4bf2-8f35-aac6f4cc6692",
  "NewId": "5c35c610-387c-443f-80a3-521de2bd94ae"
}

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>a8e8097e-c282-4bf2-8f35-aac6f4cc6692</CurrentId>
  <NewId>5c35c610-387c-443f-80a3-521de2bd94ae</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.