DELETE Assets
Deletes the given asset.
Request Information
URI Parameters
None.
Body Parameters
Asset to delete
AssetName | Description | Type | Additional information |
---|---|---|---|
AssetId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
DisplayOrder | integer |
None. |
|
AssetType | AssetType |
None. |
|
AssetGroup | AssetGroup |
None. |
|
ParentAsset | Asset |
None. |
|
Location | string |
None. |
|
Barcode | Barcode |
None. |
|
State | State |
None. |
|
Status | Status |
None. |
|
WellPurpose | WellPurpose |
None. |
|
FormValueNeededDate | date |
None. |
|
MeasurementValueNeededDate | date |
None. |
|
HasChildren | boolean |
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:
{ "AssetId": "bc94ca85-3bd3-45ae-ba33-15d7ea4d4523", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "87f94205-d7b0-4194-b87d-e4fa86ca3d3e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ebc1de83-056e-4cae-8810-f1f768ffe8c5", "CreateDate": "2024-11-21T04:37:47.3016469-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:37:47.3016469-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "9836279f-8411-4c9d-832b-87ab00801899", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T04:37:47.3016469-08:00", "MeasurementValueNeededDate": "2024-11-21T04:37:47.3016469-08:00", "SourceSystemId": "sample string 3", "CompanyId": "f0566adb-8a4d-4da8-98d9-9dbc4644e365", "CreateDate": "2024-11-21T04:37:47.3016469-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:37:47.3016469-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "927fc3f1-4621-4f3b-b2df-3ce5db12728a", "EffectiveDate": "2024-11-21T04:37:47.3016469-08:00", "StateType": { "StateTypeId": "b326b2d4-c924-4e6d-b044-3d1c343737a4", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "87f94205-d7b0-4194-b87d-e4fa86ca3d3e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ebc1de83-056e-4cae-8810-f1f768ffe8c5", "CreateDate": "2024-11-21T04:37:47.3016469-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:37:47.3016469-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "49ce081f-3bb4-4f87-8356-44434cfb2d6d", "CreateDate": "2024-11-21T04:37:47.3016469-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:37:47.3016469-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "39d4a82a-1c73-44c1-a3fe-ce3719c2ecdf", "CreateDate": "2024-11-21T04:37:47.3016469-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T04:37:47.3016469-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "f2ca4ba7-8315-47e1-9fd3-26066c010980", "EffectiveDate": "2024-11-21T04:37:47.3016469-08:00", "StatusType": { "StatusTypeId": "04d64291-0def-44e5-b41a-c85ee06c19b4", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "87f94205-d7b0-4194-b87d-e4fa86ca3d3e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ebc1de83-056e-4cae-8810-f1f768ffe8c5", "CreateDate": "2024-11-21T04:37:47.3016469-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:37:47.3016469-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "f407aa97-70b8-45e7-9b18-476f16b045af", "CreateDate": "2024-11-21T04:37:47.3016469-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:37:47.3016469-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "8265609c-800b-4c6e-85cd-f0dc8f1f63ce", "CreateDate": "2024-11-21T04:37:47.3016469-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T04:37:47.3016469-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "6e172545-93ca-4ad4-9667-63127367edb4", "EffectiveDate": "2024-11-21T04:37:47.3016469-08:00", "WellPurposeType": { "WellPurposeTypeId": "9c5e52f4-4c0e-4702-b108-c480928fa445", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0a01c60e-8096-4c3d-a7d4-bbb229a20bad", "CreateDate": "2024-11-21T04:37:47.3016469-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:37:47.3016469-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5f17aca2-015d-4190-9080-9b08b1af6b19", "CreateDate": "2024-11-21T04:37:47.3016469-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T04:37:47.3016469-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T04:37:47.3016469-08:00", "MeasurementValueNeededDate": "2024-11-21T04:37:47.3016469-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "25c7aaae-a953-4e5c-9d81-e9a14010342e", "CreateDate": "2024-11-21T04:37:47.3016469-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:37:47.3016469-08:00", "LastModifiedUser": "sample string 8" }
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" }