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": "d6a3727c-0d40-4ce8-96df-5a400d7bdc11", "Asset": { "AssetId": "6189f1c6-eff3-4a80-89f7-d3bc589451dc", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "2b0cf2f9-af06-4aaf-b54d-101aa7971170", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0a798f2e-fd01-42e3-a40d-b8b8cdd199ca", "CreateDate": "2025-02-05T06:13:33.4628024-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:13:33.4628024-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "b2046a92-8f9c-4098-8e0e-6645d4c70242", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T06:13:33.4628024-08:00", "MeasurementValueNeededDate": "2025-02-05T06:13:33.4628024-08:00", "SourceSystemId": "sample string 3", "CompanyId": "7acdb953-c881-42af-9728-04320c51fdc1", "CreateDate": "2025-02-05T06:13:33.4628024-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:13:33.4628024-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-05T06:13:33.4628024-08:00", "MeasurementValueNeededDate": "2025-02-05T06:13:33.4628024-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "79c4e2e9-15bd-4695-9fe2-78934e46b4fa", "CreateDate": "2025-02-05T06:13:33.4628024-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T06:13:33.4628024-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "a94cd10d-254e-46a0-8935-008ac0590dae", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "2b0cf2f9-af06-4aaf-b54d-101aa7971170", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0a798f2e-fd01-42e3-a40d-b8b8cdd199ca", "CreateDate": "2025-02-05T06:13:33.4628024-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:13:33.4628024-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "5adb9935-c761-45a0-b4a9-351b47ca1d48", "Name": "sample string 1" }, "Unit": { "UnitId": "ae67b9f9-6414-4b26-a46d-ee9f0aa6ed14", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "72ba7b60-2465-4a32-b12a-24530770940f", "CreateDate": "2025-02-05T06:13:33.4628024-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:13:33.4628024-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "11247be0-1704-42c1-9445-ca0c127bdf90", "FieldId": "64eacf11-c571-45ef-88d6-082c25e75cab", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "11247be0-1704-42c1-9445-ca0c127bdf90", "FieldId": "64eacf11-c571-45ef-88d6-082c25e75cab", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-05T06:13:33.4628024-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "0a20ad31-0df5-4e65-b6e6-d7b6830cafaa", "CreateDate": "2025-02-05T06:13:33.4628024-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T06:13:33.4628024-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-05T06:13:33.4628024-08:00", "LastValueDate": "2025-02-05T06:13:33.4628024-08:00", "SourceSystemId": "sample string 2", "CompanyId": "86eef62b-4062-4c5c-a341-61047ca015d3", "CreateDate": "2025-02-05T06:13:33.4628024-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-02-05T06:13:33.4628024-08:00", "LastModifiedUser": "sample string 5" }, { "AssetMeasurementTypeId": "d6a3727c-0d40-4ce8-96df-5a400d7bdc11", "Asset": { "AssetId": "6189f1c6-eff3-4a80-89f7-d3bc589451dc", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "2b0cf2f9-af06-4aaf-b54d-101aa7971170", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0a798f2e-fd01-42e3-a40d-b8b8cdd199ca", "CreateDate": "2025-02-05T06:13:33.4628024-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:13:33.4628024-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "b2046a92-8f9c-4098-8e0e-6645d4c70242", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T06:13:33.4628024-08:00", "MeasurementValueNeededDate": "2025-02-05T06:13:33.4628024-08:00", "SourceSystemId": "sample string 3", "CompanyId": "7acdb953-c881-42af-9728-04320c51fdc1", "CreateDate": "2025-02-05T06:13:33.4628024-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:13:33.4628024-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-05T06:13:33.4628024-08:00", "MeasurementValueNeededDate": "2025-02-05T06:13:33.4628024-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "79c4e2e9-15bd-4695-9fe2-78934e46b4fa", "CreateDate": "2025-02-05T06:13:33.4628024-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T06:13:33.4628024-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "a94cd10d-254e-46a0-8935-008ac0590dae", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "2b0cf2f9-af06-4aaf-b54d-101aa7971170", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0a798f2e-fd01-42e3-a40d-b8b8cdd199ca", "CreateDate": "2025-02-05T06:13:33.4628024-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:13:33.4628024-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "5adb9935-c761-45a0-b4a9-351b47ca1d48", "Name": "sample string 1" }, "Unit": { "UnitId": "ae67b9f9-6414-4b26-a46d-ee9f0aa6ed14", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "72ba7b60-2465-4a32-b12a-24530770940f", "CreateDate": "2025-02-05T06:13:33.4628024-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:13:33.4628024-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "11247be0-1704-42c1-9445-ca0c127bdf90", "FieldId": "64eacf11-c571-45ef-88d6-082c25e75cab", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "11247be0-1704-42c1-9445-ca0c127bdf90", "FieldId": "64eacf11-c571-45ef-88d6-082c25e75cab", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-05T06:13:33.4628024-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "0a20ad31-0df5-4e65-b6e6-d7b6830cafaa", "CreateDate": "2025-02-05T06:13:33.4628024-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T06:13:33.4628024-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-05T06:13:33.4628024-08:00", "LastValueDate": "2025-02-05T06:13:33.4628024-08:00", "SourceSystemId": "sample string 2", "CompanyId": "86eef62b-4062-4c5c-a341-61047ca015d3", "CreateDate": "2025-02-05T06:13:33.4628024-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-02-05T06:13:33.4628024-08:00", "LastModifiedUser": "sample string 5" } ], "Total": 1, "Message": "sample string 1" }