GET MeasurementTypes?assetTypeId={assetTypeId}&take={take}&skip={skip}&sort[0].Field={sort[0].Field}&sort[0].Dir={sort[0].Dir}&sort[1].Field={sort[1].Field}&sort[1].Dir={sort[1].Dir}
Retrieves measurement types for the given parameters. All parameters are optional.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
assetTypeId |
Id of the asset type |
globally unique identifier |
None. |
take |
Number of measurement types to retrieve. Default is all measurement types |
integer |
None. |
skip |
Number of measurement types to skip before retrieval |
integer |
Default value is 0 |
sort |
List of sorting rules to describe how to sort the measurement types before retrieval |
Collection of Sort |
None. |
Operator | string |
None. |
|
Field | string |
None. |
|
Value | string |
None. |
|
Logic | string |
None. |
|
Filters | Collection of Filter |
None. |
Body Parameters
None.
Response Information
Resource Description
On success, a list of measurement types.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of MeasurementType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "MeasurementTypeId": "cd025213-2d99-4cab-8eaf-894f26cf83c0", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "6a7d39ca-05ae-4596-aeaa-a5ee6bf61b05", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c7b54668-5eeb-4871-aa5c-52867dbccf8e", "CreateDate": "2025-04-25T15:34:57.030223-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T15:34:57.030223-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "9221b4e5-d173-40a5-bb07-5f943dbbd88f", "Name": "sample string 1" }, "Unit": { "UnitId": "b0301c75-c368-46f4-8d26-337c14629594", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c43dadfd-4d0b-4b89-9feb-df80bbb0b3df", "CreateDate": "2025-04-25T15:34:57.030223-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T15:34:57.030223-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "782ac50d-6408-4a78-b3d7-3ae59db42d10", "FieldId": "4c388db4-14c8-45fd-ab2c-39d9a4723479", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "782ac50d-6408-4a78-b3d7-3ae59db42d10", "FieldId": "4c388db4-14c8-45fd-ab2c-39d9a4723479", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-25T15:34:57.030223-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "5465d2b1-6ffe-44b3-afce-3534bb74b0d2", "CreateDate": "2025-04-25T15:34:57.030223-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T15:34:57.030223-07:00", "LastModifiedUser": "sample string 8" }, { "MeasurementTypeId": "cd025213-2d99-4cab-8eaf-894f26cf83c0", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "6a7d39ca-05ae-4596-aeaa-a5ee6bf61b05", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c7b54668-5eeb-4871-aa5c-52867dbccf8e", "CreateDate": "2025-04-25T15:34:57.030223-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T15:34:57.030223-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "9221b4e5-d173-40a5-bb07-5f943dbbd88f", "Name": "sample string 1" }, "Unit": { "UnitId": "b0301c75-c368-46f4-8d26-337c14629594", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c43dadfd-4d0b-4b89-9feb-df80bbb0b3df", "CreateDate": "2025-04-25T15:34:57.030223-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T15:34:57.030223-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "782ac50d-6408-4a78-b3d7-3ae59db42d10", "FieldId": "4c388db4-14c8-45fd-ab2c-39d9a4723479", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "782ac50d-6408-4a78-b3d7-3ae59db42d10", "FieldId": "4c388db4-14c8-45fd-ab2c-39d9a4723479", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-25T15:34:57.030223-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "5465d2b1-6ffe-44b3-afce-3534bb74b0d2", "CreateDate": "2025-04-25T15:34:57.030223-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T15:34:57.030223-07:00", "LastModifiedUser": "sample string 8" } ], "Total": 1, "Message": "sample string 1" }