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": "09024c52-235a-4c10-967a-01f11ae1c20d", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0a70361f-3698-401e-b213-e01a7b4688f7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "20882322-14d7-4387-a274-b53cf1fcd4d2", "CreateDate": "2025-03-09T08:29:14.4976512-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:29:14.4976512-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "d3bd61cc-6187-43f8-9d1e-2c44d6c36cf9", "Name": "sample string 1" }, "Unit": { "UnitId": "4fd6de65-e522-4958-a7a0-e4775e19f40f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4eeb032a-30b9-4ed5-9ca5-35d477d65ca4", "CreateDate": "2025-03-09T08:29:14.4976512-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:29:14.4976512-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "37cbf8b3-787d-45bb-9a92-6cb634ce37f6", "FieldId": "8317715d-f79f-4864-875d-c5e3cfea4838", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "37cbf8b3-787d-45bb-9a92-6cb634ce37f6", "FieldId": "8317715d-f79f-4864-875d-c5e3cfea4838", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-03-09T08:29:14.4976512-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "d86aec04-6979-49cb-b25e-601fdb1bb548", "CreateDate": "2025-03-09T08:29:14.4976512-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:29:14.4976512-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }