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": "a6a5b04f-b1c6-41d5-959a-cf375e48e367",
"Asset": {
"AssetId": "8d3b0e22-1fff-4fd3-8dac-52aeadf1c574",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "dcacf187-d73b-4591-b1a9-3e29cdd24c17",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "042de9c4-c5c6-478b-a190-20cf2b0d1deb",
"CreateDate": "2026-01-08T19:38:49.6189272-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-08T19:38:49.6189272-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "e3139113-1f57-40d6-8b92-2176fd40d53a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-08T19:38:49.6189272-08:00",
"MeasurementValueNeededDate": "2026-01-08T19:38:49.6189272-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a235c0c3-89e9-4904-9ae1-167c51192d33",
"CreateDate": "2026-01-08T19:38:49.6189272-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-08T19:38:49.6189272-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "2160f0b4-f2cc-48cc-9c2e-19b50656e880",
"EffectiveDate": "2026-01-08T19:38:49.6189272-08:00",
"StatusType": {
"StatusTypeId": "a44ef8f2-5d40-43ba-997c-d9cc4c080167",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "dcacf187-d73b-4591-b1a9-3e29cdd24c17",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "042de9c4-c5c6-478b-a190-20cf2b0d1deb",
"CreateDate": "2026-01-08T19:38:49.6189272-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-08T19:38:49.6189272-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "e00078a2-611a-4fa9-80c8-0cc058b783ea",
"CreateDate": "2026-01-08T19:38:49.6189272-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-08T19:38:49.6189272-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4acb0a3e-88a9-433b-930e-ef1f2ca898a8",
"CreateDate": "2026-01-08T19:38:49.6189272-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-08T19:38:49.6189272-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "6b9c6833-6ce7-4352-a75d-7e9616b6aa5e",
"EffectiveDate": "2026-01-08T19:38:49.6189272-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "b2f2c1c3-89d7-4bd9-b21c-9d2321dc3b87",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0bc3e7d7-bc99-4c86-b455-44966bab9bed",
"CreateDate": "2026-01-08T19:38:49.6189272-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-08T19:38:49.6189272-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "251f7ca9-31db-45d5-b65d-c6c7e96457de",
"CreateDate": "2026-01-08T19:38:49.6189272-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-08T19:38:49.6189272-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-08T19:38:49.6189272-08:00",
"MeasurementValueNeededDate": "2026-01-08T19:38:49.6189272-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "454f873c-e094-499c-a9a4-454d59450a53",
"CreateDate": "2026-01-08T19:38:49.6189272-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-08T19:38:49.6189272-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-01-08T19:38:49.6189272-08:00",
"StateType": {
"StateTypeId": "ca5f57e7-5315-4d87-85e0-56ba5ea77395",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "dcacf187-d73b-4591-b1a9-3e29cdd24c17",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "042de9c4-c5c6-478b-a190-20cf2b0d1deb",
"CreateDate": "2026-01-08T19:38:49.6189272-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-08T19:38:49.6189272-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "42c99aa5-8c6d-44c9-b1cc-dc34884c433d",
"CreateDate": "2026-01-08T19:38:49.6189272-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-08T19:38:49.6189272-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d9c52cf7-28a1-4afe-9011-9fa9b2108f38",
"CreateDate": "2026-01-08T19:38:49.6189272-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-08T19:38:49.6189272-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"
}