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": "02ef3167-6698-4ae0-8da2-b5fe9ed3afbb", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "0e4e6429-316e-4c55-b2d3-327b14059bd6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fb4ecb30-bc57-47f0-be66-c2d0f71648eb", "CreateDate": "2025-05-09T15:56:02.1236494-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:56:02.1236494-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "8c6f4dbc-dfcb-4e4c-9c6e-60f2991de779", "CreateDate": "2025-05-09T15:56:02.1236494-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:56:02.1236494-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" }