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": "2cc18cfe-576e-4df9-bb7a-7a809e26a79d", "Asset": { "AssetId": "d721eb68-4653-4347-936e-b26e6a0df3c3", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ad7fa1d3-e76e-424c-9aae-248dc8695fd3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "3e97ea77-cead-435b-a2b5-cd09a19c1597", "CreateDate": "2024-11-21T04:42:20.4942343-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:42:20.4942343-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "e22824ba-e3ec-4aa9-94a3-e281f1c666fe", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T04:42:20.4942343-08:00", "MeasurementValueNeededDate": "2024-11-21T04:42:20.4942343-08:00", "SourceSystemId": "sample string 3", "CompanyId": "1572eb1b-c88f-4018-8430-7801ce7b9c02", "CreateDate": "2024-11-21T04:42:20.4942343-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:42:20.4942343-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "24238f0f-afe2-4a4b-bbe2-39b874f0a358", "EffectiveDate": "2024-11-21T04:42:20.4942343-08:00", "StatusType": { "StatusTypeId": "a9194760-4fed-4fe9-b9d5-f4cda65526b1", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "ad7fa1d3-e76e-424c-9aae-248dc8695fd3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "3e97ea77-cead-435b-a2b5-cd09a19c1597", "CreateDate": "2024-11-21T04:42:20.4942343-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:42:20.4942343-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "d7d59617-7974-4932-9236-683f9a4eb327", "CreateDate": "2024-11-21T04:42:20.4942343-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:42:20.4942343-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7bdabcca-61b3-4fdd-8b2b-13bca27b1cee", "CreateDate": "2024-11-21T04:42:20.4942343-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T04:42:20.4942343-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "7a19a766-022a-467b-804e-ca06aaf8ea8b", "EffectiveDate": "2024-11-21T04:42:20.4942343-08:00", "WellPurposeType": { "WellPurposeTypeId": "55f1bf48-79a3-4f12-8233-bc055e60d1e8", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e6707d3b-afbc-4aad-aedd-d827b83f9535", "CreateDate": "2024-11-21T04:42:20.4942343-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:42:20.4942343-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "d0a72697-0f54-4dc3-9157-bb6b5343e378", "CreateDate": "2024-11-21T04:42:20.4942343-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T04:42:20.4942343-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T04:42:20.4942343-08:00", "MeasurementValueNeededDate": "2024-11-21T04:42:20.4942343-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "86b613c0-922b-494a-bb34-f2db8b13a652", "CreateDate": "2024-11-21T04:42:20.4942343-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:42:20.4942343-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-11-21T04:42:20.4942343-08:00", "StateType": { "StateTypeId": "9e688e49-09fb-4810-8f9f-f8b8b92d801c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ad7fa1d3-e76e-424c-9aae-248dc8695fd3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "3e97ea77-cead-435b-a2b5-cd09a19c1597", "CreateDate": "2024-11-21T04:42:20.4942343-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:42:20.4942343-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "6c008bd2-70d2-4e9e-ac00-074c15b41907", "CreateDate": "2024-11-21T04:42:20.4942343-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:42:20.4942343-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "146036e9-1cf3-45d0-a20e-9979aeaaa45c", "CreateDate": "2024-11-21T04:42:20.4942343-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T04:42:20.4942343-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" }