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": "c7b21640-8d91-4baf-9c84-0c7964e2ada2", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0ac556e6-2a1c-445d-8b0a-318c0a2c4742", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5e6b2026-28d4-4a33-972d-d9994011c6eb", "CreateDate": "2024-11-21T05:13:13.3274577-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:13:13.3274577-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "972d2cc0-4784-4f69-bfc5-a5dd0a4b8128", "Name": "sample string 1" }, "Unit": { "UnitId": "645e5a33-2673-48c6-9e0b-73ef0dd6b7ec", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "abb0ec48-e784-4e24-b1cf-a203031bc9c7", "CreateDate": "2024-11-21T05:13:13.3274577-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:13:13.3274577-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "28a233eb-eba6-4040-8e7a-83bf187881af", "FieldId": "1d21b3f7-d05c-49b6-a55b-e16cad77d137", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "28a233eb-eba6-4040-8e7a-83bf187881af", "FieldId": "1d21b3f7-d05c-49b6-a55b-e16cad77d137", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:13:13.3274577-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "786c3406-8d20-4e0b-aea9-837f1c411ab7", "CreateDate": "2024-11-21T05:13:13.3274577-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:13:13.3274577-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }