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": "2c9157c5-6a27-40d2-87d6-14f53078d573",
"Asset": {
"AssetId": "8e8add58-cb24-4f04-bc3a-0ab2e652d594",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "75b5b0a0-5aa7-4d35-8dc9-ae1ba5c61c0a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "03ad0366-6dc8-47a7-965a-7fcf7443f27f",
"CreateDate": "2026-04-09T11:28:35.3520181-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-09T11:28:35.3520181-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "50456ae6-9388-43aa-b84c-b34fd092e4b0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-09T11:28:35.3520181-07:00",
"MeasurementValueNeededDate": "2026-04-09T11:28:35.3520181-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "92d9e63c-4087-41ee-8fb0-d2c874d4c598",
"CreateDate": "2026-04-09T11:28:35.3520181-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-09T11:28:35.3520181-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "0b94e231-1049-44c0-972c-d215b3717675",
"EffectiveDate": "2026-04-09T11:28:35.3520181-07:00",
"StatusType": {
"StatusTypeId": "2916ec77-3331-4347-8c3d-a72836ed0494",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "75b5b0a0-5aa7-4d35-8dc9-ae1ba5c61c0a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "03ad0366-6dc8-47a7-965a-7fcf7443f27f",
"CreateDate": "2026-04-09T11:28:35.3520181-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-09T11:28:35.3520181-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "5cdc8cd3-f3b4-4f1e-905a-c7bee7e648b0",
"CreateDate": "2026-04-09T11:28:35.3520181-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-09T11:28:35.3520181-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5f68d303-990b-44f9-8b3d-f298a17219b4",
"CreateDate": "2026-04-09T11:28:35.3520181-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-09T11:28:35.3520181-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "0ff5dce4-e8e4-4313-9230-d9153144ab6f",
"EffectiveDate": "2026-04-09T11:28:35.3520181-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "f9fbea54-4bf3-42b3-9806-8390814bb2f7",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f6cd6017-4cf9-43c6-8722-c1f50d2cd350",
"CreateDate": "2026-04-09T11:28:35.3520181-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-09T11:28:35.3520181-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8d63cb64-3538-42a3-b6b4-c3f1fa775ea8",
"CreateDate": "2026-04-09T11:28:35.3520181-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-09T11:28:35.3520181-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-09T11:28:35.3520181-07:00",
"MeasurementValueNeededDate": "2026-04-09T11:28:35.3520181-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "564557a7-cf8d-4e4a-8feb-192321515e13",
"CreateDate": "2026-04-09T11:28:35.3520181-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-09T11:28:35.3520181-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-04-09T11:28:35.3520181-07:00",
"StateType": {
"StateTypeId": "9fee4d0a-7f53-4d89-9722-4cfd5f8e540a",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "75b5b0a0-5aa7-4d35-8dc9-ae1ba5c61c0a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "03ad0366-6dc8-47a7-965a-7fcf7443f27f",
"CreateDate": "2026-04-09T11:28:35.3520181-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-09T11:28:35.3520181-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "9190ebbd-7d39-46f2-b996-95285c15d3a8",
"CreateDate": "2026-04-09T11:28:35.3520181-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-09T11:28:35.3520181-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "96a026f4-0125-439a-bd0b-98b80aad0543",
"CreateDate": "2026-04-09T11:28:35.3520181-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-09T11:28:35.3520181-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"
}