PUT api/Steps/{id}
Updates a step.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the step to update. |
globally unique identifier |
Required |
Body Parameters
The step model to update with.
StepDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 250 |
|
| Description | string |
None. |
|
| CreationDate | date |
Required |
|
| ProductId | globally unique identifier |
Required |
|
| SortIndex | integer |
None. |
|
| Conditionals | Collection of ConditionalDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "b8d697f8-a24b-4e3a-8724-2a5d4826e955",
"Name": "sample string 2",
"Description": "sample string 3",
"CreationDate": "2026-01-11T17:47:19.156249Z",
"ProductId": "b16dceba-7a46-4434-9922-9143b45c8a65",
"SortIndex": 1,
"Conditionals": [
{
"Id": "7d0956ec-a258-4f04-b690-4bcbfe37a22d",
"SourceVariableId": "5f307715-2ea2-40e2-a73e-4b46771d89f5",
"Operator": 0,
"Value": "sample string 3",
"StepId": "aa283980-94ea-447b-90f6-ee8863ccfd77",
"VariableId": "0bd357d0-7a8d-4579-9df7-7f2ddb7ee3f2",
"OptionId": "aac5bff0-bc7d-47ef-a650-5b62af6c3ee2"
},
{
"Id": "7d0956ec-a258-4f04-b690-4bcbfe37a22d",
"SourceVariableId": "5f307715-2ea2-40e2-a73e-4b46771d89f5",
"Operator": 0,
"Value": "sample string 3",
"StepId": "aa283980-94ea-447b-90f6-ee8863ccfd77",
"VariableId": "0bd357d0-7a8d-4579-9df7-7f2ddb7ee3f2",
"OptionId": "aac5bff0-bc7d-47ef-a650-5b62af6c3ee2"
}
]
}
application/xml, text/xml
Sample:
<StepDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Template.Models">
<Conditionals>
<ConditionalDto>
<Id>7d0956ec-a258-4f04-b690-4bcbfe37a22d</Id>
<Operator>Equals</Operator>
<OptionId>aac5bff0-bc7d-47ef-a650-5b62af6c3ee2</OptionId>
<SourceVariableId>5f307715-2ea2-40e2-a73e-4b46771d89f5</SourceVariableId>
<StepId>aa283980-94ea-447b-90f6-ee8863ccfd77</StepId>
<Value>sample string 3</Value>
<VariableId>0bd357d0-7a8d-4579-9df7-7f2ddb7ee3f2</VariableId>
</ConditionalDto>
<ConditionalDto>
<Id>7d0956ec-a258-4f04-b690-4bcbfe37a22d</Id>
<Operator>Equals</Operator>
<OptionId>aac5bff0-bc7d-47ef-a650-5b62af6c3ee2</OptionId>
<SourceVariableId>5f307715-2ea2-40e2-a73e-4b46771d89f5</SourceVariableId>
<StepId>aa283980-94ea-447b-90f6-ee8863ccfd77</StepId>
<Value>sample string 3</Value>
<VariableId>0bd357d0-7a8d-4579-9df7-7f2ddb7ee3f2</VariableId>
</ConditionalDto>
</Conditionals>
<CreationDate>2026-01-11T17:47:19.156249+00:00</CreationDate>
<Description>sample string 3</Description>
<Id>b8d697f8-a24b-4e3a-8724-2a5d4826e955</Id>
<Name>sample string 2</Name>
<ProductId>b16dceba-7a46-4434-9922-9143b45c8a65</ProductId>
<SortIndex>1</SortIndex>
</StepDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.