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": "5db1120e-7dc3-4ae4-9c89-3ab9c66a3623",
"Asset": {
"AssetId": "5bc3758b-387e-4645-ae4d-574386440d8d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ac2620a3-f487-48bd-89b8-ed8a4fdcac5b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bdfc743e-7a91-4653-b28b-25d5704a3902",
"CreateDate": "2025-12-04T17:17:25.2388089-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-04T17:17:25.2388089-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "f8faa953-9ad9-427a-b56f-48a23bf087be",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-04T17:17:25.2388089-08:00",
"MeasurementValueNeededDate": "2025-12-04T17:17:25.2388089-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "eb3ee394-0508-43fb-ae17-7a3022491cf7",
"CreateDate": "2025-12-04T17:17:25.2388089-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-04T17:17:25.2388089-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "b2b19be1-084f-4c39-956e-7f5ca470edcf",
"EffectiveDate": "2025-12-04T17:17:25.2388089-08:00",
"StatusType": {
"StatusTypeId": "dfddc9e2-d718-4931-aa58-844128e58e84",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "ac2620a3-f487-48bd-89b8-ed8a4fdcac5b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bdfc743e-7a91-4653-b28b-25d5704a3902",
"CreateDate": "2025-12-04T17:17:25.2388089-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-04T17:17:25.2388089-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "f6f37f38-8180-48b5-aa73-51f12653f9d0",
"CreateDate": "2025-12-04T17:17:25.2388089-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-04T17:17:25.2388089-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8e83dbbc-81f5-437b-9764-bc537373e98f",
"CreateDate": "2025-12-04T17:17:25.2388089-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-04T17:17:25.2388089-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "6a60131b-822a-4311-bf4f-9e9083069ec7",
"EffectiveDate": "2025-12-04T17:17:25.2388089-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "25e9a1a4-7748-4905-9d99-4142b566cac9",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c43ed591-aaca-4992-ba03-eae39b77a6f9",
"CreateDate": "2025-12-04T17:17:25.2388089-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-04T17:17:25.2388089-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "22e9c541-0a1d-4fec-8d3c-39d1ab07db99",
"CreateDate": "2025-12-04T17:17:25.2388089-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-04T17:17:25.2388089-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-04T17:17:25.2388089-08:00",
"MeasurementValueNeededDate": "2025-12-04T17:17:25.2388089-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "933f3202-ff9a-4c8b-8967-04873b4611ee",
"CreateDate": "2025-12-04T17:17:25.2388089-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-04T17:17:25.2388089-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2025-12-04T17:17:25.2388089-08:00",
"StateType": {
"StateTypeId": "fcb239b6-dc41-4230-8b0f-0423922690c9",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "ac2620a3-f487-48bd-89b8-ed8a4fdcac5b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bdfc743e-7a91-4653-b28b-25d5704a3902",
"CreateDate": "2025-12-04T17:17:25.2388089-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-04T17:17:25.2388089-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ea5a80a7-22f3-461d-b0ec-96c683463835",
"CreateDate": "2025-12-04T17:17:25.2388089-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-04T17:17:25.2388089-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "41d33226-62b6-488c-91bb-f6e7c8fb8fa2",
"CreateDate": "2025-12-04T17:17:25.2388089-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-04T17:17:25.2388089-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"
}