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": "45a6b7a8-9692-4c51-8de3-d9ef9b52d789", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bcd0a81f-2428-4553-b298-3edadb1a3c08", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d7c5686a-bfdb-4081-ae86-f01adab1558e", "CreateDate": "2025-05-08T14:07:51.2369784-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T14:07:51.2369784-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "4a303606-6387-49a1-9ff0-07a6bcab0397", "Name": "sample string 1" }, "Unit": { "UnitId": "5fb33ff6-1a70-41fe-9850-784708a54a48", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8f4dd0f2-88de-4698-b427-1bda396afb67", "CreateDate": "2025-05-08T14:07:51.2369784-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T14:07:51.2369784-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "65e58352-d71b-4484-afa9-11c26488a134", "FieldId": "137d0650-8ef2-4d61-b07e-379ff4033786", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "65e58352-d71b-4484-afa9-11c26488a134", "FieldId": "137d0650-8ef2-4d61-b07e-379ff4033786", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-08T14:07:51.2369784-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "21c3ed3a-1edd-4d81-a7e6-01d450e6ba5c", "CreateDate": "2025-05-08T14:07:51.2369784-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T14:07:51.2369784-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }