DELETE Measurements
Deletes the given measurement.
Request Information
URI Parameters
None.
Body Parameters
The measurement to delete.
MeasurementName | Description | Type | Additional information |
---|---|---|---|
MeasurementId | globally unique identifier |
None. |
|
Asset | Asset |
None. |
|
ValueText | string |
None. |
|
DisplayText | string |
None. |
|
EffectiveDate | date |
None. |
|
Location | string |
None. |
|
MeasurementType | MeasurementType |
None. |
|
IsValid | boolean |
None. |
|
IsValidMessage | string |
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:
{ "MeasurementId": "3e95ec12-2135-4bf1-914c-03b91984caf6", "Asset": { "AssetId": "a2fb749f-61b8-4879-a77d-78f459aaefc2", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "9835a42d-f817-4a1f-9b4e-73a5ddf975e7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "398f3661-8e05-4dd3-b34b-0d53716f603a", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "4c1d163e-f0b8-48d5-a62e-fa1037c187e8", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:07:20.6493016-08:00", "MeasurementValueNeededDate": "2024-11-21T05:07:20.6493016-08:00", "SourceSystemId": "sample string 3", "CompanyId": "19a61312-9751-43b1-a15f-25e8c1797f52", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "42dca853-9a1b-4d5b-a87c-9811146c5965", "EffectiveDate": "2024-11-21T05:07:20.6493016-08:00", "StateType": { "StateTypeId": "a0abd1d6-b6b1-4b9b-9d72-17f09e04938a", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "9835a42d-f817-4a1f-9b4e-73a5ddf975e7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "398f3661-8e05-4dd3-b34b-0d53716f603a", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "57fc5363-e1f5-414f-99fa-602c10410bcb", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "1986f278-0884-4128-8d50-2dc85b10ea51", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "37f91fcf-0f34-448d-ac3b-fb04634cdf7a", "EffectiveDate": "2024-11-21T05:07:20.6493016-08:00", "StatusType": { "StatusTypeId": "4e98ee01-b6be-4aae-a7d9-4126496fa938", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "9835a42d-f817-4a1f-9b4e-73a5ddf975e7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "398f3661-8e05-4dd3-b34b-0d53716f603a", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "d7c6a387-be46-44ce-903e-1fcb78fdb781", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "db5540c9-ef5d-435a-9f53-2f20cecb8559", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b4305bfa-d21b-4ef0-a069-bc3f32d2fdf1", "EffectiveDate": "2024-11-21T05:07:20.6493016-08:00", "WellPurposeType": { "WellPurposeTypeId": "0ff025f3-a4d8-49c3-9b2a-5207573cc9ae", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "de6cbe79-a22d-429b-b795-cef6c4bc3191", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5f3ce743-1b52-4fca-888e-8c1ec1400141", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T05:07:20.6493016-08:00", "MeasurementValueNeededDate": "2024-11-21T05:07:20.6493016-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "7846e981-a207-42d9-9d5b-ebcab29c777e", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-11-21T05:07:20.6493016-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "9183fb58-8b94-40fb-a49a-75533322b772", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9835a42d-f817-4a1f-9b4e-73a5ddf975e7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "398f3661-8e05-4dd3-b34b-0d53716f603a", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "94fbb905-f71f-4ac5-8911-139ba38fc438", "Name": "sample string 1" }, "Unit": { "UnitId": "cc63ca68-214e-423a-bb75-5b1021590106", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "aec38997-32c2-4a15-81a2-deca64758bdf", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b3799f1b-9458-400e-8f3d-cb99383a82d9", "FieldId": "c3c3d35e-7032-4e72-9e4d-b59ea6e2e5dd", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b3799f1b-9458-400e-8f3d-cb99383a82d9", "FieldId": "c3c3d35e-7032-4e72-9e4d-b59ea6e2e5dd", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:07:20.6493016-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "9848e0e0-e181-484d-b9f3-49321e1f95b6", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "05cf3ba3-e7e1-45e3-981e-a65ac2fe11b2", "CreateDate": "2024-11-21T05:07:20.6493016-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-11-21T05:07:20.6493016-08:00", "LastModifiedUser": "sample string 9" }
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" }