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": "a2ded409-8a9c-421a-a09a-081bb927a155",
"Name": "sample string 2",
"Stage": 0,
"CreationDate": "2026-01-07T07:25:10.1520046+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-07T07:25:10.1520046+00:00</CreationDate> <Id>a2ded409-8a9c-421a-a09a-081bb927a155</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.