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": "d11d257b-6ff5-4a75-98e3-ec48a8570fb8", "Asset": { "AssetId": "0c8c2548-ff21-4fdb-b3b7-1544a279dd6e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6326f92c-000f-4484-96fc-dd8c420552e9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "51f14372-b17f-4fac-a085-ecfc23f450f1", "CreateDate": "2025-07-19T00:53:32.1855025-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:53:32.1855025-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "504ce843-0922-488b-8d3b-b753973c61d4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-19T00:53:32.1855025-07:00", "MeasurementValueNeededDate": "2025-07-19T00:53:32.1855025-07:00", "SourceSystemId": "sample string 3", "CompanyId": "8cb7627a-a8fd-4056-b417-38ba69670bf8", "CreateDate": "2025-07-19T00:53:32.1855025-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T00:53:32.1855025-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "1d97ce6a-a146-4ae6-bcee-988568a5d958", "EffectiveDate": "2025-07-19T00:53:32.1855025-07:00", "StatusType": { "StatusTypeId": "d0f7263f-590e-4ca8-b98a-985e25a0399d", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "6326f92c-000f-4484-96fc-dd8c420552e9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "51f14372-b17f-4fac-a085-ecfc23f450f1", "CreateDate": "2025-07-19T00:53:32.1855025-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:53:32.1855025-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "4ced8d66-47c8-4f3b-9eef-78919c054956", "CreateDate": "2025-07-19T00:53:32.1855025-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-19T00:53:32.1855025-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ffd24982-b1d2-4dcf-9d49-b3ffb2f86c2e", "CreateDate": "2025-07-19T00:53:32.1855025-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T00:53:32.1855025-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "4ddd9b9f-8d8f-4c09-9ee1-78efc96a74f5", "EffectiveDate": "2025-07-19T00:53:32.1855025-07:00", "WellPurposeType": { "WellPurposeTypeId": "2d6d40d0-904c-4278-bbc6-c76cf1ea2cb9", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e2703d4a-1174-4526-aaa9-26b1c17daf9d", "CreateDate": "2025-07-19T00:53:32.1855025-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-19T00:53:32.1855025-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7bf88526-c39f-417a-a887-37886ca1eaf3", "CreateDate": "2025-07-19T00:53:32.1855025-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T00:53:32.1855025-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-19T00:53:32.1855025-07:00", "MeasurementValueNeededDate": "2025-07-19T00:53:32.1855025-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d1f8f72f-93aa-41e7-a89f-b0f633f218c7", "CreateDate": "2025-07-19T00:53:32.1855025-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:53:32.1855025-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-07-19T00:53:32.1855025-07:00", "StateType": { "StateTypeId": "e8ef1c48-9175-44d9-9197-a2c6ef951138", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "6326f92c-000f-4484-96fc-dd8c420552e9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "51f14372-b17f-4fac-a085-ecfc23f450f1", "CreateDate": "2025-07-19T00:53:32.1855025-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:53:32.1855025-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "c733623a-b0d1-4a7a-8ca0-89101d02ba5d", "CreateDate": "2025-07-19T00:53:32.1855025-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T00:53:32.1855025-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "f942c2b6-7287-4a59-9243-64dbb992d41c", "CreateDate": "2025-07-19T00:53:32.1855025-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T00:53:32.1855025-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" }