POST StateTypes
Creates a new state type.
Request Information
URI Parameters
None.
Body Parameters
State type to create. StateTypeId should not be filled in.
StateType| Name | Description | Type | Additional information |
|---|---|---|---|
| StateTypeId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| IsOperational | boolean |
None. |
|
| AssetType | AssetType |
None. |
|
| SourceSystemId | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| CreateUser | string |
None. |
|
| LastModifiedDate | date |
None. |
|
| LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StateTypeId": "f2cd568c-9d09-4f16-aa71-afc65bd1c854",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "e106f233-5f66-431c-b82f-4f715ace3482",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c8aaa5f3-f92b-42cc-a267-d4dbf7107656",
"CreateDate": "2026-03-13T07:52:45.8928294-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-13T07:52:45.8928294-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "a34f225f-b47b-441d-a351-87cf0deba162",
"CreateDate": "2026-03-13T07:52:45.8928294-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T07:52:45.8928294-07:00",
"LastModifiedUser": "sample string 6"
}
Response Information
Resource Description
On success, the created state type.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | StateType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"StateTypeId": "aeafc1ac-b44c-434c-9a4b-db68c6cefde0",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "afc99901-1571-4f0e-a601-0b8f71ebd40b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d03f30a2-5688-4d9e-88e5-28761204b909",
"CreateDate": "2026-03-13T07:52:45.8928294-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-13T07:52:45.8928294-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "18e5f07e-a3e2-47a2-9369-836742441bb5",
"CreateDate": "2026-03-13T07:52:45.8928294-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T07:52:45.8928294-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}