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": "112cd48a-30ac-482a-8098-2196ff0bd1d7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "1a7fa2fe-03b2-4bd6-bdce-07623e3d58f3", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1ce5fe7c-7d52-467b-ab3e-045878246084", "CreateDate": "2024-10-10T11:31:01.8014164-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T11:31:01.8014164-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "caae9eae-4200-4f5c-9225-46515f228f04", "Name": "sample string 1" }, "Unit": { "UnitId": "a6cb68bd-1340-4479-bc7b-e8606ce97dfd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "54557e52-a894-45c5-b1ef-291c068deaa7", "CreateDate": "2024-10-10T11:31:01.8014164-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T11:31:01.8014164-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T11:31:01.8014164-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "0e8ce97d-2241-4cab-a3e8-3c564566b12e", "CreateDate": "2024-10-10T11:31:01.8014164-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T11:31:01.8014164-07:00", "LastModifiedUser": "sample string 8" }, { "MeasurementTypeId": "112cd48a-30ac-482a-8098-2196ff0bd1d7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "1a7fa2fe-03b2-4bd6-bdce-07623e3d58f3", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1ce5fe7c-7d52-467b-ab3e-045878246084", "CreateDate": "2024-10-10T11:31:01.8014164-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T11:31:01.8014164-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "caae9eae-4200-4f5c-9225-46515f228f04", "Name": "sample string 1" }, "Unit": { "UnitId": "a6cb68bd-1340-4479-bc7b-e8606ce97dfd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "54557e52-a894-45c5-b1ef-291c068deaa7", "CreateDate": "2024-10-10T11:31:01.8014164-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T11:31:01.8014164-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T11:31:01.8014164-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "0e8ce97d-2241-4cab-a3e8-3c564566b12e", "CreateDate": "2024-10-10T11:31:01.8014164-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T11:31:01.8014164-07:00", "LastModifiedUser": "sample string 8" } ], "Total": 1, "Message": "sample string 1" }