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": "0cab32dc-a61b-4c00-90a0-bb77dd18aa46",
"Asset": {
"AssetId": "8876e04a-f3cc-496d-b02d-90be4ed6fadf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3d55d9b8-a3c8-4882-a3f9-b8bd15f5c75b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dbb14877-b1ca-47a1-8088-0cef96fc05eb",
"CreateDate": "2026-06-17T17:31:28.672333-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:31:28.672333-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "287e8903-992f-46c2-89df-9531b05a9b44",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-17T17:31:28.672333-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:31:28.672333-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "02050ed8-1fde-401c-8bb5-b13e8d61c452",
"CreateDate": "2026-06-17T17:31:28.672333-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:31:28.672333-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "8241a71b-181c-481e-aac5-bf513cc5fdde",
"EffectiveDate": "2026-06-17T17:31:28.672333-07:00",
"StatusType": {
"StatusTypeId": "565cf6e0-8238-493d-b496-2c29ee5c6c44",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "3d55d9b8-a3c8-4882-a3f9-b8bd15f5c75b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dbb14877-b1ca-47a1-8088-0cef96fc05eb",
"CreateDate": "2026-06-17T17:31:28.672333-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:31:28.672333-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ec4b5c4c-f13b-45d0-b028-74d764a39db5",
"CreateDate": "2026-06-17T17:31:28.672333-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:31:28.672333-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4eef568b-eb47-4b84-8ba8-1f5e1472ddf8",
"CreateDate": "2026-06-17T17:31:28.672333-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:31:28.672333-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "2e4efbae-616a-4c16-8eb1-b1c3d7bcfd58",
"EffectiveDate": "2026-06-17T17:31:28.672333-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "5da169c8-f06d-458d-b2f8-4f5d4c549f5b",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5934c3ff-b1d1-4305-86e8-00441efdd18d",
"CreateDate": "2026-06-17T17:31:28.672333-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:31:28.672333-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2103c660-036e-47f8-b7da-f2ab7a8b9427",
"CreateDate": "2026-06-17T17:31:28.672333-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:31:28.672333-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-17T17:31:28.672333-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:31:28.672333-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c1121405-8743-4d5c-b4b8-ddada660e5b8",
"CreateDate": "2026-06-17T17:31:28.672333-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:31:28.672333-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-06-17T17:31:28.672333-07:00",
"StateType": {
"StateTypeId": "a06ebff3-f91c-4d74-b8cc-b328adaabf6f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3d55d9b8-a3c8-4882-a3f9-b8bd15f5c75b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dbb14877-b1ca-47a1-8088-0cef96fc05eb",
"CreateDate": "2026-06-17T17:31:28.672333-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:31:28.672333-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "bcf3c0bf-64d7-49ee-9306-3021c6a33ee0",
"CreateDate": "2026-06-17T17:31:28.672333-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:31:28.672333-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d50cc4b5-130b-419f-a478-93f2058efc41",
"CreateDate": "2026-06-17T17:31:28.672333-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:31:28.672333-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"
}