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": "58995662-1778-434d-bc85-02fd89cd2d8c", "Asset": { "AssetId": "0dfcb2d0-596c-4136-8829-4c766fd01e84", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "2064af1e-47c2-4aa5-a368-9ec80b68262d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "14e0dcc4-33f7-4a29-aec8-6e88533b0484", "CreateDate": "2025-04-25T11:23:30.8736591-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T11:23:30.8736591-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "4dd5e22b-3edd-4a25-99bc-c3969c243e6b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-25T11:23:30.8736591-07:00", "MeasurementValueNeededDate": "2025-04-25T11:23:30.8736591-07:00", "SourceSystemId": "sample string 3", "CompanyId": "fefaa4b2-28c4-4111-91ad-dfec69a319ea", "CreateDate": "2025-04-25T11:23:30.8736591-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T11:23:30.8736591-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-25T11:23:30.8736591-07:00", "MeasurementValueNeededDate": "2025-04-25T11:23:30.8736591-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "4b6e312c-3872-493c-ac52-948abcab8941", "CreateDate": "2025-04-25T11:23:30.8736591-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T11:23:30.8736591-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "cb58d4ab-3039-47d4-9833-da33d188b0b2", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "2064af1e-47c2-4aa5-a368-9ec80b68262d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "14e0dcc4-33f7-4a29-aec8-6e88533b0484", "CreateDate": "2025-04-25T11:23:30.8736591-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T11:23:30.8736591-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "52d4beb0-1fa9-4cc6-b48b-a28872ea301d", "Name": "sample string 1" }, "Unit": { "UnitId": "c6ebf921-513b-4d24-be67-0dc179f80fd7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4a0b66eb-17c3-4511-a3d7-69b131d9d2f6", "CreateDate": "2025-04-25T11:23:30.8736591-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T11:23:30.8736591-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-04-25T11:23:30.8736591-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "f9cd007c-413f-42f9-9e63-af813f067a79", "CreateDate": "2025-04-25T11:23:30.8736591-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T11:23:30.8736591-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-25T11:23:30.8736591-07:00", "LastValueDate": "2025-04-25T11:23:30.8736591-07:00", "SourceSystemId": "sample string 2", "CompanyId": "9c51bc67-dca2-4946-8f59-f95856853c73", "CreateDate": "2025-04-25T11:23:30.8736591-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-04-25T11:23:30.8736591-07:00", "LastModifiedUser": "sample string 5" }, { "AssetMeasurementTypeId": "58995662-1778-434d-bc85-02fd89cd2d8c", "Asset": { "AssetId": "0dfcb2d0-596c-4136-8829-4c766fd01e84", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "2064af1e-47c2-4aa5-a368-9ec80b68262d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "14e0dcc4-33f7-4a29-aec8-6e88533b0484", "CreateDate": "2025-04-25T11:23:30.8736591-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T11:23:30.8736591-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "4dd5e22b-3edd-4a25-99bc-c3969c243e6b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-25T11:23:30.8736591-07:00", "MeasurementValueNeededDate": "2025-04-25T11:23:30.8736591-07:00", "SourceSystemId": "sample string 3", "CompanyId": "fefaa4b2-28c4-4111-91ad-dfec69a319ea", "CreateDate": "2025-04-25T11:23:30.8736591-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T11:23:30.8736591-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-25T11:23:30.8736591-07:00", "MeasurementValueNeededDate": "2025-04-25T11:23:30.8736591-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "4b6e312c-3872-493c-ac52-948abcab8941", "CreateDate": "2025-04-25T11:23:30.8736591-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T11:23:30.8736591-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "cb58d4ab-3039-47d4-9833-da33d188b0b2", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "2064af1e-47c2-4aa5-a368-9ec80b68262d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "14e0dcc4-33f7-4a29-aec8-6e88533b0484", "CreateDate": "2025-04-25T11:23:30.8736591-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-25T11:23:30.8736591-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "52d4beb0-1fa9-4cc6-b48b-a28872ea301d", "Name": "sample string 1" }, "Unit": { "UnitId": "c6ebf921-513b-4d24-be67-0dc179f80fd7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4a0b66eb-17c3-4511-a3d7-69b131d9d2f6", "CreateDate": "2025-04-25T11:23:30.8736591-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-25T11:23:30.8736591-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-04-25T11:23:30.8736591-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "f9cd007c-413f-42f9-9e63-af813f067a79", "CreateDate": "2025-04-25T11:23:30.8736591-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-25T11:23:30.8736591-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-25T11:23:30.8736591-07:00", "LastValueDate": "2025-04-25T11:23:30.8736591-07:00", "SourceSystemId": "sample string 2", "CompanyId": "9c51bc67-dca2-4946-8f59-f95856853c73", "CreateDate": "2025-04-25T11:23:30.8736591-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-04-25T11:23:30.8736591-07:00", "LastModifiedUser": "sample string 5" } ], "Total": 1, "Message": "sample string 1" }