DELETE StateTypes
Deletes the given state type, including all states of that type.
Request Information
URI Parameters
None.
Body Parameters
State type to delete
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": "89e67981-c10c-4f46-a821-f3e3d3dfec55",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "bd3e57cd-be63-4aba-8267-fbc33b6f55d5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1ee791aa-629b-4f3a-99a3-60403d104eb4",
"CreateDate": "2025-12-14T08:03:13.019528-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T08:03:13.019528-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "f1892c55-084e-4dcb-a27d-ccc0301680c9",
"CreateDate": "2025-12-14T08:03:13.019528-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-14T08:03:13.019528-08:00",
"LastModifiedUser": "sample string 6"
}
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Object |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {},
"Total": 1,
"Message": "sample string 2"
}