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": "733cf2e2-3a6d-4aee-bf09-2a2cb1be9aba", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "34fb5a4e-a423-495f-97e0-8457b842b31d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b3236557-03c2-4680-88db-33d771e61fb4", "CreateDate": "2025-01-30T17:02:43.7913862-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:02:43.7913862-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "c5d22139-ca1d-491e-b743-d862666d06f9", "Name": "sample string 1" }, "Unit": { "UnitId": "6b8772cb-6db4-47f5-9bf8-17bd4b1b013f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "11f4e473-ea48-45f9-86bf-014ae2286cfb", "CreateDate": "2025-01-30T17:02:43.7913862-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:02:43.7913862-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a5e5230b-896d-4a42-8309-c396e712d51c", "FieldId": "1bfe5f9a-110d-4065-b317-32adba109337", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a5e5230b-896d-4a42-8309-c396e712d51c", "FieldId": "1bfe5f9a-110d-4065-b317-32adba109337", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-01-30T17:02:43.7913862-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "1b7481e1-b552-4f2f-a366-b9eeefab94f3", "CreateDate": "2025-01-30T17:02:43.7913862-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:02:43.7913862-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }