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": "7c8dad7f-1eef-43bc-a070-435a6ded48d2",
"Asset": {
"AssetId": "2bec7303-f3b2-4924-ae87-d4b5e247f4ae",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "fcaf2343-871b-4e24-a7ff-43aa7ac012ee",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "22f31f1e-d18b-4028-a8be-47237d375198",
"CreateDate": "2026-11-22T14:13:01.331994-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:13:01.331994-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "bc8fa86a-94b0-43eb-a8db-6f97dd5e139d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T14:13:01.331994-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:13:01.331994-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "84d7c138-f6a8-4990-8d50-4213f8378799",
"CreateDate": "2026-11-22T14:13:01.331994-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:13:01.331994-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "270d598e-1f6b-44f7-a748-bf882156b3d4",
"EffectiveDate": "2026-11-22T14:13:01.331994-08:00",
"StatusType": {
"StatusTypeId": "201dd073-6476-4cc9-86ad-2ffa8598476b",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "fcaf2343-871b-4e24-a7ff-43aa7ac012ee",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "22f31f1e-d18b-4028-a8be-47237d375198",
"CreateDate": "2026-11-22T14:13:01.331994-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:13:01.331994-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "051cd716-0e9c-487d-8ebc-447a84cfe6f3",
"CreateDate": "2026-11-22T14:13:01.331994-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:13:01.331994-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bdac11ed-1192-4c81-bac9-2a27428cc7f3",
"CreateDate": "2026-11-22T14:13:01.331994-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:13:01.331994-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "404ab0d7-982f-422b-839b-fd3e9f17437f",
"EffectiveDate": "2026-11-22T14:13:01.331994-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "790b6b07-1303-489c-93bb-22c0f3ae842c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "da6c981e-4cf4-4829-9152-489cb84f94be",
"CreateDate": "2026-11-22T14:13:01.331994-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T14:13:01.331994-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "068b80e8-476c-4e44-8a6c-aa5ecab444cd",
"CreateDate": "2026-11-22T14:13:01.331994-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:13:01.331994-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-22T14:13:01.331994-08:00",
"MeasurementValueNeededDate": "2026-11-22T14:13:01.331994-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a1ce027c-2ba5-4aa5-a134-4305f395e597",
"CreateDate": "2026-11-22T14:13:01.331994-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:13:01.331994-08:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-11-22T14:13:01.331994-08:00",
"StateType": {
"StateTypeId": "eb369293-208d-4909-8c11-191310c34426",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "fcaf2343-871b-4e24-a7ff-43aa7ac012ee",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "22f31f1e-d18b-4028-a8be-47237d375198",
"CreateDate": "2026-11-22T14:13:01.331994-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T14:13:01.331994-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b8bbfcc7-afd1-4c84-ab53-7606d27521cb",
"CreateDate": "2026-11-22T14:13:01.331994-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T14:13:01.331994-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f4903f67-99ce-420f-87eb-2314825fead6",
"CreateDate": "2026-11-22T14:13:01.331994-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-22T14:13:01.331994-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"
}