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": "6a181fec-7006-43f5-9b7f-a634789034bb", "Asset": { "AssetId": "99e99815-a9a2-4517-8903-11bb5476dec1", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4e1695cf-cfa0-43a6-956f-f95261e87495", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "86ce1a89-792f-452c-8147-b35f576c422d", "CreateDate": "2024-12-26T03:38:06.7862703-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-26T03:38:06.7862703-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "49590814-9d1d-44bf-b218-aa72031de815", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T03:38:06.7862703-08:00", "MeasurementValueNeededDate": "2024-12-26T03:38:06.7862703-08:00", "SourceSystemId": "sample string 3", "CompanyId": "7b22d022-37ed-4901-92c5-1ab635edd625", "CreateDate": "2024-12-26T03:38:06.7862703-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:38:06.7862703-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-26T03:38:06.7862703-08:00", "MeasurementValueNeededDate": "2024-12-26T03:38:06.7862703-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "2bcb31f5-326f-414c-8fec-0a8f3db73629", "CreateDate": "2024-12-26T03:38:06.7862703-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-26T03:38:06.7862703-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-12-26T03:38:06.7862703-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "afceb015-5590-4f9e-8a7e-b27553a1e49b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "4e1695cf-cfa0-43a6-956f-f95261e87495", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "86ce1a89-792f-452c-8147-b35f576c422d", "CreateDate": "2024-12-26T03:38:06.7862703-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-26T03:38:06.7862703-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "4b4a3e08-530b-45e8-ac2b-21ff0481355c", "Name": "sample string 1" }, "Unit": { "UnitId": "8ec0e299-7e41-4c7c-8b7c-40608125fbfa", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "21fb3bcc-7c78-412a-b784-7fe28be3f41b", "CreateDate": "2024-12-26T03:38:06.7862703-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:38:06.7862703-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f3956b5f-4c71-43b2-9eb4-09a875f92f1a", "FieldId": "19fd1288-0ada-4015-935b-d00ad04abd1c", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f3956b5f-4c71-43b2-9eb4-09a875f92f1a", "FieldId": "19fd1288-0ada-4015-935b-d00ad04abd1c", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-26T03:38:06.7862703-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "09330630-4a9e-41e3-85f2-f638179f7745", "CreateDate": "2024-12-26T03:38:06.7862703-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-26T03:38:06.7862703-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "c3b86fc1-e506-4f04-97ea-8a0b9cd40757", "CreateDate": "2024-12-26T03:38:06.7862703-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-12-26T03:38:06.7862703-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" }