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": "d28c825c-9e37-4ff2-9193-0593ee992156",
      "Asset": {
        "AssetId": "e794b020-c110-4ba3-abd1-eb3d3dd760bd",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "14b7b963-6b6a-4aba-b884-fd0358fa6886",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "80cae42e-7f4f-4baf-9636-37dcda409062",
          "CreateDate": "2024-10-10T05:07:01.8612916-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-10-10T05:07:01.8612916-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "2a5cef7e-e466-4c1e-84e5-1385c2c7611d",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-10-10T05:07:01.8612916-07:00",
          "MeasurementValueNeededDate": "2024-10-10T05:07:01.8612916-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "5b42dd76-ccf0-421f-83f4-8de9b7005e07",
          "CreateDate": "2024-10-10T05:07:01.8612916-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T05:07:01.8612916-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-10-10T05:07:01.8612916-07:00",
        "MeasurementValueNeededDate": "2024-10-10T05:07:01.8612916-07:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "ba6eb68d-ff75-445f-87a7-de3fdfdf33bf",
        "CreateDate": "2024-10-10T05:07:01.8612916-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-10-10T05:07:01.8612916-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "ValueText": "sample string 1",
      "EffectiveDate": "2024-10-10T05:07:01.8612916-07:00",
      "Location": "sample string 2",
      "MeasurementType": {
        "MeasurementTypeId": "6478491e-4582-45eb-b797-949bc3ec2a27",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "14b7b963-6b6a-4aba-b884-fd0358fa6886",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "80cae42e-7f4f-4baf-9636-37dcda409062",
          "CreateDate": "2024-10-10T05:07:01.8612916-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-10-10T05:07:01.8612916-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "395ea8dd-b989-489f-9916-df8f82bfbfb0",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "ee3186d4-e94d-46e6-ab16-457737994c7e",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f2c69e0b-0f2c-41ad-b85d-4f9648e8acf0",
          "CreateDate": "2024-10-10T05:07:01.8612916-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T05:07:01.8612916-07: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": "2024-10-10T05:07:01.8612916-07:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "e67a9d72-5e62-4137-92ef-3672045de407",
        "CreateDate": "2024-10-10T05:07:01.8612916-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-10-10T05:07:01.8612916-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "IsValid": true,
      "IsValidMessage": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "95671b8f-1f64-43ee-b44f-be87fa9800a5",
      "CreateDate": "2024-10-10T05:07:01.8612916-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-10-10T05:07:01.8612916-07:00",
      "LastModifiedUser": "sample string 8"
    },
    {
      "MeasurementId": "d28c825c-9e37-4ff2-9193-0593ee992156",
      "Asset": {
        "AssetId": "e794b020-c110-4ba3-abd1-eb3d3dd760bd",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "14b7b963-6b6a-4aba-b884-fd0358fa6886",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "80cae42e-7f4f-4baf-9636-37dcda409062",
          "CreateDate": "2024-10-10T05:07:01.8612916-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-10-10T05:07:01.8612916-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "2a5cef7e-e466-4c1e-84e5-1385c2c7611d",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-10-10T05:07:01.8612916-07:00",
          "MeasurementValueNeededDate": "2024-10-10T05:07:01.8612916-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "5b42dd76-ccf0-421f-83f4-8de9b7005e07",
          "CreateDate": "2024-10-10T05:07:01.8612916-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T05:07:01.8612916-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-10-10T05:07:01.8612916-07:00",
        "MeasurementValueNeededDate": "2024-10-10T05:07:01.8612916-07:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "ba6eb68d-ff75-445f-87a7-de3fdfdf33bf",
        "CreateDate": "2024-10-10T05:07:01.8612916-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-10-10T05:07:01.8612916-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "ValueText": "sample string 1",
      "EffectiveDate": "2024-10-10T05:07:01.8612916-07:00",
      "Location": "sample string 2",
      "MeasurementType": {
        "MeasurementTypeId": "6478491e-4582-45eb-b797-949bc3ec2a27",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "14b7b963-6b6a-4aba-b884-fd0358fa6886",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "80cae42e-7f4f-4baf-9636-37dcda409062",
          "CreateDate": "2024-10-10T05:07:01.8612916-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-10-10T05:07:01.8612916-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "395ea8dd-b989-489f-9916-df8f82bfbfb0",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "ee3186d4-e94d-46e6-ab16-457737994c7e",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f2c69e0b-0f2c-41ad-b85d-4f9648e8acf0",
          "CreateDate": "2024-10-10T05:07:01.8612916-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T05:07:01.8612916-07: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": "2024-10-10T05:07:01.8612916-07:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "e67a9d72-5e62-4137-92ef-3672045de407",
        "CreateDate": "2024-10-10T05:07:01.8612916-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-10-10T05:07:01.8612916-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "IsValid": true,
      "IsValidMessage": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "95671b8f-1f64-43ee-b44f-be87fa9800a5",
      "CreateDate": "2024-10-10T05:07:01.8612916-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-10-10T05:07:01.8612916-07:00",
      "LastModifiedUser": "sample string 8"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}