DELETE States
Deletes the given state.
Request Information
URI Parameters
None.
Body Parameters
The state to delete.
State| Name | 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": "a87dae3f-f91d-492f-9624-65ffbd8c79c2",
"Asset": {
"AssetId": "713f68df-e46d-4640-a3ab-96998d1f3b08",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9497ad5c-1d0d-49f1-acb1-d95e7efe1c6d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9b00ca01-d07e-42a3-a593-7dfcb892c1c1",
"CreateDate": "2025-11-08T12:17:41.6178503-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-08T12:17:41.6178503-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "a748f821-68e9-4130-8f75-fc4c57579e76",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-08T12:17:41.6178503-08:00",
"MeasurementValueNeededDate": "2025-11-08T12:17:41.6178503-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "fd931e80-e709-42ff-90e3-adde430e655f",
"CreateDate": "2025-11-08T12:17:41.6178503-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-08T12:17:41.6178503-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "bda56ca8-a14f-49ea-93c3-a6e1b77a13fa",
"EffectiveDate": "2025-11-08T12:17:41.6178503-08:00",
"StatusType": {
"StatusTypeId": "bd9e4208-c19c-4d5e-a9d7-51875063dd3b",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "9497ad5c-1d0d-49f1-acb1-d95e7efe1c6d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9b00ca01-d07e-42a3-a593-7dfcb892c1c1",
"CreateDate": "2025-11-08T12:17:41.6178503-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-08T12:17:41.6178503-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "70866887-883d-4491-8570-05f3e1a24912",
"CreateDate": "2025-11-08T12:17:41.6178503-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-08T12:17:41.6178503-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "219edeb8-ce0b-476f-a783-d2a9fa6d3131",
"CreateDate": "2025-11-08T12:17:41.6178503-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-08T12:17:41.6178503-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "475eec69-972a-41ad-a8e4-a6a0abae3818",
"EffectiveDate": "2025-11-08T12:17:41.6178503-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "5bb84e9b-053e-4605-a684-abea0f9a47c0",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "fe6bd7a8-5064-4180-a96d-e974bb163c5e",
"CreateDate": "2025-11-08T12:17:41.6178503-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-08T12:17:41.6178503-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e4cfba5d-a425-4ae7-806d-f268e32a3268",
"CreateDate": "2025-11-08T12:17:41.6178503-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-08T12:17:41.6178503-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-08T12:17:41.6178503-08:00",
"MeasurementValueNeededDate": "2025-11-08T12:17:41.6178503-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9c89829f-1b3e-4813-b15e-417bf33c8e6e",
"CreateDate": "2025-11-08T12:17:41.6178503-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-08T12:17:41.6178503-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-11-08T12:17:41.6178503-08:00",
"StateType": {
"StateTypeId": "089cc6a6-b83b-418b-93e1-9e97b1eef17c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "9497ad5c-1d0d-49f1-acb1-d95e7efe1c6d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9b00ca01-d07e-42a3-a593-7dfcb892c1c1",
"CreateDate": "2025-11-08T12:17:41.6178503-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-08T12:17:41.6178503-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "d0cf4689-1a59-4292-b4dd-0d39b750acfa",
"CreateDate": "2025-11-08T12:17:41.6178503-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-08T12:17:41.6178503-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e1f8fc2d-c44e-4020-81b0-adbeab207f6a",
"CreateDate": "2025-11-08T12:17:41.6178503-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-08T12:17:41.6178503-08: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"
}