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": "31fb5b5b-9d39-4ad0-98bb-745ae47e14a4", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "ca5c3f21-be8b-401f-be87-0c14d2cf86f1", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0d6cc916-216a-4a03-a843-8299ee16ca09", "CreateDate": "2024-12-08T17:04:32.3217178-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T17:04:32.3217178-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "0de9655b-7fe0-4ed7-ac56-787ea501194e", "Name": "sample string 1" }, "Unit": { "UnitId": "102b9db0-0e0f-4b24-ac86-16d7ecb8b8c6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ae063605-3cbd-4d53-8076-46d5a0240339", "CreateDate": "2024-12-08T17:04:32.3217178-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T17:04:32.3217178-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "897e992e-2a75-479d-855e-96ff45a09ec7", "FieldId": "3daaa9cf-2295-4512-857c-d5ee555555e1", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "897e992e-2a75-479d-855e-96ff45a09ec7", "FieldId": "3daaa9cf-2295-4512-857c-d5ee555555e1", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-08T17:04:32.3217178-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "ab6caf0a-0267-4e18-8b28-4b7b531e058c", "CreateDate": "2024-12-08T17:04:32.3217178-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T17:04:32.3217178-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }