GET MeasurementTypes?measurementTypeId={measurementTypeId}
Retrieves a measurement type by its Id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
measurementTypeId |
Id of the measurement type |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
On success, the measurement type.
Name | Description | Type | Additional information |
---|---|---|---|
Data | MeasurementType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "MeasurementTypeId": "b093cf53-741f-4b30-923f-60c3a721f609", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "47577c69-288d-4a57-b378-9141efd89dd1", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a75ba19b-4940-4c67-ac40-1436affd1790", "CreateDate": "2021-04-17T07:25:29.9140569-07:00", "CreateUser": "sample string 6", "CreateMachine": "sample string 7", "LastModifiedDate": "2021-04-17T07:25:29.9140569-07:00", "LastModifiedUser": "sample string 8", "LastModifiedMachine": "sample string 9" }, "DataType": { "DataTypeId": "192b7a0d-a0ab-4c72-bca0-87e12f955dec", "Name": "sample string 1" }, "Unit": { "UnitId": "98dc52c3-0bf7-46f9-ac50-3a8ee4ad7a45", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4bc4683e-0abf-4b36-b400-b0af9b06ce83", "CreateDate": "2021-04-17T07:25:29.9140569-07:00", "CreateUser": "sample string 5", "CreateMachine": "sample string 6", "LastModifiedDate": "2021-04-17T07:25:29.9140569-07:00", "LastModifiedUser": "sample string 7", "LastModifiedMachine": "sample string 8" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "FrequencyNeeded": 1, "ValueNeededDate": "2021-04-17T07:25:29.9140569-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "a9d26d54-b827-49bd-8b35-85d795aea3df", "CreateDate": "2021-04-17T07:25:29.9140569-07:00", "CreateUser": "sample string 7", "CreateMachine": "sample string 8", "LastModifiedDate": "2021-04-17T07:25:29.9140569-07:00", "LastModifiedUser": "sample string 9", "LastModifiedMachine": "sample string 10" }, "Total": 1, "Message": "sample string 1" }