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": "8531905d-aa82-46d5-8e04-f2081fb4ebdd", "Asset": { "AssetId": "06f0ebc9-d7a9-4021-acd2-c35be87f2d0e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "209da65c-1fb1-41e0-8c1d-73a0b13a0940", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a6cc1406-fac5-4be0-8894-e61225f8e1cc", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:45:54.7083158-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "7449d5cd-38cd-428a-b6bd-b0ac919b8b4a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T16:45:54.7083158-08:00", "MeasurementValueNeededDate": "2025-01-30T16:45:54.7083158-08:00", "SourceSystemId": "sample string 3", "CompanyId": "d4f97138-c7e4-4211-90c2-edb07d682466", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:45:54.7083158-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "bd7509c9-712e-4d23-8be3-35885e303cdc", "EffectiveDate": "2025-01-30T16:45:54.7083158-08:00", "StateType": { "StateTypeId": "de5577e6-c399-423c-af62-8917b57e66bf", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "209da65c-1fb1-41e0-8c1d-73a0b13a0940", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a6cc1406-fac5-4be0-8894-e61225f8e1cc", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:45:54.7083158-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "9deb6db8-dd7e-4baf-8260-681c44f5c995", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:45:54.7083158-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "b81b0fb2-0fcf-4f3f-8c80-e2601e45d1c5", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:45:54.7083158-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "f25d38c4-fb99-47aa-b0ce-7dbfbc0acd52", "EffectiveDate": "2025-01-30T16:45:54.7083158-08:00", "StatusType": { "StatusTypeId": "8de29432-dbc7-4433-85be-550058fc4e14", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "209da65c-1fb1-41e0-8c1d-73a0b13a0940", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a6cc1406-fac5-4be0-8894-e61225f8e1cc", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:45:54.7083158-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "79a20715-3195-40e2-82fd-4604a5d35c5c", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:45:54.7083158-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "4a612b65-a88e-4e7d-a046-201d3094b557", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:45:54.7083158-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "a392b938-d324-422e-bebe-692d4fb36c68", "EffectiveDate": "2025-01-30T16:45:54.7083158-08:00", "WellPurposeType": { "WellPurposeTypeId": "1117942a-7e27-4f34-af82-1abecc34ae17", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "2673d533-bd6a-4de1-b0ba-b1eb9d999eee", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:45:54.7083158-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "29e49d35-51c2-4fbc-81ac-9ba657fcafd9", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:45:54.7083158-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T16:45:54.7083158-08:00", "MeasurementValueNeededDate": "2025-01-30T16:45:54.7083158-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "905ecf24-ed0e-44e8-b988-9f1cfd40415c", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:45:54.7083158-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-01-30T16:45:54.7083158-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "2bcb96ce-06df-4cf8-a4fb-9ae4c68d687c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "209da65c-1fb1-41e0-8c1d-73a0b13a0940", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a6cc1406-fac5-4be0-8894-e61225f8e1cc", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:45:54.7083158-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "3d5e68b0-a9ec-4533-87fa-c58a9189a6db", "Name": "sample string 1" }, "Unit": { "UnitId": "3bd530cf-880e-448a-a842-fd78543b1ea4", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ca03b3fb-9af1-446d-a0e0-b5936c1f07dc", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:45:54.7083158-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "4d2f0212-848e-4132-82dc-81ac103ff727", "FieldId": "a53421b1-4c9b-496f-a92b-9cc050b7d792", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "4d2f0212-848e-4132-82dc-81ac103ff727", "FieldId": "a53421b1-4c9b-496f-a92b-9cc050b7d792", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-01-30T16:45:54.7083158-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "71593bfa-d587-43cd-a94d-d45fce180ee5", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:45:54.7083158-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "96d80b12-b75f-48c3-94a6-3fb720003d6f", "CreateDate": "2025-01-30T16:45:54.7083158-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-01-30T16:45:54.7083158-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" }