DELETE StateTypes
Deletes the given state type, including all states of that type.
Request Information
URI Parameters
None.
Body Parameters
State type to delete
StateTypeName | 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": "e01e749b-bfd9-4c68-8642-3951ed8d44cb", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "a17818ae-ed0e-4727-b588-6bf05fc2bbd2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0f9e4448-527f-4f16-88e6-bd7899715513", "CreateDate": "2025-09-13T18:32:36.6402136-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:32:36.6402136-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "aa21c20d-6c99-468f-b187-a76f2d04aaae", "CreateDate": "2025-09-13T18:32:36.6402136-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:32:36.6402136-07: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" }