DELETE States
Deletes the given state.
Request Information
URI Parameters
None.
Body Parameters
The state to delete.
StateName | Description | Type | Additional information |
---|---|---|---|
StateId | globally unique identifier |
None. |
|
Asset | Asset |
None. |
|
EffectiveDate | date |
None. |
|
StateType | StateType |
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:
{ "StateId": "06e90519-9c54-4c5d-b993-08ec8d86b285", "Asset": { "AssetId": "1c0a25dd-5a1c-4110-a508-68b86b62b5d7", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c8804db7-8d0b-431e-9ad7-b028a354c190", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0fc46386-3673-453b-8194-b3a46f7bb03d", "CreateDate": "2025-07-03T21:13:09.0294885-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-03T21:13:09.0294885-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "8aea230c-a295-44dc-9b8c-41883dd469ed", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-03T21:13:09.0294885-07:00", "MeasurementValueNeededDate": "2025-07-03T21:13:09.0294885-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ab3347e3-c0f9-4aa6-9219-39be28da0c05", "CreateDate": "2025-07-03T21:13:09.0294885-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-03T21:13:09.0294885-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "e57a84a7-a95a-4e60-8c75-b86420f38418", "EffectiveDate": "2025-07-03T21:13:09.0294885-07:00", "StatusType": { "StatusTypeId": "c9f9348b-723b-4411-aed9-8bd6551e22b0", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "c8804db7-8d0b-431e-9ad7-b028a354c190", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0fc46386-3673-453b-8194-b3a46f7bb03d", "CreateDate": "2025-07-03T21:13:09.0294885-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-03T21:13:09.0294885-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "1441b2fb-eb66-4f65-a590-dc5727963c52", "CreateDate": "2025-07-03T21:13:09.0294885-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-03T21:13:09.0294885-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1e241b5e-fc4b-4f78-b377-04ed6854fbc6", "CreateDate": "2025-07-03T21:13:09.0294885-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-03T21:13:09.0294885-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "0b72fe05-6037-4935-a88e-4e631408467c", "EffectiveDate": "2025-07-03T21:13:09.0294885-07:00", "WellPurposeType": { "WellPurposeTypeId": "84b3b5a6-4526-4709-83cf-2773b9910f52", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "75b047cc-ff93-4028-8b1b-58c4ed55d665", "CreateDate": "2025-07-03T21:13:09.0294885-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-03T21:13:09.0294885-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "17c52f90-1c04-4692-9249-a31be7dbdfff", "CreateDate": "2025-07-03T21:13:09.0294885-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-03T21:13:09.0294885-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-03T21:13:09.0294885-07:00", "MeasurementValueNeededDate": "2025-07-03T21:13:09.0294885-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "cc9f2347-aa09-4fb9-b24c-e1d1c129d159", "CreateDate": "2025-07-03T21:13:09.0294885-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-03T21:13:09.0294885-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-07-03T21:13:09.0294885-07:00", "StateType": { "StateTypeId": "60600651-b17a-4642-8e3f-0245c074c6cc", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "c8804db7-8d0b-431e-9ad7-b028a354c190", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0fc46386-3673-453b-8194-b3a46f7bb03d", "CreateDate": "2025-07-03T21:13:09.0294885-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-03T21:13:09.0294885-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "2a81001e-4316-4141-88b7-02e2576da147", "CreateDate": "2025-07-03T21:13:09.0294885-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-03T21:13:09.0294885-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "b7048527-939d-42da-a0d5-060f2a8dd90e", "CreateDate": "2025-07-03T21:13:09.0294885-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-03T21:13:09.0294885-07:00", "LastModifiedUser": "sample string 4" }
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" }