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": "14d08128-cab6-4dc6-90a7-519bfcd9b998",
"Asset": {
"AssetId": "52fdfe6a-94f7-4878-8508-6cb0f95b8da8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "82f20f96-f8a0-4b5a-bda2-e9210cf6d6c6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dfebcb5e-fe6f-4ab2-afb0-dcab76f50478",
"CreateDate": "2026-09-26T14:00:44.5648381-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T14:00:44.5648381-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "8f8a55c2-42b5-43aa-9366-4c87a9107ccc",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-26T14:00:44.5648381-07:00",
"MeasurementValueNeededDate": "2026-09-26T14:00:44.5648381-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "71a68073-1024-4fe1-a6d5-7a341f47d1f1",
"CreateDate": "2026-09-26T14:00:44.5648381-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T14:00:44.5648381-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "1a8ce545-2748-4035-89b6-5270d9f7a6df",
"EffectiveDate": "2026-09-26T14:00:44.5648381-07:00",
"StatusType": {
"StatusTypeId": "58eb08fd-4f4b-4665-8fd5-859c5c069557",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "82f20f96-f8a0-4b5a-bda2-e9210cf6d6c6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dfebcb5e-fe6f-4ab2-afb0-dcab76f50478",
"CreateDate": "2026-09-26T14:00:44.5648381-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T14:00:44.5648381-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "17c1a069-e55c-4819-b4d7-ad51acb397a7",
"CreateDate": "2026-09-26T14:00:44.5648381-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T14:00:44.5648381-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c9f46316-fd46-4f42-adc2-a65ba00da33d",
"CreateDate": "2026-09-26T14:00:44.5648381-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T14:00:44.5648381-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "8fdb3b85-4ae5-4381-bd1f-7e807ae8349e",
"EffectiveDate": "2026-09-26T14:00:44.5648381-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "973a3ee7-38ce-4a44-8a24-7f82d19154dd",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "13e21481-ff6d-4dfe-ab4c-ff3e92da9ec7",
"CreateDate": "2026-09-26T14:00:44.5648381-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T14:00:44.5648381-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "28e83e38-705d-4b6c-aaf7-696b7436de6b",
"CreateDate": "2026-09-26T14:00:44.5648381-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T14:00:44.5648381-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-26T14:00:44.5648381-07:00",
"MeasurementValueNeededDate": "2026-09-26T14:00:44.5648381-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "39338f8d-6277-4f54-a707-2f1d4a760a8f",
"CreateDate": "2026-09-26T14:00:44.5648381-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T14:00:44.5648381-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-09-26T14:00:44.5648381-07:00",
"StateType": {
"StateTypeId": "86eb46a4-0605-47e5-83f7-a85a85ccba79",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "82f20f96-f8a0-4b5a-bda2-e9210cf6d6c6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dfebcb5e-fe6f-4ab2-afb0-dcab76f50478",
"CreateDate": "2026-09-26T14:00:44.5648381-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T14:00:44.5648381-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "7ece43d3-390d-4d6c-8b81-20a267a87ed9",
"CreateDate": "2026-09-26T14:00:44.5648381-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T14:00:44.5648381-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7abfe928-651c-4e7d-ac0c-3e4353c191a0",
"CreateDate": "2026-09-26T14:00:44.5648381-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T14:00:44.5648381-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"
}