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": "a4277bed-27ba-4cd3-a644-f3a046b0cf2e", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "99fdd74d-551b-4554-bc93-b400a5a342af", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "13c0423d-3bfe-44e0-8779-0dd22e03f0e4", "CreateDate": "2025-04-01T09:35:55.049932-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-01T09:35:55.049932-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "62a9e982-2fe3-42fa-b56b-e98040135cd6", "CreateDate": "2025-04-01T09:35:55.049932-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-01T09:35:55.049932-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" }