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": "1cc7e1a1-be2e-4629-a30c-0e27e07b113f", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "ae6566b5-2e62-401a-bc8c-11e0e7b2f98a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "45d89fa2-e4f9-4b9a-b02d-13e79e625780", "CreateDate": "2024-10-10T12:21:04.1779964-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T12:21:04.1779964-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "85c5f76d-216a-4b22-b8b7-f90d18b5d1db", "Name": "sample string 1" }, "Unit": { "UnitId": "27777305-72b8-4aa3-922a-b6c1c4b60bb0", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "cb1af90e-82da-4ba0-8614-82a64cc1c1d3", "CreateDate": "2024-10-10T12:21:04.1779964-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T12:21:04.1779964-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-10T12:21:04.1779964-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "c3ddc572-088f-4e05-9797-45b5a8206dcc", "CreateDate": "2024-10-10T12:21:04.1779964-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T12:21:04.1779964-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }