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": "8b04e8b8-02a4-4a35-9c86-7cb6b4d784e6", "Asset": { "AssetId": "2a0593df-f8ad-437a-a00d-338288b3e624", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4e10ae45-4ee2-4116-8487-8fbb5d20201d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "58d0550a-cb0a-460b-b88f-83cc71c6082d", "CreateDate": "2023-12-01T11:14:24.7042915-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-12-01T11:14:24.7042915-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "ae64a222-5131-4089-bb13-ad9ce7e5de5e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2023-12-01T11:14:24.7042915-08:00", "MeasurementValueNeededDate": "2023-12-01T11:14:24.7042915-08:00", "SourceSystemId": "sample string 3", "CompanyId": "123d2dff-5c3b-4cad-a004-1a93500ab374", "CreateDate": "2023-12-01T11:14:24.7042915-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-12-01T11:14:24.7042915-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2023-12-01T11:14:24.7042915-08:00", "MeasurementValueNeededDate": "2023-12-01T11:14:24.7042915-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f26e9c93-9d8d-43c8-9770-e2ed5bcc90d1", "CreateDate": "2023-12-01T11:14:24.7042915-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-12-01T11:14:24.7042915-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "6fc0d20a-c649-4ab6-a3a7-837748a573e7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "4e10ae45-4ee2-4116-8487-8fbb5d20201d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "58d0550a-cb0a-460b-b88f-83cc71c6082d", "CreateDate": "2023-12-01T11:14:24.7042915-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-12-01T11:14:24.7042915-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "4b97d0fa-9a8b-4f1f-91cf-43df44be8b5e", "Name": "sample string 1" }, "Unit": { "UnitId": "2fc57f13-dd62-438e-bd1c-31c8848ba909", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "92604011-80b2-4763-ad40-f1c1142fd389", "CreateDate": "2023-12-01T11:14:24.7042915-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-12-01T11:14:24.7042915-08: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": "2023-12-01T11:14:24.7042915-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "5aa7fdf4-6318-4be6-89d1-4c2a88ad0c09", "CreateDate": "2023-12-01T11:14:24.7042915-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-12-01T11:14:24.7042915-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2023-12-01T11:14:24.7042915-08:00", "LastValueDate": "2023-12-01T11:14:24.7042915-08:00", "SourceSystemId": "sample string 2", "CompanyId": "6a68836a-2232-4901-99e3-c3710d430972", "CreateDate": "2023-12-01T11:14:24.7042915-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2023-12-01T11:14:24.7042915-08:00", "LastModifiedUser": "sample string 5" }, { "AssetMeasurementTypeId": "8b04e8b8-02a4-4a35-9c86-7cb6b4d784e6", "Asset": { "AssetId": "2a0593df-f8ad-437a-a00d-338288b3e624", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4e10ae45-4ee2-4116-8487-8fbb5d20201d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "58d0550a-cb0a-460b-b88f-83cc71c6082d", "CreateDate": "2023-12-01T11:14:24.7042915-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-12-01T11:14:24.7042915-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "ae64a222-5131-4089-bb13-ad9ce7e5de5e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2023-12-01T11:14:24.7042915-08:00", "MeasurementValueNeededDate": "2023-12-01T11:14:24.7042915-08:00", "SourceSystemId": "sample string 3", "CompanyId": "123d2dff-5c3b-4cad-a004-1a93500ab374", "CreateDate": "2023-12-01T11:14:24.7042915-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-12-01T11:14:24.7042915-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2023-12-01T11:14:24.7042915-08:00", "MeasurementValueNeededDate": "2023-12-01T11:14:24.7042915-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f26e9c93-9d8d-43c8-9770-e2ed5bcc90d1", "CreateDate": "2023-12-01T11:14:24.7042915-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-12-01T11:14:24.7042915-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "6fc0d20a-c649-4ab6-a3a7-837748a573e7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "4e10ae45-4ee2-4116-8487-8fbb5d20201d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "58d0550a-cb0a-460b-b88f-83cc71c6082d", "CreateDate": "2023-12-01T11:14:24.7042915-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-12-01T11:14:24.7042915-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "4b97d0fa-9a8b-4f1f-91cf-43df44be8b5e", "Name": "sample string 1" }, "Unit": { "UnitId": "2fc57f13-dd62-438e-bd1c-31c8848ba909", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "92604011-80b2-4763-ad40-f1c1142fd389", "CreateDate": "2023-12-01T11:14:24.7042915-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-12-01T11:14:24.7042915-08: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": "2023-12-01T11:14:24.7042915-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "5aa7fdf4-6318-4be6-89d1-4c2a88ad0c09", "CreateDate": "2023-12-01T11:14:24.7042915-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-12-01T11:14:24.7042915-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2023-12-01T11:14:24.7042915-08:00", "LastValueDate": "2023-12-01T11:14:24.7042915-08:00", "SourceSystemId": "sample string 2", "CompanyId": "6a68836a-2232-4901-99e3-c3710d430972", "CreateDate": "2023-12-01T11:14:24.7042915-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2023-12-01T11:14:24.7042915-08:00", "LastModifiedUser": "sample string 5" } ], "Total": 1, "Message": "sample string 1" }