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": "2dddabcd-15fa-41c0-b56e-3a808aa4f729", "Asset": { "AssetId": "798e8eb1-48cd-45c5-bbe1-4d5d766c764c", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6ee7a366-0509-4f41-ade7-29998c9deb3e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "06bdeab3-b140-4145-9dac-0c908e023440", "CreateDate": "2024-04-19T19:48:41.8696642-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T19:48:41.8696642-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "c19239de-7777-4608-bf45-5a5b18b0d3c4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-19T19:48:41.8696642-07:00", "MeasurementValueNeededDate": "2024-04-19T19:48:41.8696642-07:00", "SourceSystemId": "sample string 3", "CompanyId": "93389d47-2e12-44b3-bdb2-f53959c18624", "CreateDate": "2024-04-19T19:48:41.8696642-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-19T19:48:41.8696642-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "948adc1e-9089-4ccd-b094-623a053d8082", "EffectiveDate": "2024-04-19T19:48:41.8696642-07:00", "StatusType": { "StatusTypeId": "1e46a0a0-478b-43db-8af5-ae3464ae5875", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "6ee7a366-0509-4f41-ade7-29998c9deb3e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "06bdeab3-b140-4145-9dac-0c908e023440", "CreateDate": "2024-04-19T19:48:41.8696642-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T19:48:41.8696642-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "5ab1cdf6-bd27-460d-a702-cdfcf974703f", "CreateDate": "2024-04-19T19:48:41.8696642-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-19T19:48:41.8696642-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7bea9f51-2fa0-439f-9c7c-74f487df30b2", "CreateDate": "2024-04-19T19:48:41.8696642-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-19T19:48:41.8696642-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "ad2afc84-8e53-4c96-bfce-671ddc12a4f7", "EffectiveDate": "2024-04-19T19:48:41.8696642-07:00", "WellPurposeType": { "WellPurposeTypeId": "45642952-1e0e-44dc-8f7e-5be979e9bc32", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f1d639c2-5fa8-4b4a-a866-2619707fcf1b", "CreateDate": "2024-04-19T19:48:41.8696642-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-19T19:48:41.8696642-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "d118fa23-21be-4c1c-88aa-eea046d3dd46", "CreateDate": "2024-04-19T19:48:41.8696642-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-19T19:48:41.8696642-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-19T19:48:41.8696642-07:00", "MeasurementValueNeededDate": "2024-04-19T19:48:41.8696642-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "82e59584-1361-44b4-80ae-dc228dad7ffd", "CreateDate": "2024-04-19T19:48:41.8696642-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T19:48:41.8696642-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-04-19T19:48:41.8696642-07:00", "StateType": { "StateTypeId": "3984b59a-62c0-4b73-86a1-6982c963b6ab", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "6ee7a366-0509-4f41-ade7-29998c9deb3e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "06bdeab3-b140-4145-9dac-0c908e023440", "CreateDate": "2024-04-19T19:48:41.8696642-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-19T19:48:41.8696642-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "0bef93f7-d3d2-48a6-ba7c-247b5ea38e04", "CreateDate": "2024-04-19T19:48:41.8696642-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-19T19:48:41.8696642-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "c9c2e830-0406-4e78-8c6c-155bc26c8e8d", "CreateDate": "2024-04-19T19:48:41.8696642-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-19T19:48:41.8696642-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" }