PUT api/editortypes/{id}
Updates an editor type.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the editor type to update. |
globally unique identifier |
Required |
Body Parameters
The editor type model to update with.
EditorTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 250 |
|
| CreationDate | date |
Required |
|
| DataType | TemplateVariableDtoDataType |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "10a9afae-2183-444f-9e93-74cc54acfa3d",
"Name": "sample string 2",
"CreationDate": "2025-12-11T17:30:42.6408321Z",
"DataType": 0
}
application/xml, text/xml
Sample:
<EditorTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Template.Models"> <CreationDate>2025-12-11T17:30:42.6408321+00:00</CreationDate> <DataType>Bool</DataType> <Id>10a9afae-2183-444f-9e93-74cc54acfa3d</Id> <Name>sample string 2</Name> </EditorTypeDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.