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": "9edee1ca-487d-48b9-ad39-c395e56b982e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3142d649-bdf2-43bd-b527-b5947a51bc9f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "20545ca7-8a74-4aa9-aaa9-9424d0af713d",
"CreateDate": "2026-06-22T01:37:19.3967586-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:37:19.3967586-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "bb775326-f607-4ae5-8cb3-ea31b5731580",
"CreateDate": "2026-06-22T01:37:19.3967586-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:37:19.3967586-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": "241ed65d-34e5-4dcb-96a2-e23384168d17",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "e0d65fe0-9fd9-4325-8061-2fbd0bfd233c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7da2e9c5-4fde-4f4a-aa0c-120913c446e7",
"CreateDate": "2026-06-22T01:37:19.3967586-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:37:19.3967586-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "8bc6f213-ecbd-4915-85b9-c69fd37ea480",
"CreateDate": "2026-06-22T01:37:19.3967586-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:37:19.3967586-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}