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": "ec77f2d2-a582-422e-9e1c-dcdc4cb58933",
"Asset": {
"AssetId": "34249d0a-fb47-4ede-9998-87afc2bf32df",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7b0e312d-d720-4c32-bb60-1e653651a561",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e5247fb0-7ec1-40f5-bbdc-f3f907ca1817",
"CreateDate": "2026-02-02T13:51:09.7579527-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T13:51:09.7579527-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "86143e01-32ed-4f2f-bc44-04150e61978c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-02T13:51:09.7579527-08:00",
"MeasurementValueNeededDate": "2026-02-02T13:51:09.7579527-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7029cb68-2f1c-43cd-b4c0-710baf9d39fb",
"CreateDate": "2026-02-02T13:51:09.7579527-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T13:51:09.7579527-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "ea387e49-438e-428a-8500-13c551d8f072",
"EffectiveDate": "2026-02-02T13:51:09.7579527-08:00",
"StatusType": {
"StatusTypeId": "c88d95a2-1989-4b8d-8be2-b8f2aad61d79",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "7b0e312d-d720-4c32-bb60-1e653651a561",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e5247fb0-7ec1-40f5-bbdc-f3f907ca1817",
"CreateDate": "2026-02-02T13:51:09.7579527-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T13:51:09.7579527-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a924e6f1-4b6b-4099-bbd2-6f007d230b85",
"CreateDate": "2026-02-02T13:51:09.7579527-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T13:51:09.7579527-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e2e89f46-cbe2-4694-a719-279de2a7ce87",
"CreateDate": "2026-02-02T13:51:09.7579527-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T13:51:09.7579527-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "007ccaf4-dd84-46fe-8406-c15de1fb553e",
"EffectiveDate": "2026-02-02T13:51:09.7579527-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "a3559c14-9c91-4821-96dd-0ce1085b10bd",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "31ccf2ed-901b-491f-822e-99f64126dfe8",
"CreateDate": "2026-02-02T13:51:09.7579527-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T13:51:09.7579527-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "458102aa-7795-4205-ac81-004691188ce5",
"CreateDate": "2026-02-02T13:51:09.7579527-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T13:51:09.7579527-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-02T13:51:09.7579527-08:00",
"MeasurementValueNeededDate": "2026-02-02T13:51:09.7579527-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "19a6a905-633a-4203-a300-73028c54148d",
"CreateDate": "2026-02-02T13:51:09.7579527-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T13:51:09.7579527-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-02-02T13:51:09.7579527-08:00",
"StateType": {
"StateTypeId": "169ea7fe-9f5e-42b5-a3a3-85f6856d8e89",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7b0e312d-d720-4c32-bb60-1e653651a561",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e5247fb0-7ec1-40f5-bbdc-f3f907ca1817",
"CreateDate": "2026-02-02T13:51:09.7579527-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T13:51:09.7579527-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6bcd46b1-5b40-442a-bbed-485d1a582cf0",
"CreateDate": "2026-02-02T13:51:09.7579527-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T13:51:09.7579527-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8d01ccdd-e9bb-40cb-8ed3-dfc08e20cef6",
"CreateDate": "2026-02-02T13:51:09.7579527-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T13:51:09.7579527-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"
}