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": "e4eebcc7-1e80-412d-a149-408fdd62ded9",
"CreationDate": "2025-12-11T17:27:23.3019173Z",
"DeletedDate": "2025-12-11T17:27:23.3019173Z",
"Description": "sample string 3",
"Name": "sample string 4",
"PublishDate": "2025-12-11T17:27:23.3019173Z",
"TenantId": "064b2136-d509-4298-841e-17b69418703d",
"WorkflowDefinitionCode": "54698c4c-cb01-4164-ae62-31deb0c60594",
"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": "702bc1a0-f470-45c4-b438-7d30d19a406e",
"Name": "sample string 2",
"CreationDate": "2025-12-11T17:27:23.3019173Z"
},
{
"Id": "702bc1a0-f470-45c4-b438-7d30d19a406e",
"Name": "sample string 2",
"CreationDate": "2025-12-11T17:27:23.3019173Z"
}
],
"SchemaId": "0fe3da4e-4837-4d8e-a328-ffcd174b3e22"
}
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>2025-12-11T17:27:23.3019173+00:00</CreationDate>
<DeletedDate>2025-12-11T17:27:23.3019173+00:00</DeletedDate>
<Description>sample string 3</Description>
<Fonts>
<FontDto>
<CreationDate>2025-12-11T17:27:23.3019173+00:00</CreationDate>
<Id>702bc1a0-f470-45c4-b438-7d30d19a406e</Id>
<Name>sample string 2</Name>
</FontDto>
<FontDto>
<CreationDate>2025-12-11T17:27:23.3019173+00:00</CreationDate>
<Id>702bc1a0-f470-45c4-b438-7d30d19a406e</Id>
<Name>sample string 2</Name>
</FontDto>
</Fonts>
<Id>e4eebcc7-1e80-412d-a149-408fdd62ded9</Id>
<InputModuleName>sample string 10</InputModuleName>
<Name>sample string 4</Name>
<OutputModuleName>sample string 11</OutputModuleName>
<PublishDate>2025-12-11T17:27:23.3019173+00:00</PublishDate>
<SchemaId>0fe3da4e-4837-4d8e-a328-ffcd174b3e22</SchemaId>
<TenantId>064b2136-d509-4298-841e-17b69418703d</TenantId>
<Version>sample string 7</Version>
<WfdFileData>QEA=</WfdFileData>
<WfdPath>sample string 8</WfdPath>
<WorkflowDefinitionCode>54698c4c-cb01-4164-ae62-31deb0c60594</WorkflowDefinitionCode>
<XsdFileData>QEA=</XsdFileData>
<XsdPath>sample string 9</XsdPath>
</WorkflowDefinitionDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.