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": "f3b090aa-da64-4a9e-94fb-4efacf8773f2",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AssetType": {
      "AssetTypeId": "ee619d55-1ea1-4ac0-8296-3bb5b2772a0f",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "88e7ca0b-98f1-4ab4-a6f6-9e785ea7ae8c",
      "CreateDate": "2024-12-21T19:18:51.8459764-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-21T19:18:51.8459764-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "DataType": {
      "DataTypeId": "22f1bec4-6fa4-49c1-8f7d-70fbd51c3cc2",
      "Name": "sample string 1"
    },
    "Unit": {
      "UnitId": "cbf5ee0a-d27b-42d5-8bb5-7a246bd4a456",
      "Code": "sample string 1",
      "Description": "sample string 2",
      "SourceSystemId": "sample string 3",
      "CompanyId": "3044050a-79f0-46da-b894-bd54624aa278",
      "CreateDate": "2024-12-21T19:18:51.8459764-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-12-21T19:18:51.8459764-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": "2024-12-21T19:18:51.8459764-08:00",
    "IsAccumulator": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "df0273f2-ff6d-4f50-a194-193881317a9c",
    "CreateDate": "2024-12-21T19:18:51.8459764-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-12-21T19:18:51.8459764-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}