GET Measurements?assetId={assetId}&measurementTypeId={measurementTypeId}&take={take}&skip={skip}&sort[0].Field={sort[0].Field}&sort[0].Dir={sort[0].Dir}&sort[1].Field={sort[1].Field}&sort[1].Dir={sort[1].Dir}
Retrieves measurements for the given parameters. All parameters are optional.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
assetId |
Id of the asset |
globally unique identifier |
None. |
measurementTypeId |
Id of the measurement type |
globally unique identifier |
None. |
take |
Number of measurements to retrieve. Default is all measurements |
integer |
None. |
skip |
Number of measurements to skip before retrieval |
integer |
Default value is 0 |
sort |
List of sorting rules to describe how to sort the measurements before retrieval |
Collection of Sort |
None. |
Operator | string |
None. |
|
Field | string |
None. |
|
Value | string |
None. |
|
Logic | string |
None. |
|
Filters | Collection of Filter |
None. |
Body Parameters
None.
Response Information
Resource Description
On success, a list of measurements.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of Measurement |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "MeasurementId": "da7e8c00-8c27-43eb-b8e7-6598d13a85ce", "Asset": { "AssetId": "860cdc01-4bb1-47e1-a3b4-f6156aab52fe", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "bf88d347-3ae7-4a80-8df8-08087cd1d1f7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "311b9d87-da3e-4c34-9033-c8557a89faf9", "CreateDate": "2024-12-08T08:18:53.4092906-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T08:18:53.4092906-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "20fc3244-8500-46e1-b170-67cfb7abac4c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T08:18:53.4092906-08:00", "MeasurementValueNeededDate": "2024-12-08T08:18:53.4092906-08:00", "SourceSystemId": "sample string 3", "CompanyId": "19745d53-a805-4ad5-9b11-f3955f423fa8", "CreateDate": "2024-12-08T08:18:53.4092906-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T08:18:53.4092906-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-08T08:18:53.4092906-08:00", "MeasurementValueNeededDate": "2024-12-08T08:18:53.4092906-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "64ce7044-0d66-4327-9023-e8dac1101d17", "CreateDate": "2024-12-08T08:18:53.4092906-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T08:18:53.4092906-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-12-08T08:18:53.4092906-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "1b3e7198-5025-4df4-8759-dcbcad9abba9", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bf88d347-3ae7-4a80-8df8-08087cd1d1f7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "311b9d87-da3e-4c34-9033-c8557a89faf9", "CreateDate": "2024-12-08T08:18:53.4092906-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T08:18:53.4092906-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "65300b73-c754-42c7-b07c-bc4266a7db57", "Name": "sample string 1" }, "Unit": { "UnitId": "33aa95f2-506c-46a8-a718-f9fdf5b12c07", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "5cfa4806-377f-4372-a190-3bd98e1fba9e", "CreateDate": "2024-12-08T08:18:53.4092906-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T08:18:53.4092906-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "0d949fc5-a0b4-41d6-bbeb-55815a16b23a", "FieldId": "79422013-62a0-43a8-b8ec-a93b11f57c40", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "0d949fc5-a0b4-41d6-bbeb-55815a16b23a", "FieldId": "79422013-62a0-43a8-b8ec-a93b11f57c40", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-08T08:18:53.4092906-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "07a71cc0-b8b8-4f7d-88cb-e768dd995ee1", "CreateDate": "2024-12-08T08:18:53.4092906-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T08:18:53.4092906-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "43c431a7-c5b6-4ca4-a705-865a646fa676", "CreateDate": "2024-12-08T08:18:53.4092906-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-12-08T08:18:53.4092906-08:00", "LastModifiedUser": "sample string 9" }, { "MeasurementId": "da7e8c00-8c27-43eb-b8e7-6598d13a85ce", "Asset": { "AssetId": "860cdc01-4bb1-47e1-a3b4-f6156aab52fe", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "bf88d347-3ae7-4a80-8df8-08087cd1d1f7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "311b9d87-da3e-4c34-9033-c8557a89faf9", "CreateDate": "2024-12-08T08:18:53.4092906-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T08:18:53.4092906-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "20fc3244-8500-46e1-b170-67cfb7abac4c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T08:18:53.4092906-08:00", "MeasurementValueNeededDate": "2024-12-08T08:18:53.4092906-08:00", "SourceSystemId": "sample string 3", "CompanyId": "19745d53-a805-4ad5-9b11-f3955f423fa8", "CreateDate": "2024-12-08T08:18:53.4092906-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T08:18:53.4092906-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-08T08:18:53.4092906-08:00", "MeasurementValueNeededDate": "2024-12-08T08:18:53.4092906-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "64ce7044-0d66-4327-9023-e8dac1101d17", "CreateDate": "2024-12-08T08:18:53.4092906-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T08:18:53.4092906-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-12-08T08:18:53.4092906-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "1b3e7198-5025-4df4-8759-dcbcad9abba9", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bf88d347-3ae7-4a80-8df8-08087cd1d1f7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "311b9d87-da3e-4c34-9033-c8557a89faf9", "CreateDate": "2024-12-08T08:18:53.4092906-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T08:18:53.4092906-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "65300b73-c754-42c7-b07c-bc4266a7db57", "Name": "sample string 1" }, "Unit": { "UnitId": "33aa95f2-506c-46a8-a718-f9fdf5b12c07", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "5cfa4806-377f-4372-a190-3bd98e1fba9e", "CreateDate": "2024-12-08T08:18:53.4092906-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T08:18:53.4092906-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "0d949fc5-a0b4-41d6-bbeb-55815a16b23a", "FieldId": "79422013-62a0-43a8-b8ec-a93b11f57c40", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "0d949fc5-a0b4-41d6-bbeb-55815a16b23a", "FieldId": "79422013-62a0-43a8-b8ec-a93b11f57c40", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-08T08:18:53.4092906-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "07a71cc0-b8b8-4f7d-88cb-e768dd995ee1", "CreateDate": "2024-12-08T08:18:53.4092906-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T08:18:53.4092906-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "43c431a7-c5b6-4ca4-a705-865a646fa676", "CreateDate": "2024-12-08T08:18:53.4092906-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-12-08T08:18:53.4092906-08:00", "LastModifiedUser": "sample string 9" } ], "Total": 1, "Message": "sample string 1" }