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": "a6d58bc2-c953-44fd-9a39-4b309aace6bf", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "82871954-37bb-4288-bd5f-c710cd743a05", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2b667a03-7beb-49de-9ee2-10de00e87097", "CreateDate": "2025-01-02T10:45:37.3442142-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T10:45:37.3442142-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "23842a10-e2a7-4bea-8acc-9775827a86b3", "CreateDate": "2025-01-02T10:45:37.3442142-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T10:45:37.3442142-08: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" }