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": "c670e5ff-d639-4e1f-b5ee-9249d38f7be7", "Asset": { "AssetId": "5ed06112-c368-4a4f-b9ce-03b0de87e54e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "851204b9-f5c3-4afd-bbb5-04c383511bd0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "39824acf-93a0-43ec-a543-a50973be1ff1", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T16:37:34.483292-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "c534963c-56d0-43e2-8cc3-0b812bbbe7d8", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-18T16:37:34.483292-07:00", "MeasurementValueNeededDate": "2025-07-18T16:37:34.483292-07:00", "SourceSystemId": "sample string 3", "CompanyId": "9ff395a4-bec5-4f8c-b58d-ec22712d958c", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T16:37:34.483292-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "5f0adab2-d51a-401a-9a08-3751d0b9bca6", "EffectiveDate": "2025-07-18T16:37:34.483292-07:00", "StateType": { "StateTypeId": "4494be6a-0c38-428f-8d97-9e523cb9d8eb", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "851204b9-f5c3-4afd-bbb5-04c383511bd0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "39824acf-93a0-43ec-a543-a50973be1ff1", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T16:37:34.483292-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "986be910-b480-4e70-97b3-2ee847c2354e", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T16:37:34.483292-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "f8eed982-ae63-46b0-a33c-875757ee6215", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T16:37:34.483292-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "13e1eaf8-0d60-4842-8168-781351e8dd83", "EffectiveDate": "2025-07-18T16:37:34.483292-07:00", "StatusType": { "StatusTypeId": "6a2b4c9a-c562-48b5-81d2-038b41c4216f", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "851204b9-f5c3-4afd-bbb5-04c383511bd0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "39824acf-93a0-43ec-a543-a50973be1ff1", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T16:37:34.483292-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "bdbf68aa-5681-4c40-9e45-db7b3602ef02", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-18T16:37:34.483292-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "32fc0b5e-9111-448b-9c24-4c76843a489c", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T16:37:34.483292-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "2aff88f7-acb5-41ea-8f44-a8b2b7ddcb20", "EffectiveDate": "2025-07-18T16:37:34.483292-07:00", "WellPurposeType": { "WellPurposeTypeId": "998c15fc-4f44-4208-b4be-0d2f3359598c", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6ae9497b-65a8-4745-b2b6-f3823a8b5282", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-18T16:37:34.483292-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "2c68b44d-ebec-4ea5-b76d-ca4938cb74ad", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T16:37:34.483292-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-18T16:37:34.483292-07:00", "MeasurementValueNeededDate": "2025-07-18T16:37:34.483292-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "8c4b93e1-a35e-43a4-b7ad-e9711442d5ee", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T16:37:34.483292-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-07-18T16:37:34.483292-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "a250ca43-c351-4a6d-84fd-625fd9831eda", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "851204b9-f5c3-4afd-bbb5-04c383511bd0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "39824acf-93a0-43ec-a543-a50973be1ff1", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T16:37:34.483292-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "81bb4701-6a2e-4a5f-b910-1f0432c07c81", "Name": "sample string 1" }, "Unit": { "UnitId": "3c1113b5-6dd2-4925-bd0a-37fbba7da5f2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1df31894-c5d9-44f0-a56d-19de81ce25c9", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T16:37:34.483292-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "8de23a79-e7ac-401d-a8e3-ca11005b4589", "FieldId": "0c615851-d197-4bc1-9684-5d98f1a3a90f", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "8de23a79-e7ac-401d-a8e3-ca11005b4589", "FieldId": "0c615851-d197-4bc1-9684-5d98f1a3a90f", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-07-18T16:37:34.483292-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "a577f9f1-f4ca-465d-bdc2-6a487deefe7b", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T16:37:34.483292-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "b44ceedb-a8fb-4637-888d-87dc43737726", "CreateDate": "2025-07-18T16:37:34.483292-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-07-18T16:37:34.483292-07: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" }