POST api/workflowdefinitions/import

Imports a workflow definition.

Request Information

URI Parameters

None.

Body Parameters

The model to import a workflow definition with.

WorkflowDefinitionImportDto
NameDescriptionTypeAdditional information
GemWorkflowDefinitionBytes

Collection of byte

None.

TenantId

globally unique identifier

None.

SchemaId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "GemWorkflowDefinitionBytes": "QEA=",
  "TenantId": "b50b4830-ac0a-4ed4-9498-3565fe311ccf",
  "SchemaId": "1073a03d-1c66-4ce8-ba0a-f991c6d4243e"
}

application/xml, text/xml

Sample:
<WorkflowDefinitionImportDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Template.Models">
  <GemWorkflowDefinitionBytes>QEA=</GemWorkflowDefinitionBytes>
  <SchemaId>1073a03d-1c66-4ce8-ba0a-f991c6d4243e</SchemaId>
  <TenantId>b50b4830-ac0a-4ed4-9498-3565fe311ccf</TenantId>
</WorkflowDefinitionImportDto>

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 'WorkflowDefinitionImportDto'.

Response Information

Resource Description

None.