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": "393bc77d-318f-48be-b99e-febbd58c701a", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "e8145bb8-c263-469f-aa54-ec35d058c247", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "eeb35fe4-d60d-46b3-a63e-26d9b357d9e6", "CreateDate": "2024-04-28T04:29:53.5294511-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T04:29:53.5294511-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "8a05afa1-17f3-4fe7-8bc5-fb9b5f0b43d2", "CreateDate": "2024-04-28T04:29:53.5294511-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T04:29:53.5294511-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" }