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": "d0b93d7d-eab9-4727-932f-826570d236dc", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c9c4d0ee-7573-45bb-a56d-4a2a0f086c20", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9e12ece6-fec1-4ade-8d31-d730ffc5b184", "CreateDate": "2025-04-25T12:43:00.9179335-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T12:43:00.9179335-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "10ce496b-ca58-4f7b-abeb-5b76636b2baf", "Name": "sample string 1" }, "Unit": { "UnitId": "982cfebc-ff87-4a05-84ca-672f61fd531c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "fedf70b9-c4d0-4b2f-8d7d-c20963b97fb5", "CreateDate": "2025-04-25T12:43:00.9179335-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T12:43:00.9179335-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "7cdf83d2-ca78-49d3-984f-a82c597a7805", "FieldId": "e51fd1ca-451d-470b-abd4-1aa346001206", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "7cdf83d2-ca78-49d3-984f-a82c597a7805", "FieldId": "e51fd1ca-451d-470b-abd4-1aa346001206", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-25T12:43:00.9179335-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "c3ab4d9e-3bac-4ead-bf4b-f5f926491d0e", "CreateDate": "2025-04-25T12:43:00.9179335-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T12:43:00.9179335-07:00", "LastModifiedUser": "sample string 8" }, { "MeasurementTypeId": "d0b93d7d-eab9-4727-932f-826570d236dc", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c9c4d0ee-7573-45bb-a56d-4a2a0f086c20", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9e12ece6-fec1-4ade-8d31-d730ffc5b184", "CreateDate": "2025-04-25T12:43:00.9179335-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T12:43:00.9179335-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "10ce496b-ca58-4f7b-abeb-5b76636b2baf", "Name": "sample string 1" }, "Unit": { "UnitId": "982cfebc-ff87-4a05-84ca-672f61fd531c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "fedf70b9-c4d0-4b2f-8d7d-c20963b97fb5", "CreateDate": "2025-04-25T12:43:00.9179335-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T12:43:00.9179335-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "7cdf83d2-ca78-49d3-984f-a82c597a7805", "FieldId": "e51fd1ca-451d-470b-abd4-1aa346001206", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "7cdf83d2-ca78-49d3-984f-a82c597a7805", "FieldId": "e51fd1ca-451d-470b-abd4-1aa346001206", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-25T12:43:00.9179335-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "c3ab4d9e-3bac-4ead-bf4b-f5f926491d0e", "CreateDate": "2025-04-25T12:43:00.9179335-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T12:43:00.9179335-07:00", "LastModifiedUser": "sample string 8" } ], "Total": 1, "Message": "sample string 1" }