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": "100014fe-d4ef-464c-add7-ed0b4f114e51", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "49891ece-875f-4752-9e8a-78d6b472cba3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f954a22d-7cad-4638-b49d-e9d0afa6f1b9", "CreateDate": "2025-06-02T15:07:50.8314511-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:07:50.8314511-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "665de558-145f-4404-b147-8de85419e7ed", "CreateDate": "2025-06-02T15:07:50.8314511-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:07:50.8314511-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" }