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": "9a78781a-daae-4d1d-a513-7602712477ad", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "e9407f1c-34c6-47fe-b7ae-51fb5110a2f2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4e234fb6-33de-4054-82c4-aaac61b38ca8", "CreateDate": "2025-04-03T18:32:50.7443098-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-03T18:32:50.7443098-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "b7242261-6be5-4f57-9b91-bd819d99f810", "CreateDate": "2025-04-03T18:32:50.7443098-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T18:32:50.7443098-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" }