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": "0c622769-a70f-4265-bc5a-14e311e6d045",
"Asset": {
"AssetId": "5abd8abf-d82b-498c-96eb-d5e9aff88b3c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1ca9fd48-42e8-4b63-a1ca-cf23d89a3d99",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "25b50a5e-1e86-4add-8ccc-6a9c20acd412",
"CreateDate": "2025-12-29T01:59:30.8540152-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-29T01:59:30.8540152-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "7ea88652-e8a5-41b6-b112-060f97a0d2cd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-29T01:59:30.8540152-08:00",
"MeasurementValueNeededDate": "2025-12-29T01:59:30.8540152-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8ad7e431-2948-47ae-abd3-b9440ce9de05",
"CreateDate": "2025-12-29T01:59:30.8540152-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-29T01:59:30.8540152-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "b578be8d-464a-4425-95c4-a2a7af02f155",
"EffectiveDate": "2025-12-29T01:59:30.8540152-08:00",
"StatusType": {
"StatusTypeId": "d8c32741-32c0-4011-80f5-f1512fda979f",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "1ca9fd48-42e8-4b63-a1ca-cf23d89a3d99",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "25b50a5e-1e86-4add-8ccc-6a9c20acd412",
"CreateDate": "2025-12-29T01:59:30.8540152-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-29T01:59:30.8540152-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "2061e34d-5aa4-4998-a27a-447476ab8c0d",
"CreateDate": "2025-12-29T01:59:30.8540152-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-29T01:59:30.8540152-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "44ae800e-db2a-4d77-aaa1-ffbafc964205",
"CreateDate": "2025-12-29T01:59:30.8540152-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-29T01:59:30.8540152-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "d930ca57-0390-4eb8-9bd5-795d873a9f1f",
"EffectiveDate": "2025-12-29T01:59:30.8540152-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "b1ae7a75-9199-4630-b2f6-e6efa2eb5a32",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c935923d-92e3-423c-bee0-3e882a39f876",
"CreateDate": "2025-12-29T01:59:30.8540152-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-29T01:59:30.8540152-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a8a97c20-f8b6-458b-bb44-7bdb14945ebf",
"CreateDate": "2025-12-29T01:59:30.8540152-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-29T01:59:30.8540152-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-29T01:59:30.8540152-08:00",
"MeasurementValueNeededDate": "2025-12-29T01:59:30.8540152-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "38e035ee-2c8a-4565-ac77-7ec1ed37d0f4",
"CreateDate": "2025-12-29T01:59:30.8540152-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-29T01:59:30.8540152-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-12-29T01:59:30.8540152-08:00",
"StateType": {
"StateTypeId": "41a3b0a5-079a-427b-a7b8-0a1c8c2aef7e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1ca9fd48-42e8-4b63-a1ca-cf23d89a3d99",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "25b50a5e-1e86-4add-8ccc-6a9c20acd412",
"CreateDate": "2025-12-29T01:59:30.8540152-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-29T01:59:30.8540152-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "696c64e3-2c72-4f9d-82ac-fddbb2ad1bbd",
"CreateDate": "2025-12-29T01:59:30.8540152-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-29T01:59:30.8540152-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "92744a94-b4d4-41c5-8925-e91b8a82c595",
"CreateDate": "2025-12-29T01:59:30.8540152-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-29T01:59:30.8540152-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"
}