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": "b26af9a2-a6d6-403c-a6c4-35b363aafd92", "Asset": { "AssetId": "eacae6ac-b72f-4d04-85a9-d2068a18fda2", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "fb97f20d-6e90-49b4-a76e-03956112aa87", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5d398b9e-80bf-4665-a32f-5975eaccb491", "CreateDate": "2024-12-21T19:10:42.1971665-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:10:42.1971665-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "b659a803-f60e-4177-b7fb-9cebaad74a04", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:10:42.1971665-08:00", "MeasurementValueNeededDate": "2024-12-21T19:10:42.1971665-08:00", "SourceSystemId": "sample string 3", "CompanyId": "adbc3758-0e4a-4342-8f47-3876fab98e68", "CreateDate": "2024-12-21T19:10:42.1971665-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:10:42.1971665-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "a869defc-bc86-409b-8dd5-faffa81816ad", "EffectiveDate": "2024-12-21T19:10:42.1971665-08:00", "StatusType": { "StatusTypeId": "5a5356d3-30d2-4233-9269-d30d0c7de2e8", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "fb97f20d-6e90-49b4-a76e-03956112aa87", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5d398b9e-80bf-4665-a32f-5975eaccb491", "CreateDate": "2024-12-21T19:10:42.1971665-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:10:42.1971665-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "ebb29427-2c95-4bf5-9290-c7f236746c9a", "CreateDate": "2024-12-21T19:10:42.1971665-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:10:42.1971665-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ba4b7818-0f90-4b9a-b19b-892256304c3c", "CreateDate": "2024-12-21T19:10:42.1971665-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:10:42.1971665-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "2d743bfa-7c8f-4889-9e17-6aef331c006f", "EffectiveDate": "2024-12-21T19:10:42.1971665-08:00", "WellPurposeType": { "WellPurposeTypeId": "ff34b2f7-4af0-49a3-8438-7177bd0c2f84", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d7e1a745-a2c4-41aa-a0c4-7b6a26f7ab75", "CreateDate": "2024-12-21T19:10:42.1971665-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:10:42.1971665-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e70c82dc-d8d0-4711-94ec-415cb53d8785", "CreateDate": "2024-12-21T19:10:42.1971665-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:10:42.1971665-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T19:10:42.1971665-08:00", "MeasurementValueNeededDate": "2024-12-21T19:10:42.1971665-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "34c8ed9e-c321-46ae-ba5e-9eca44034d86", "CreateDate": "2024-12-21T19:10:42.1971665-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:10:42.1971665-08:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-12-21T19:10:42.1971665-08:00", "StateType": { "StateTypeId": "4f2c263f-75d8-4af0-86a7-ddae42e85a0f", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "fb97f20d-6e90-49b4-a76e-03956112aa87", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5d398b9e-80bf-4665-a32f-5975eaccb491", "CreateDate": "2024-12-21T19:10:42.1971665-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:10:42.1971665-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "a999d5e0-1917-4651-814e-7a54e0e7b7bb", "CreateDate": "2024-12-21T19:10:42.1971665-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:10:42.1971665-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "0b962a87-e166-4dd9-bd21-086dae6c0c35", "CreateDate": "2024-12-21T19:10:42.1971665-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:10:42.1971665-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" }