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": "47cdfbc4-5ed3-4720-967d-8a68524525f9",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a8b6aaf4-c3fe-418f-a164-e57a52f3d319",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "07370283-e37e-4dee-8e97-f55f88289f49",
"CreateDate": "2026-08-04T17:25:09.7626916-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:25:09.7626916-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "83a52641-3a1a-49f3-8093-5a5f930548a2",
"CreateDate": "2026-08-04T17:25:09.7626916-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:25:09.7626916-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": "61a60fb5-b358-4a79-bc36-bb9dea7b8312",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "e2f39cdb-9a73-40ff-8a7b-db40bb00ffcc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "93ed16cf-3edd-49e5-b362-b4cc78e219c4",
"CreateDate": "2026-08-04T17:25:09.7626916-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:25:09.7626916-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "33a0a05a-9510-4c02-a17e-86444c451a8b",
"CreateDate": "2026-08-04T17:25:09.7626916-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:25:09.7626916-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}