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": "4f0f2dcb-2c9b-46ec-88d4-39d00b818c97", "Asset": { "AssetId": "1e9a4d83-c0a8-4092-9905-e6e1d6f95bc4", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "0bf32e79-656b-4edf-8a34-9583a91ecbb2", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "2d498719-fe12-457a-9614-4b338abbb331", "CreateDate": "2025-04-30T14:50:02.0059393-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-30T14:50:02.0059393-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "2559e57b-3620-489c-9339-56ef5c84a4c4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-30T14:50:02.0059393-07:00", "MeasurementValueNeededDate": "2025-04-30T14:50:02.0059393-07:00", "SourceSystemId": "sample string 3", "CompanyId": "73e91a6c-fa21-4473-9ddd-d9e1c08d8a47", "CreateDate": "2025-04-30T14:50:02.0059393-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T14:50:02.0059393-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-30T14:50:02.0059393-07:00", "MeasurementValueNeededDate": "2025-04-30T14:50:02.0059393-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "db3a3d73-4ce6-44d0-8634-b3ae11178839", "CreateDate": "2025-04-30T14:50:02.0059393-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-30T14:50:02.0059393-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "6875d5d3-80ce-4a35-92f3-d10c6f23b568", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0bf32e79-656b-4edf-8a34-9583a91ecbb2", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "2d498719-fe12-457a-9614-4b338abbb331", "CreateDate": "2025-04-30T14:50:02.0059393-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-30T14:50:02.0059393-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "4d0159b2-e792-4e29-8570-c0ba2d0df64f", "Name": "sample string 1" }, "Unit": { "UnitId": "f210416c-8cd3-4acc-9c13-8547a162121f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "54c0bd89-fcf9-455e-ba84-85440d2496f9", "CreateDate": "2025-04-30T14:50:02.0059393-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T14:50:02.0059393-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "691e90c2-bf41-4168-a83a-6fefac735bcc", "FieldId": "21595399-2114-4527-aaf4-825b98201864", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "691e90c2-bf41-4168-a83a-6fefac735bcc", "FieldId": "21595399-2114-4527-aaf4-825b98201864", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-30T14:50:02.0059393-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "f1f483b7-5f76-4ed6-b8d7-b050071ab725", "CreateDate": "2025-04-30T14:50:02.0059393-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-30T14:50:02.0059393-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-30T14:50:02.0059393-07:00", "LastValueDate": "2025-04-30T14:50:02.0059393-07:00", "SourceSystemId": "sample string 2", "CompanyId": "ac91df3a-ec7f-4159-9cfa-afbe60ec38f3", "CreateDate": "2025-04-30T14:50:02.0059393-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-04-30T14:50:02.0059393-07:00", "LastModifiedUser": "sample string 5" }, { "AssetMeasurementTypeId": "4f0f2dcb-2c9b-46ec-88d4-39d00b818c97", "Asset": { "AssetId": "1e9a4d83-c0a8-4092-9905-e6e1d6f95bc4", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "0bf32e79-656b-4edf-8a34-9583a91ecbb2", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "2d498719-fe12-457a-9614-4b338abbb331", "CreateDate": "2025-04-30T14:50:02.0059393-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-30T14:50:02.0059393-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "2559e57b-3620-489c-9339-56ef5c84a4c4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-30T14:50:02.0059393-07:00", "MeasurementValueNeededDate": "2025-04-30T14:50:02.0059393-07:00", "SourceSystemId": "sample string 3", "CompanyId": "73e91a6c-fa21-4473-9ddd-d9e1c08d8a47", "CreateDate": "2025-04-30T14:50:02.0059393-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T14:50:02.0059393-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-30T14:50:02.0059393-07:00", "MeasurementValueNeededDate": "2025-04-30T14:50:02.0059393-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "db3a3d73-4ce6-44d0-8634-b3ae11178839", "CreateDate": "2025-04-30T14:50:02.0059393-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-30T14:50:02.0059393-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "6875d5d3-80ce-4a35-92f3-d10c6f23b568", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0bf32e79-656b-4edf-8a34-9583a91ecbb2", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "2d498719-fe12-457a-9614-4b338abbb331", "CreateDate": "2025-04-30T14:50:02.0059393-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-30T14:50:02.0059393-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "4d0159b2-e792-4e29-8570-c0ba2d0df64f", "Name": "sample string 1" }, "Unit": { "UnitId": "f210416c-8cd3-4acc-9c13-8547a162121f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "54c0bd89-fcf9-455e-ba84-85440d2496f9", "CreateDate": "2025-04-30T14:50:02.0059393-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T14:50:02.0059393-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "691e90c2-bf41-4168-a83a-6fefac735bcc", "FieldId": "21595399-2114-4527-aaf4-825b98201864", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "691e90c2-bf41-4168-a83a-6fefac735bcc", "FieldId": "21595399-2114-4527-aaf4-825b98201864", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-30T14:50:02.0059393-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "f1f483b7-5f76-4ed6-b8d7-b050071ab725", "CreateDate": "2025-04-30T14:50:02.0059393-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-30T14:50:02.0059393-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-30T14:50:02.0059393-07:00", "LastValueDate": "2025-04-30T14:50:02.0059393-07:00", "SourceSystemId": "sample string 2", "CompanyId": "ac91df3a-ec7f-4159-9cfa-afbe60ec38f3", "CreateDate": "2025-04-30T14:50:02.0059393-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-04-30T14:50:02.0059393-07:00", "LastModifiedUser": "sample string 5" } ], "Total": 1, "Message": "sample string 1" }