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": "627256b3-0895-4da9-9083-4b17f944e3b2", "Asset": { "AssetId": "6bf5664b-62e9-4dd7-90aa-0577d1acd6e3", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ee7d365d-0d09-4130-9bcd-2c34d448bb26", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e8a5e580-4f8c-4391-b14c-db1b999139a3", "CreateDate": "2024-11-22T12:52:40.8026616-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T12:52:40.8026616-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "1dc1442a-495e-4bda-86ac-0a76a5eaa9f5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T12:52:40.8026616-08:00", "MeasurementValueNeededDate": "2024-11-22T12:52:40.8026616-08:00", "SourceSystemId": "sample string 3", "CompanyId": "1b89a101-50a6-423d-8f4b-89a03f944fa6", "CreateDate": "2024-11-22T12:52:40.8026616-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T12:52:40.8026616-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-22T12:52:40.8026616-08:00", "MeasurementValueNeededDate": "2024-11-22T12:52:40.8026616-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "62a5cd80-c3f8-4059-94a8-dd56f75274cb", "CreateDate": "2024-11-22T12:52:40.8026616-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T12:52:40.8026616-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-11-22T12:52:40.8026616-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "6e016db5-7d6c-422e-88e3-dc193328e0a6", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "ee7d365d-0d09-4130-9bcd-2c34d448bb26", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e8a5e580-4f8c-4391-b14c-db1b999139a3", "CreateDate": "2024-11-22T12:52:40.8026616-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T12:52:40.8026616-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "0291b012-5342-4525-bdc6-b2a4e84dd5cb", "Name": "sample string 1" }, "Unit": { "UnitId": "c509137d-81ad-42b9-b8fb-87a98278997d", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4f13c4f2-ec7e-474d-ac14-f151589d6424", "CreateDate": "2024-11-22T12:52:40.8026616-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T12:52:40.8026616-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b0d09755-3dce-48aa-a885-52eafba50a28", "FieldId": "32e2413d-69a9-474f-b856-35f5524d5088", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b0d09755-3dce-48aa-a885-52eafba50a28", "FieldId": "32e2413d-69a9-474f-b856-35f5524d5088", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T12:52:40.8026616-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "32bfce62-9b1a-4b18-8c3a-58e60e12bc06", "CreateDate": "2024-11-22T12:52:40.8026616-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T12:52:40.8026616-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "9ae5517e-0dfb-41ae-9a34-5a11fc72a354", "CreateDate": "2024-11-22T12:52:40.8026616-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-11-22T12:52:40.8026616-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" }