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": "0ffc0be4-a8e6-47cf-ad56-d3fe107ce954", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "28f1ab28-522e-4d9e-88f1-f5b98af50bb3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c46b57e2-abb4-4c09-81e8-62e14fcb207c", "CreateDate": "2025-04-17T04:23:58.0627558-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:23:58.0627558-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "4fd34283-e3a7-4a18-a253-1caccc0c759c", "Name": "sample string 1" }, "Unit": { "UnitId": "2efae4dd-6ea8-406e-b0b7-c528558fe64b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d67f511a-7a30-48d0-8e84-4bfe0bf5ef96", "CreateDate": "2025-04-17T04:23:58.0627558-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:23:58.0627558-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "02125f10-ee72-4738-ae81-dc14faa4aabd", "FieldId": "5e797d77-3c3e-4a60-9e5e-2ec792a683ae", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "02125f10-ee72-4738-ae81-dc14faa4aabd", "FieldId": "5e797d77-3c3e-4a60-9e5e-2ec792a683ae", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-17T04:23:58.0627558-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "e5666979-0825-48cf-b310-03eb9fb9ae2a", "CreateDate": "2025-04-17T04:23:58.0627558-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:23:58.0627558-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }