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": "df4654a2-7b28-4f36-b7b7-786e491e1ac9", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "34e05646-f80c-46f7-a67d-6fb83d9384eb", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9dacc605-58b1-4a22-855c-7a2b47bb722e", "CreateDate": "2024-12-08T08:27:16.1858379-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T08:27:16.1858379-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "7811596f-b7c9-4a72-8bbc-98ed37b46d5a", "Name": "sample string 1" }, "Unit": { "UnitId": "5c9371e6-acc4-4bf7-88e4-61a0478f39c8", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "854cf05d-c859-4662-acfc-a7423fbd8362", "CreateDate": "2024-12-08T08:27:16.1858379-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T08:27:16.1858379-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "70d42594-0a9d-46de-afbb-e58d3a8ed717", "FieldId": "6d413540-cf0d-4614-9ea5-9c63466bd7ea", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "70d42594-0a9d-46de-afbb-e58d3a8ed717", "FieldId": "6d413540-cf0d-4614-9ea5-9c63466bd7ea", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-08T08:27:16.1858379-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "86f0b4f4-9b0e-4f62-8463-bca39f4a7e41", "CreateDate": "2024-12-08T08:27:16.1858379-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T08:27:16.1858379-08:00", "LastModifiedUser": "sample string 8" }, { "MeasurementTypeId": "df4654a2-7b28-4f36-b7b7-786e491e1ac9", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "34e05646-f80c-46f7-a67d-6fb83d9384eb", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9dacc605-58b1-4a22-855c-7a2b47bb722e", "CreateDate": "2024-12-08T08:27:16.1858379-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T08:27:16.1858379-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "7811596f-b7c9-4a72-8bbc-98ed37b46d5a", "Name": "sample string 1" }, "Unit": { "UnitId": "5c9371e6-acc4-4bf7-88e4-61a0478f39c8", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "854cf05d-c859-4662-acfc-a7423fbd8362", "CreateDate": "2024-12-08T08:27:16.1858379-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T08:27:16.1858379-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "70d42594-0a9d-46de-afbb-e58d3a8ed717", "FieldId": "6d413540-cf0d-4614-9ea5-9c63466bd7ea", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "70d42594-0a9d-46de-afbb-e58d3a8ed717", "FieldId": "6d413540-cf0d-4614-9ea5-9c63466bd7ea", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-08T08:27:16.1858379-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "86f0b4f4-9b0e-4f62-8463-bca39f4a7e41", "CreateDate": "2024-12-08T08:27:16.1858379-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T08:27:16.1858379-08:00", "LastModifiedUser": "sample string 8" } ], "Total": 1, "Message": "sample string 1" }