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": "8173daca-d962-4334-8005-a4bec543a713", "Asset": { "AssetId": "66d2e44b-e8f0-4457-a706-38b83cd75e04", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "17e57b28-3f1f-4d26-8de8-51396c99b6b0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "074c8b25-2c93-41cd-92c5-40be833cf78a", "CreateDate": "2025-10-13T14:37:36.1718506-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T14:37:36.1718506-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "873d11c0-6146-4a93-9ba6-46cbf47d87e9", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-10-13T14:37:36.1718506-07:00", "MeasurementValueNeededDate": "2025-10-13T14:37:36.1718506-07:00", "SourceSystemId": "sample string 3", "CompanyId": "905eb0a5-010c-4bb8-a7b0-8b7fabbd6bea", "CreateDate": "2025-10-13T14:37:36.1718506-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T14:37:36.1718506-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "9771bf73-bda3-4b20-86cc-efc13c50d002", "EffectiveDate": "2025-10-13T14:37:36.1718506-07:00", "StatusType": { "StatusTypeId": "6be35bc0-68b9-49ed-a72f-1ce87d593a18", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "17e57b28-3f1f-4d26-8de8-51396c99b6b0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "074c8b25-2c93-41cd-92c5-40be833cf78a", "CreateDate": "2025-10-13T14:37:36.1718506-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T14:37:36.1718506-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "513b2e59-7522-4a22-a2b1-2e8627e4102d", "CreateDate": "2025-10-13T14:37:36.1718506-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T14:37:36.1718506-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "452ce72b-ac21-465c-bcda-91f098668aac", "CreateDate": "2025-10-13T14:37:36.1718506-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T14:37:36.1718506-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "25e3387d-c6c1-4777-b87b-ab9bf6b93932", "EffectiveDate": "2025-10-13T14:37:36.1718506-07:00", "WellPurposeType": { "WellPurposeTypeId": "f2734a58-106f-4700-8bc9-8af94e672b6a", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7cdbf6d7-05bb-4507-9cea-5e660b40986b", "CreateDate": "2025-10-13T14:37:36.1718506-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T14:37:36.1718506-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "76401a23-ef1f-4906-a62b-0185cd406a64", "CreateDate": "2025-10-13T14:37:36.1718506-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T14:37:36.1718506-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-10-13T14:37:36.1718506-07:00", "MeasurementValueNeededDate": "2025-10-13T14:37:36.1718506-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "81bd6f15-761d-4dcb-aa53-4f1eb0782d40", "CreateDate": "2025-10-13T14:37:36.1718506-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T14:37:36.1718506-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-10-13T14:37:36.1718506-07:00", "StateType": { "StateTypeId": "1593166c-74c7-4c64-a9c8-03fc571fdcdc", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "17e57b28-3f1f-4d26-8de8-51396c99b6b0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "074c8b25-2c93-41cd-92c5-40be833cf78a", "CreateDate": "2025-10-13T14:37:36.1718506-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T14:37:36.1718506-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d95cdfe4-f108-4972-acbc-bd254a08abbf", "CreateDate": "2025-10-13T14:37:36.1718506-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T14:37:36.1718506-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "cebb932e-d615-4094-a9a4-7829ecf1b9d9", "CreateDate": "2025-10-13T14:37:36.1718506-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T14:37:36.1718506-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" }