DELETE States
Deletes the given state.
Request Information
URI Parameters
None.
Body Parameters
The state to delete.
StateName | 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": "65ca4130-1709-46ab-96d7-279cb2638148", "Asset": { "AssetId": "c47877c8-8974-4af7-8271-c63f441baf68", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "0abf92b0-d624-409b-b825-6ac99aaccda0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1b493726-21a4-43d1-bf44-eb8de0133657", "CreateDate": "2024-04-28T04:29:54.8262758-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T04:29:54.8262758-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "593a6087-5c09-4826-ac14-58480c9d2556", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T04:29:54.8262758-07:00", "MeasurementValueNeededDate": "2024-04-28T04:29:54.8262758-07:00", "SourceSystemId": "sample string 3", "CompanyId": "b8add8b9-cd35-48ce-baac-87a2a164f732", "CreateDate": "2024-04-28T04:29:54.8262758-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T04:29:54.8262758-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "47184dcf-8344-4e74-9178-414104d2c64c", "EffectiveDate": "2024-04-28T04:29:54.8262758-07:00", "StatusType": { "StatusTypeId": "f2c78c3d-18b3-4c0d-8451-f98573dc058a", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "0abf92b0-d624-409b-b825-6ac99aaccda0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1b493726-21a4-43d1-bf44-eb8de0133657", "CreateDate": "2024-04-28T04:29:54.8262758-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T04:29:54.8262758-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "8070e02f-bd31-4fb3-b327-bf0a0ab6a512", "CreateDate": "2024-04-28T04:29:54.8262758-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T04:29:54.8262758-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "72d22b2e-6e78-4bb6-8723-3269617517c3", "CreateDate": "2024-04-28T04:29:54.8262758-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T04:29:54.8262758-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "4e2c18bd-4d41-41f9-b22f-27b77a254055", "EffectiveDate": "2024-04-28T04:29:54.8262758-07:00", "WellPurposeType": { "WellPurposeTypeId": "60ad8033-ad20-408f-9100-172dc38a4341", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "bcb51f27-31e6-4773-abb1-77d65e15064e", "CreateDate": "2024-04-28T04:29:54.8262758-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T04:29:54.8262758-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f76b687f-d284-40c6-b8c7-7e0b8b831d8c", "CreateDate": "2024-04-28T04:29:54.8262758-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T04:29:54.8262758-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T04:29:54.8262758-07:00", "MeasurementValueNeededDate": "2024-04-28T04:29:54.8262758-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "228c997c-701f-409b-9c18-c3a8c5949fbe", "CreateDate": "2024-04-28T04:29:54.8262758-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T04:29:54.8262758-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-04-28T04:29:54.8262758-07:00", "StateType": { "StateTypeId": "33b32194-dc96-4faa-88ec-b7a56d97a97c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "0abf92b0-d624-409b-b825-6ac99aaccda0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1b493726-21a4-43d1-bf44-eb8de0133657", "CreateDate": "2024-04-28T04:29:54.8262758-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T04:29:54.8262758-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "85ad673b-23be-4edf-baca-d511a413143d", "CreateDate": "2024-04-28T04:29:54.8262758-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T04:29:54.8262758-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "56fa49d1-ab78-44e9-bc71-d11ba0461219", "CreateDate": "2024-04-28T04:29:54.8262758-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T04:29:54.8262758-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" }