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": "8f0b6b66-7898-453f-96f1-d65ea62718a7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "eeb1f11e-504a-4b53-82f7-44541e6db614", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "47927ff6-b64f-4791-ab39-540b56d3c327", "CreateDate": "2025-02-05T06:13:24.603426-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:13:24.603426-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "52dfe5df-4b76-4f40-9e3c-0dc661973e23", "Name": "sample string 1" }, "Unit": { "UnitId": "c25a0e47-2a9d-4fdb-8a71-86ecf8930e98", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "30051132-d893-4440-b051-c4382c4f7d18", "CreateDate": "2025-02-05T06:13:24.603426-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:13:24.603426-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "96dddfa8-552d-4f67-a86d-7bb232a4b9da", "FieldId": "f8e835d0-b5f5-41fb-9aba-7e05bfc002c1", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "96dddfa8-552d-4f67-a86d-7bb232a4b9da", "FieldId": "f8e835d0-b5f5-41fb-9aba-7e05bfc002c1", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-05T06:13:24.603426-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "f579c74b-dced-483a-9069-0e97fd0794df", "CreateDate": "2025-02-05T06:13:24.603426-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T06:13:24.603426-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }