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": "10d56dc6-4d53-46a0-90a3-3b77bfd908f5",
"Asset": {
"AssetId": "170f6d1e-ed34-4a81-999d-cb3d1fd087b9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3d2d5d8f-34ba-4b49-97a0-9d09781ba4c2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "02fdd746-94ff-485c-b783-73bd49e062be",
"CreateDate": "2026-06-01T20:28:17.3276553-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:28:17.3276553-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "1bb069bc-f770-4997-ac9f-57e8677cabaf",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T20:28:17.3276553-07:00",
"MeasurementValueNeededDate": "2026-06-01T20:28:17.3276553-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c083980b-88ee-40da-91cf-0c5e8c141ddf",
"CreateDate": "2026-06-01T20:28:17.3276553-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:28:17.3276553-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"Status": {
"StatusId": "68933b10-0785-451f-b934-1b58936c80ff",
"EffectiveDate": "2026-06-01T20:28:17.3276553-07:00",
"StatusType": {
"StatusTypeId": "f9a8bd66-3027-47ef-a875-37dceb3940e5",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "3d2d5d8f-34ba-4b49-97a0-9d09781ba4c2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "02fdd746-94ff-485c-b783-73bd49e062be",
"CreateDate": "2026-06-01T20:28:17.3276553-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:28:17.3276553-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "4dccd4e0-4bde-4813-a5c8-1dce1c682136",
"CreateDate": "2026-06-01T20:28:17.3276553-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:28:17.3276553-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "073f79cd-72be-49ae-b344-4089d63ff63f",
"CreateDate": "2026-06-01T20:28:17.3276553-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:28:17.3276553-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "5096d75c-b2a5-481b-ad7d-b7cb702fda90",
"EffectiveDate": "2026-06-01T20:28:17.3276553-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "b53511cd-7b47-4cd9-87fe-36968d9c56f7",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a25bd03e-d191-4314-8bcd-a3f1ebaaedd4",
"CreateDate": "2026-06-01T20:28:17.3276553-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:28:17.3276553-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6a7ec9c4-f1ce-46b2-b8b4-c15eedcf559e",
"CreateDate": "2026-06-01T20:28:17.3276553-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:28:17.3276553-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-01T20:28:17.3276553-07:00",
"MeasurementValueNeededDate": "2026-06-01T20:28:17.3276553-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "04f04295-4845-4f53-ae35-b6439eab0efe",
"CreateDate": "2026-06-01T20:28:17.3276553-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:28:17.3276553-07:00",
"LastModifiedUser": "sample string 8"
},
"EffectiveDate": "2026-06-01T20:28:17.3276553-07:00",
"StateType": {
"StateTypeId": "7172d3fb-a947-48ea-887a-834a414b28c1",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3d2d5d8f-34ba-4b49-97a0-9d09781ba4c2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "02fdd746-94ff-485c-b783-73bd49e062be",
"CreateDate": "2026-06-01T20:28:17.3276553-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:28:17.3276553-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "22cbd4d6-b53c-4a46-9493-11a03cc569dd",
"CreateDate": "2026-06-01T20:28:17.3276553-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:28:17.3276553-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ccc831cd-aec7-4599-bdc8-c7c721323860",
"CreateDate": "2026-06-01T20:28:17.3276553-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:28:17.3276553-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"
}