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": "f7176bcb-2156-4044-a63a-cc5c2081bc8a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "2126ec02-aac6-42f6-af2f-4ab06199d1f5", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "3f943fb1-afab-4490-966c-8eaddcb0bfae", "CreateDate": "2024-12-21T19:07:24.7860761-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:07:24.7860761-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "a0956106-1970-4d36-b289-93e96bfe1305", "Name": "sample string 1" }, "Unit": { "UnitId": "4624d59f-ddea-4f7b-bcf4-0425708700d3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "012bd942-a322-466b-92b1-f37356a91c0b", "CreateDate": "2024-12-21T19:07:24.7860761-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:07:24.7860761-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "afe610bf-8f31-4458-a6d5-ec8cb9cfd1ac", "FieldId": "6e5ba46c-2e58-4161-a550-11711e06f07a", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "afe610bf-8f31-4458-a6d5-ec8cb9cfd1ac", "FieldId": "6e5ba46c-2e58-4161-a550-11711e06f07a", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T19:07:24.7860761-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "70e83089-348c-4432-af08-88e2c4664081", "CreateDate": "2024-12-21T19:07:24.7860761-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:07:24.7860761-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }