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": "7a4e1e02-28ef-4d73-ba09-6a006962391b",
"Asset": {
"AssetId": "c3333f48-7db9-4a03-bc69-3db01a84a4a7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "13e593f2-16fa-4422-823a-0ec351861b7f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e18b8ab0-179a-4378-ad8c-0c0d2adc67d5",
"CreateDate": "2026-08-24T21:38:00.7207375-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:38:00.7207375-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "3957d78f-9b73-4c7c-89cd-bb225527634a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-24T21:38:00.7207375-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:38:00.7207375-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "29ffad3f-e8e4-4a7c-8804-4d00d696f837",
"CreateDate": "2026-08-24T21:38:00.7207375-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:38:00.7207375-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "971c4ed6-a7a0-463c-8599-ea925b5f169b",
"EffectiveDate": "2026-08-24T21:38:00.7207375-07:00",
"StatusType": {
"StatusTypeId": "c3e05708-caa1-42ec-b33e-27c02cc11ada",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "13e593f2-16fa-4422-823a-0ec351861b7f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e18b8ab0-179a-4378-ad8c-0c0d2adc67d5",
"CreateDate": "2026-08-24T21:38:00.7207375-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:38:00.7207375-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "f89bc373-98bf-45b1-8a3a-7c14f1154464",
"CreateDate": "2026-08-24T21:38:00.7207375-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:38:00.7207375-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "33578107-083f-4504-8149-19b32eff1f5e",
"CreateDate": "2026-08-24T21:38:00.7207375-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:38:00.7207375-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "0bbe8c09-e2c0-4e24-8a5a-b61b88652240",
"EffectiveDate": "2026-08-24T21:38:00.7207375-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "eed02bf1-0858-4d24-a783-e6bcb7ea8c29",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "62106b0a-55d9-43d0-98a5-82964f31dde4",
"CreateDate": "2026-08-24T21:38:00.7207375-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:38:00.7207375-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6436252a-b3c1-487b-8e27-81a8487bb527",
"CreateDate": "2026-08-24T21:38:00.7207375-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:38:00.7207375-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-24T21:38:00.7207375-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:38:00.7207375-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "75b55737-3779-4a87-90ef-ba353f66b74e",
"CreateDate": "2026-08-24T21:38:00.7207375-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:38:00.7207375-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-08-24T21:38:00.7207375-07:00",
"StateType": {
"StateTypeId": "740de5a2-bc80-40c0-8fa6-39d8b052a295",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "13e593f2-16fa-4422-823a-0ec351861b7f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e18b8ab0-179a-4378-ad8c-0c0d2adc67d5",
"CreateDate": "2026-08-24T21:38:00.7207375-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:38:00.7207375-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "1dde0c27-b44e-48da-8add-b736ac1e5916",
"CreateDate": "2026-08-24T21:38:00.7207375-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:38:00.7207375-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b04a1013-e55f-4e1e-a8ba-00168be1aa06",
"CreateDate": "2026-08-24T21:38:00.7207375-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:38:00.7207375-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"
}