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": "9548716b-d813-4bdd-ba60-cabc664e85dd", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "19bc2a76-9c51-4027-b973-6f6882f79945", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f4ca5709-b0fe-410d-ac9a-bae78557b7c1", "CreateDate": "2024-11-21T04:36:43.0106043-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:36:43.0106043-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "82ff54c7-cb48-4711-95d4-c46a6c26c6bc", "Name": "sample string 1" }, "Unit": { "UnitId": "bb978d45-6c4d-46f2-9d43-c26b9cdffc30", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "2587e121-4f8c-42eb-a179-8ab5a3709f40", "CreateDate": "2024-11-21T04:36:43.0106043-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:36:43.0106043-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2318b879-95a3-4278-bc23-f866f078a21c", "FieldId": "fff8d06d-1c3e-4309-a5e5-bd68380bb4e6", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2318b879-95a3-4278-bc23-f866f078a21c", "FieldId": "fff8d06d-1c3e-4309-a5e5-bd68380bb4e6", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T04:36:43.0106043-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "c9595886-f82d-4498-a88a-7175efcb50d7", "CreateDate": "2024-11-21T04:36:43.0106043-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:36:43.0106043-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }