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": "93d4584c-e038-4efb-a417-c87836f3bd78",
  "SchemaId": "ac2522ad-3ec9-4e87-ab79-d50aea70e449"
}

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>ac2522ad-3ec9-4e87-ab79-d50aea70e449</SchemaId>
  <TenantId>93d4584c-e038-4efb-a417-c87836f3bd78</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.