GET MeasurementTypes?measurementTypeId={measurementTypeId}

Retrieves a measurement type by its Id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
measurementTypeId

Id of the measurement type

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

On success, the measurement type.

NameDescriptionTypeAdditional information
Data

MeasurementType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "MeasurementTypeId": "bd70ba6d-eb07-4610-a299-78e59e08d012",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AssetType": {
      "AssetTypeId": "ad292849-68eb-4c20-8c75-ada682f3bfc1",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "0d5182fa-d469-4860-9444-e5176b2aebc8",
      "CreateDate": "2024-12-22T02:57:19.7917883-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-22T02:57:19.7917883-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "DataType": {
      "DataTypeId": "3b398d74-0ebc-467a-8d79-0725abae4af0",
      "Name": "sample string 1"
    },
    "Unit": {
      "UnitId": "4631286e-af1f-4523-a28a-2df46fa5a1b3",
      "Code": "sample string 1",
      "Description": "sample string 2",
      "SourceSystemId": "sample string 3",
      "CompanyId": "c6709089-a001-444b-ba9e-eaa99cee8575",
      "CreateDate": "2024-12-22T02:57:19.7917883-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-12-22T02:57:19.7917883-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "MinValue": 1.0,
    "MaxValue": 1.0,
    "MinLength": 1,
    "MaxLength": 1,
    "HasValidValues": true,
    "ValidValues": [
      {
        "ValidValueId": "f4ca261c-592b-4b97-8b9c-4324e7d14b81",
        "FieldId": "db37170e-8c29-4133-833f-a60a4cc20b31",
        "FieldName": "sample string 1",
        "FieldLabel": "sample string 2",
        "ValueText": "sample string 3",
        "LabelText": "sample string 4"
      },
      {
        "ValidValueId": "f4ca261c-592b-4b97-8b9c-4324e7d14b81",
        "FieldId": "db37170e-8c29-4133-833f-a60a4cc20b31",
        "FieldName": "sample string 1",
        "FieldLabel": "sample string 2",
        "ValueText": "sample string 3",
        "LabelText": "sample string 4"
      }
    ],
    "FrequencyNeeded": 1,
    "ValueNeededDate": "2024-12-22T02:57:19.7917883-08:00",
    "IsAccumulator": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "5faee1e0-6bfa-44c1-afda-9d880c514b72",
    "CreateDate": "2024-12-22T02:57:19.7917883-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-12-22T02:57:19.7917883-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}