PUT api/WorkflowDefinitions/{id}
Updates a workflow definition.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the workflow definition to update. |
globally unique identifier |
Required |
Body Parameters
The workflow definition model to update with.
WorkflowDefinitionDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CreationDate | date |
None. |
|
| DeletedDate | date |
None. |
|
| Description | string |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 250 |
|
| PublishDate | date |
None. |
|
| TenantId | globally unique identifier |
None. |
|
| WorkflowDefinitionCode | globally unique identifier |
None. |
|
| Version | string |
String length: inclusive between 0 and 50 |
|
| WfdPath | string |
String length: inclusive between 0 and 500 |
|
| XsdPath | string |
String length: inclusive between 0 and 500 |
|
| InputModuleName | string |
String length: inclusive between 0 and 50 |
|
| OutputModuleName | string |
String length: inclusive between 0 and 50 |
|
| CommandParameters | string |
String length: inclusive between 0 and 500 |
|
| XsdFileData | Collection of byte |
None. |
|
| WfdFileData | Collection of byte |
None. |
|
| Fonts | Collection of FontDto |
None. |
|
| SchemaId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "a009f962-d540-49eb-9071-56fd98f84760",
"CreationDate": "2026-01-11T17:52:31.4273728Z",
"DeletedDate": "2026-01-11T17:52:31.4273728Z",
"Description": "sample string 3",
"Name": "sample string 4",
"PublishDate": "2026-01-11T17:52:31.4273728Z",
"TenantId": "86d76177-97e3-4dfd-8b6f-b83a56e9df2d",
"WorkflowDefinitionCode": "30f3ab11-e821-4d73-b00b-e6059d50f788",
"Version": "sample string 7",
"WfdPath": "sample string 8",
"XsdPath": "sample string 9",
"InputModuleName": "sample string 10",
"OutputModuleName": "sample string 11",
"CommandParameters": "sample string 12",
"XsdFileData": "QEA=",
"WfdFileData": "QEA=",
"Fonts": [
{
"Id": "da4e6ae2-6c4e-440c-8f78-eac5a61adc5a",
"Name": "sample string 2",
"CreationDate": "2026-01-11T17:52:31.4273728Z"
},
{
"Id": "da4e6ae2-6c4e-440c-8f78-eac5a61adc5a",
"Name": "sample string 2",
"CreationDate": "2026-01-11T17:52:31.4273728Z"
}
],
"SchemaId": "ad565600-72a4-4567-90ea-9cbf252fb346"
}
application/xml, text/xml
Sample:
<WorkflowDefinitionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Template.Models">
<CommandParameters>sample string 12</CommandParameters>
<CreationDate>2026-01-11T17:52:31.4273728+00:00</CreationDate>
<DeletedDate>2026-01-11T17:52:31.4273728+00:00</DeletedDate>
<Description>sample string 3</Description>
<Fonts>
<FontDto>
<CreationDate>2026-01-11T17:52:31.4273728+00:00</CreationDate>
<Id>da4e6ae2-6c4e-440c-8f78-eac5a61adc5a</Id>
<Name>sample string 2</Name>
</FontDto>
<FontDto>
<CreationDate>2026-01-11T17:52:31.4273728+00:00</CreationDate>
<Id>da4e6ae2-6c4e-440c-8f78-eac5a61adc5a</Id>
<Name>sample string 2</Name>
</FontDto>
</Fonts>
<Id>a009f962-d540-49eb-9071-56fd98f84760</Id>
<InputModuleName>sample string 10</InputModuleName>
<Name>sample string 4</Name>
<OutputModuleName>sample string 11</OutputModuleName>
<PublishDate>2026-01-11T17:52:31.4273728+00:00</PublishDate>
<SchemaId>ad565600-72a4-4567-90ea-9cbf252fb346</SchemaId>
<TenantId>86d76177-97e3-4dfd-8b6f-b83a56e9df2d</TenantId>
<Version>sample string 7</Version>
<WfdFileData>QEA=</WfdFileData>
<WfdPath>sample string 8</WfdPath>
<WorkflowDefinitionCode>30f3ab11-e821-4d73-b00b-e6059d50f788</WorkflowDefinitionCode>
<XsdFileData>QEA=</XsdFileData>
<XsdPath>sample string 9</XsdPath>
</WorkflowDefinitionDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.