POST api/dataitemstates
Creates a DataItemState entity and returns the new id.
Request Information
URI Parameters
None.
Body Parameters
The data item state model to create with.
DataItemStatusDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 80 |
|
| Stage | DataItemStatusStageDto |
None. |
|
| CreationDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "437937ea-a14f-4aba-b486-bebf928b58a3",
"Name": "sample string 2",
"Stage": 0,
"CreationDate": "2026-01-09T14:30:32.3542501+00:00"
}
application/xml, text/xml
Sample:
<DataItemStatusDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.DataManagement.Models"> <CreationDate>2026-01-09T14:30:32.3542501+00:00</CreationDate> <Id>437937ea-a14f-4aba-b486-bebf928b58a3</Id> <Name>sample string 2</Name> <Stage>New</Stage> </DataItemStatusDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.