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": "25ca6abd-5f82-4a1f-b5c2-a494a522f032", "Asset": { "AssetId": "5442d43e-d613-44b8-a9d8-53413b1523eb", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1acb2cf3-b521-41c7-b0d4-4750837922e8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1c4824c7-eca1-4327-a37c-1f09af9e4816", "CreateDate": "2025-08-29T17:19:23.41214-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:23.41214-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "eac673c2-9361-4729-84b5-c91e25d8dc36", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:19:23.41214-07:00", "MeasurementValueNeededDate": "2025-08-29T17:19:23.41214-07:00", "SourceSystemId": "sample string 3", "CompanyId": "13c1f2dc-c8b8-443f-b92e-69ddc1c369cd", "CreateDate": "2025-08-29T17:19:23.41214-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:19:23.41214-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "35798761-3139-4ec1-8402-c491825b781c", "EffectiveDate": "2025-08-29T17:19:23.41214-07:00", "StatusType": { "StatusTypeId": "34227f17-354f-4524-aac4-42dda9cac4e6", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1acb2cf3-b521-41c7-b0d4-4750837922e8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1c4824c7-eca1-4327-a37c-1f09af9e4816", "CreateDate": "2025-08-29T17:19:23.41214-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:23.41214-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "98bb1da4-72f5-4782-bc71-361657c8b7e9", "CreateDate": "2025-08-29T17:19:23.41214-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:19:23.41214-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f5bf1470-8daa-45b5-99ef-4ee0a4be535b", "CreateDate": "2025-08-29T17:19:23.41214-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:23.41214-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "dc0a76cf-51da-401a-aece-88ea90e96139", "EffectiveDate": "2025-08-29T17:19:23.41214-07:00", "WellPurposeType": { "WellPurposeTypeId": "ec84ae36-4ecf-4777-8a66-ee72a04967fe", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "367f9062-5a0a-4e87-9616-452f5d2e51fe", "CreateDate": "2025-08-29T17:19:23.41214-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:19:23.41214-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "2f8030e4-8907-4437-9e31-29dcf8c377c6", "CreateDate": "2025-08-29T17:19:23.41214-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:23.41214-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T17:19:23.41214-07:00", "MeasurementValueNeededDate": "2025-08-29T17:19:23.41214-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a5a06f92-e290-435d-aa64-86caae3b4cab", "CreateDate": "2025-08-29T17:19:23.41214-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:23.41214-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2025-08-29T17:19:23.41214-07:00", "StateType": { "StateTypeId": "fdbf79a0-095d-4a9f-aef8-66522450947f", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1acb2cf3-b521-41c7-b0d4-4750837922e8", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1c4824c7-eca1-4327-a37c-1f09af9e4816", "CreateDate": "2025-08-29T17:19:23.41214-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:19:23.41214-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "7c221017-05ba-4477-ad61-b3494aba2dd0", "CreateDate": "2025-08-29T17:19:23.41214-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:19:23.41214-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "777439ec-d693-42b7-b314-eeb5edfff99f", "CreateDate": "2025-08-29T17:19:23.41214-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:19:23.41214-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" }