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": "0535ac7d-f075-4ac4-8f05-404078c6e0ef", "Asset": { "AssetId": "07c4171c-8178-4458-9e52-6b917c4e2d52", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d87439bd-32a6-4da4-95ec-47b66ce406e9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8281f66b-d84a-4f2c-987e-df07be11ee2c", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:59:53.9444702-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "7b27c992-5e79-42b9-a919-207b24ffde46", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:59:53.9444702-08:00", "MeasurementValueNeededDate": "2024-12-21T18:59:53.9444702-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c8ef4e5f-f7d8-4bc7-836b-f04d5008d6fc", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:59:53.9444702-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "1189614d-a9ea-45b6-8348-31426407efbf", "EffectiveDate": "2024-12-21T18:59:53.9444702-08:00", "StateType": { "StateTypeId": "9d9b6c28-f77d-414a-aa6e-3d1f4ec956fd", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "d87439bd-32a6-4da4-95ec-47b66ce406e9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8281f66b-d84a-4f2c-987e-df07be11ee2c", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:59:53.9444702-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "813f3cbb-56e9-42ea-a1de-d82a93fccd6f", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:59:53.9444702-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "f3a3ac82-d256-498b-bd24-b56d47f09863", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T18:59:53.9444702-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "3cf1a426-682e-498f-be2d-47b4aea4e3eb", "EffectiveDate": "2024-12-21T18:59:53.9444702-08:00", "StatusType": { "StatusTypeId": "229b5ccb-57f6-4e95-9752-2c86ebcbf394", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "d87439bd-32a6-4da4-95ec-47b66ce406e9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8281f66b-d84a-4f2c-987e-df07be11ee2c", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:59:53.9444702-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "5c328aee-b385-4d16-a076-ac699d05349d", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:59:53.9444702-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b1169add-82ba-4d42-ae8c-d2cd271022db", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T18:59:53.9444702-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "4994b20b-1e59-4f86-b5ba-d64ac8bd2653", "EffectiveDate": "2024-12-21T18:59:53.9444702-08:00", "WellPurposeType": { "WellPurposeTypeId": "0c939f96-8edb-4798-bff6-b38b0ddd9142", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "dd5084e7-c3e2-4cc2-bb11-a4ceac01c49f", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:59:53.9444702-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "15b1c248-971d-4d4f-a8eb-cad380678c18", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T18:59:53.9444702-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T18:59:53.9444702-08:00", "MeasurementValueNeededDate": "2024-12-21T18:59:53.9444702-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "4e467d16-63ed-41c5-b772-9449593701de", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:59:53.9444702-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-12-21T18:59:53.9444702-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "691aaee0-c854-4b38-b9aa-2b92a072851d", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "d87439bd-32a6-4da4-95ec-47b66ce406e9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8281f66b-d84a-4f2c-987e-df07be11ee2c", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:59:53.9444702-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "3f0648ab-c964-4347-a37b-a4f8f3e9846d", "Name": "sample string 1" }, "Unit": { "UnitId": "f7aa2ff2-dedf-45a2-8740-253ed89f142b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "246a221d-694f-400d-bd7d-5c18d6a20b38", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:59:53.9444702-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "6e097fb0-d346-4dab-a999-9192a2238c92", "FieldId": "f2ba2272-353c-48bb-8cb7-c88b0b26191c", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "6e097fb0-d346-4dab-a999-9192a2238c92", "FieldId": "f2ba2272-353c-48bb-8cb7-c88b0b26191c", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T18:59:53.9444702-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "05052eca-b0e9-4cd4-99f7-2a5390b5dbe7", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:59:53.9444702-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "884460e7-6196-417f-87b8-8dfb9393f47a", "CreateDate": "2024-12-21T18:59:53.9444702-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-12-21T18:59:53.9444702-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" }