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

NameDescriptionTypeAdditional 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.

NameDescriptionTypeAdditional information
Data

Collection of Measurement

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "MeasurementId": "ecd487c6-3fe8-473c-981d-9ed8fc1117c5",
      "Asset": {
        "AssetId": "e1d908e7-a9d5-4d58-b776-3243dc4ff2e0",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "9b23aa58-9ed2-4907-b8bf-7241d9fd14d0",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "9e77cfe6-2841-4d51-bd22-aa39e124b3e6",
          "CreateDate": "2022-11-27T03:48:42.5950088-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2022-11-27T03:48:42.5950088-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "483ac7a2-35bf-448a-a7fb-ad3b0cde725d",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2022-11-27T03:48:42.5950088-08:00",
          "MeasurementValueNeededDate": "2022-11-27T03:48:42.5950088-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "904bd8f4-c0a7-4415-a264-cb8d1b986ad1",
          "CreateDate": "2022-11-27T03:48:42.5950088-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-27T03:48:42.5950088-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2022-11-27T03:48:42.5950088-08:00",
        "MeasurementValueNeededDate": "2022-11-27T03:48:42.5950088-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "774116ab-4828-4878-91a6-4127de674d6b",
        "CreateDate": "2022-11-27T03:48:42.5950088-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2022-11-27T03:48:42.5950088-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "ValueText": "sample string 1",
      "EffectiveDate": "2022-11-27T03:48:42.5950088-08:00",
      "Location": "sample string 2",
      "MeasurementType": {
        "MeasurementTypeId": "bde60b4e-fc0e-4a74-b8ce-487610265622",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "9b23aa58-9ed2-4907-b8bf-7241d9fd14d0",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "9e77cfe6-2841-4d51-bd22-aa39e124b3e6",
          "CreateDate": "2022-11-27T03:48:42.5950088-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2022-11-27T03:48:42.5950088-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "64bbee77-2bf7-46b2-bc9e-d8955cd0cc87",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "585b99bb-872a-437e-8280-2a3502863e4e",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "fda8a5b8-12fe-40a4-b0d0-dd4593a61cac",
          "CreateDate": "2022-11-27T03:48:42.5950088-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-27T03:48:42.5950088-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          "sample string 1",
          "sample string 2"
        ],
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2022-11-27T03:48:42.5950088-08:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "02bd3556-a27e-40ef-b0f3-aeb9df57b2b3",
        "CreateDate": "2022-11-27T03:48:42.5950088-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2022-11-27T03:48:42.5950088-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "IsValid": true,
      "IsValidMessage": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "92e72e5d-1cef-49c8-aa1c-31f5de1ab7b4",
      "CreateDate": "2022-11-27T03:48:42.5950088-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2022-11-27T03:48:42.5950088-08:00",
      "LastModifiedUser": "sample string 8"
    },
    {
      "MeasurementId": "ecd487c6-3fe8-473c-981d-9ed8fc1117c5",
      "Asset": {
        "AssetId": "e1d908e7-a9d5-4d58-b776-3243dc4ff2e0",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "9b23aa58-9ed2-4907-b8bf-7241d9fd14d0",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "9e77cfe6-2841-4d51-bd22-aa39e124b3e6",
          "CreateDate": "2022-11-27T03:48:42.5950088-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2022-11-27T03:48:42.5950088-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "483ac7a2-35bf-448a-a7fb-ad3b0cde725d",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2022-11-27T03:48:42.5950088-08:00",
          "MeasurementValueNeededDate": "2022-11-27T03:48:42.5950088-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "904bd8f4-c0a7-4415-a264-cb8d1b986ad1",
          "CreateDate": "2022-11-27T03:48:42.5950088-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-27T03:48:42.5950088-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2022-11-27T03:48:42.5950088-08:00",
        "MeasurementValueNeededDate": "2022-11-27T03:48:42.5950088-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "774116ab-4828-4878-91a6-4127de674d6b",
        "CreateDate": "2022-11-27T03:48:42.5950088-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2022-11-27T03:48:42.5950088-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "ValueText": "sample string 1",
      "EffectiveDate": "2022-11-27T03:48:42.5950088-08:00",
      "Location": "sample string 2",
      "MeasurementType": {
        "MeasurementTypeId": "bde60b4e-fc0e-4a74-b8ce-487610265622",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "9b23aa58-9ed2-4907-b8bf-7241d9fd14d0",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "9e77cfe6-2841-4d51-bd22-aa39e124b3e6",
          "CreateDate": "2022-11-27T03:48:42.5950088-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2022-11-27T03:48:42.5950088-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "64bbee77-2bf7-46b2-bc9e-d8955cd0cc87",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "585b99bb-872a-437e-8280-2a3502863e4e",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "fda8a5b8-12fe-40a4-b0d0-dd4593a61cac",
          "CreateDate": "2022-11-27T03:48:42.5950088-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-27T03:48:42.5950088-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          "sample string 1",
          "sample string 2"
        ],
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2022-11-27T03:48:42.5950088-08:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "02bd3556-a27e-40ef-b0f3-aeb9df57b2b3",
        "CreateDate": "2022-11-27T03:48:42.5950088-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2022-11-27T03:48:42.5950088-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "IsValid": true,
      "IsValidMessage": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "92e72e5d-1cef-49c8-aa1c-31f5de1ab7b4",
      "CreateDate": "2022-11-27T03:48:42.5950088-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2022-11-27T03:48:42.5950088-08:00",
      "LastModifiedUser": "sample string 8"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}