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": "6f182705-f593-4c1f-8841-5fe44c6a422f",
"Asset": {
"AssetId": "3fe6b058-7505-4cbb-b2d8-f169cf76a518",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9ca60320-7db9-480b-aed7-ccb1b7665609",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ee85862c-ea86-46ab-bf5d-e76db1e159f5",
"CreateDate": "2026-05-12T17:07:46.774387-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:07:46.774387-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "177557ca-50b1-4aa1-83bf-e1546c9f4506",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-12T17:07:46.774387-07:00",
"MeasurementValueNeededDate": "2026-05-12T17:07:46.774387-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "413178a4-c450-4b11-9d3b-34b75d4b8389",
"CreateDate": "2026-05-12T17:07:46.774387-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:07:46.774387-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "22441f94-8ab2-47ca-bcad-1900aac2c663",
"EffectiveDate": "2026-05-12T17:07:46.774387-07:00",
"StatusType": {
"StatusTypeId": "8b139e4b-8875-4dd1-9025-507fce8b9643",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "9ca60320-7db9-480b-aed7-ccb1b7665609",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ee85862c-ea86-46ab-bf5d-e76db1e159f5",
"CreateDate": "2026-05-12T17:07:46.774387-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:07:46.774387-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "53631663-c238-4075-8b41-1505eef7c836",
"CreateDate": "2026-05-12T17:07:46.774387-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:07:46.774387-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fbcbc217-599d-4afb-8ae2-540d5d7d1cc1",
"CreateDate": "2026-05-12T17:07:46.774387-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:07:46.774387-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "1781d587-9094-42d2-b880-31a5340eb1a5",
"EffectiveDate": "2026-05-12T17:07:46.774387-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "f73bf2b4-7882-4708-8726-546dc335fece",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "076f5518-dadc-4a74-a4cb-1c021ac7a00d",
"CreateDate": "2026-05-12T17:07:46.774387-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:07:46.774387-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9d239dfa-f5d4-4ef4-acfa-a8705f411210",
"CreateDate": "2026-05-12T17:07:46.774387-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:07:46.774387-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-12T17:07:46.774387-07:00",
"MeasurementValueNeededDate": "2026-05-12T17:07:46.774387-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "864e7fab-c1c4-477a-80a0-ed6f4bb4153d",
"CreateDate": "2026-05-12T17:07:46.774387-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:07:46.774387-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-05-12T17:07:46.774387-07:00",
"StateType": {
"StateTypeId": "652fd09b-15eb-40ee-b9c7-d3016043395e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "9ca60320-7db9-480b-aed7-ccb1b7665609",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ee85862c-ea86-46ab-bf5d-e76db1e159f5",
"CreateDate": "2026-05-12T17:07:46.774387-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:07:46.774387-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "284d7a86-bec0-4ac4-80e7-5a179b94d4b3",
"CreateDate": "2026-05-12T17:07:46.774387-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:07:46.774387-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e8023818-bfed-4d7a-82a4-f990293c7e9a",
"CreateDate": "2026-05-12T17:07:46.774387-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-12T17:07:46.774387-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"
}