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": "ccc7985f-2f63-47d6-9f7b-c97922894f41",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "6cd6927a-5cad-43b3-a39f-c74cf2b292c7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a148632c-f60d-4b5c-a0a9-2a52f835b2be",
"CreateDate": "2026-02-02T01:54:51.6740698-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T01:54:51.6740698-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "253e4389-d552-4bad-a676-3acf2b958e5d",
"CreateDate": "2026-02-02T01:54:51.6740698-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T01:54:51.6740698-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"
}