GET AssetMeasurementTypes/GetAllForAsset?assetId={assetId}
Retrieves all asset measurement types for the given asset. This includes asset measurement types of that asset that may not have a value.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
assetId |
Id of the asset |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
On success, a list of all asset measurement types for the asset.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of AssetMeasurementType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "AssetMeasurementTypeId": "231aa411-c6c2-4b5a-97c2-8f4a56ef7425", "Asset": { "AssetId": "5582a93d-78f2-49ab-8a37-9a2f39fe87a9", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "95a6d672-84c6-4d1f-9b7b-ee79fcc468bb", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4d375fd6-9eae-4c4e-b331-fce28cfe9ea7", "CreateDate": "2025-05-09T00:33:59.1772512-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T00:33:59.1772512-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "165e2b29-65fb-48a8-a966-c61cae6b66a0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T00:33:59.1772512-07:00", "MeasurementValueNeededDate": "2025-05-09T00:33:59.1772512-07:00", "SourceSystemId": "sample string 3", "CompanyId": "60813531-dbb5-4382-b35b-80db7e220c89", "CreateDate": "2025-05-09T00:33:59.1772512-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T00:33:59.1772512-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-05-09T00:33:59.1772512-07:00", "MeasurementValueNeededDate": "2025-05-09T00:33:59.1772512-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "22f18053-abf7-44c1-9677-08aed5004348", "CreateDate": "2025-05-09T00:33:59.1772512-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T00:33:59.1772512-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "21f2e8e8-a15a-4305-8a1e-5b0a2f375e2a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "95a6d672-84c6-4d1f-9b7b-ee79fcc468bb", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4d375fd6-9eae-4c4e-b331-fce28cfe9ea7", "CreateDate": "2025-05-09T00:33:59.1772512-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T00:33:59.1772512-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "104d560c-a919-4fd5-99b9-c76b8da4c694", "Name": "sample string 1" }, "Unit": { "UnitId": "99a3dc01-55a6-4a68-9078-3d15f9817418", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8562c171-65ba-4286-9e51-30f83baf419c", "CreateDate": "2025-05-09T00:33:59.1772512-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T00:33:59.1772512-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": "2025-05-09T00:33:59.1772512-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "65244993-c311-464f-9e56-ea1ef4f7b11e", "CreateDate": "2025-05-09T00:33:59.1772512-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T00:33:59.1772512-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-09T00:33:59.1772512-07:00", "LastValueDate": "2025-05-09T00:33:59.1772512-07:00", "SourceSystemId": "sample string 2", "CompanyId": "45df4575-bb0b-4929-a920-8d9e74d79770", "CreateDate": "2025-05-09T00:33:59.1772512-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-05-09T00:33:59.1772512-07:00", "LastModifiedUser": "sample string 5" }, { "AssetMeasurementTypeId": "231aa411-c6c2-4b5a-97c2-8f4a56ef7425", "Asset": { "AssetId": "5582a93d-78f2-49ab-8a37-9a2f39fe87a9", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "95a6d672-84c6-4d1f-9b7b-ee79fcc468bb", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4d375fd6-9eae-4c4e-b331-fce28cfe9ea7", "CreateDate": "2025-05-09T00:33:59.1772512-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T00:33:59.1772512-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "165e2b29-65fb-48a8-a966-c61cae6b66a0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T00:33:59.1772512-07:00", "MeasurementValueNeededDate": "2025-05-09T00:33:59.1772512-07:00", "SourceSystemId": "sample string 3", "CompanyId": "60813531-dbb5-4382-b35b-80db7e220c89", "CreateDate": "2025-05-09T00:33:59.1772512-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T00:33:59.1772512-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-05-09T00:33:59.1772512-07:00", "MeasurementValueNeededDate": "2025-05-09T00:33:59.1772512-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "22f18053-abf7-44c1-9677-08aed5004348", "CreateDate": "2025-05-09T00:33:59.1772512-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T00:33:59.1772512-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "21f2e8e8-a15a-4305-8a1e-5b0a2f375e2a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "95a6d672-84c6-4d1f-9b7b-ee79fcc468bb", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4d375fd6-9eae-4c4e-b331-fce28cfe9ea7", "CreateDate": "2025-05-09T00:33:59.1772512-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T00:33:59.1772512-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "104d560c-a919-4fd5-99b9-c76b8da4c694", "Name": "sample string 1" }, "Unit": { "UnitId": "99a3dc01-55a6-4a68-9078-3d15f9817418", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8562c171-65ba-4286-9e51-30f83baf419c", "CreateDate": "2025-05-09T00:33:59.1772512-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T00:33:59.1772512-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": "2025-05-09T00:33:59.1772512-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "65244993-c311-464f-9e56-ea1ef4f7b11e", "CreateDate": "2025-05-09T00:33:59.1772512-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T00:33:59.1772512-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-09T00:33:59.1772512-07:00", "LastValueDate": "2025-05-09T00:33:59.1772512-07:00", "SourceSystemId": "sample string 2", "CompanyId": "45df4575-bb0b-4929-a920-8d9e74d79770", "CreateDate": "2025-05-09T00:33:59.1772512-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-05-09T00:33:59.1772512-07:00", "LastModifiedUser": "sample string 5" } ], "Total": 1, "Message": "sample string 1" }