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": "f7c573bb-b37e-407e-bf38-913ee3f7ed70", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "22c64145-f27e-41c4-a606-940b57d08204", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a9a75caf-259c-4a52-9db8-36f1e52ff7d3", "CreateDate": "2024-11-22T21:32:22.4596721-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:32:22.4596721-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "701b397b-e1d7-4fc7-910e-8987770c47eb", "CreateDate": "2024-11-22T21:32:22.4596721-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:32:22.4596721-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" }