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

NameDescriptionTypeAdditional 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.

NameDescriptionTypeAdditional information
Data

Collection of AssetMeasurementType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "AssetMeasurementTypeId": "2a6dfd85-6df3-4600-83e9-f89f21e65969",
      "Asset": {
        "AssetId": "9b8c8b4c-7679-49cb-b834-fa19bdd3d4ab",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "1495af35-9162-4836-9f94-749cc8ca2e6a",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "154c21fe-a911-4a2c-8a46-e0f5825e079e",
          "CreateDate": "2024-10-10T15:20:35.8655811-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-10-10T15:20:35.8655811-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "acb31183-3767-474e-af9d-210e8d66b296",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-10-10T15:20:35.8655811-07:00",
          "MeasurementValueNeededDate": "2024-10-10T15:20:35.8655811-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "33e471d7-bbf4-4da7-9c94-a6f83df98b24",
          "CreateDate": "2024-10-10T15:20:35.8655811-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T15:20:35.8655811-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-10-10T15:20:35.8655811-07:00",
        "MeasurementValueNeededDate": "2024-10-10T15:20:35.8655811-07:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "fa7609f4-71d9-4779-8838-43d3ef92c7e3",
        "CreateDate": "2024-10-10T15:20:35.8655811-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-10-10T15:20:35.8655811-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "9030f282-865f-409f-8878-1cbeff54619c",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "1495af35-9162-4836-9f94-749cc8ca2e6a",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "154c21fe-a911-4a2c-8a46-e0f5825e079e",
          "CreateDate": "2024-10-10T15:20:35.8655811-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-10-10T15:20:35.8655811-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "928ea9f4-5960-4251-ae66-24a3898b582e",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "c47457ab-6efe-4be4-bc47-bae269a02aae",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "10730335-4ac8-4a4d-95d6-508bc4353510",
          "CreateDate": "2024-10-10T15:20:35.8655811-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T15:20:35.8655811-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": "2024-10-10T15:20:35.8655811-07:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "5bdf0067-b748-45e0-9ae8-e5902b98f6a5",
        "CreateDate": "2024-10-10T15:20:35.8655811-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-10-10T15:20:35.8655811-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "Label": "sample string 1",
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2024-10-10T15:20:35.8655811-07:00",
      "LastValueDate": "2024-10-10T15:20:35.8655811-07:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "4fca0afe-d76e-41e4-9f5f-da596f12519e",
      "CreateDate": "2024-10-10T15:20:35.8655811-07:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2024-10-10T15:20:35.8655811-07:00",
      "LastModifiedUser": "sample string 5"
    },
    {
      "AssetMeasurementTypeId": "2a6dfd85-6df3-4600-83e9-f89f21e65969",
      "Asset": {
        "AssetId": "9b8c8b4c-7679-49cb-b834-fa19bdd3d4ab",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "1495af35-9162-4836-9f94-749cc8ca2e6a",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "154c21fe-a911-4a2c-8a46-e0f5825e079e",
          "CreateDate": "2024-10-10T15:20:35.8655811-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-10-10T15:20:35.8655811-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "acb31183-3767-474e-af9d-210e8d66b296",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-10-10T15:20:35.8655811-07:00",
          "MeasurementValueNeededDate": "2024-10-10T15:20:35.8655811-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "33e471d7-bbf4-4da7-9c94-a6f83df98b24",
          "CreateDate": "2024-10-10T15:20:35.8655811-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T15:20:35.8655811-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-10-10T15:20:35.8655811-07:00",
        "MeasurementValueNeededDate": "2024-10-10T15:20:35.8655811-07:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "fa7609f4-71d9-4779-8838-43d3ef92c7e3",
        "CreateDate": "2024-10-10T15:20:35.8655811-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-10-10T15:20:35.8655811-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "9030f282-865f-409f-8878-1cbeff54619c",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "1495af35-9162-4836-9f94-749cc8ca2e6a",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "154c21fe-a911-4a2c-8a46-e0f5825e079e",
          "CreateDate": "2024-10-10T15:20:35.8655811-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-10-10T15:20:35.8655811-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "928ea9f4-5960-4251-ae66-24a3898b582e",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "c47457ab-6efe-4be4-bc47-bae269a02aae",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "10730335-4ac8-4a4d-95d6-508bc4353510",
          "CreateDate": "2024-10-10T15:20:35.8655811-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T15:20:35.8655811-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": "2024-10-10T15:20:35.8655811-07:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "5bdf0067-b748-45e0-9ae8-e5902b98f6a5",
        "CreateDate": "2024-10-10T15:20:35.8655811-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-10-10T15:20:35.8655811-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "Label": "sample string 1",
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2024-10-10T15:20:35.8655811-07:00",
      "LastValueDate": "2024-10-10T15:20:35.8655811-07:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "4fca0afe-d76e-41e4-9f5f-da596f12519e",
      "CreateDate": "2024-10-10T15:20:35.8655811-07:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2024-10-10T15:20:35.8655811-07:00",
      "LastModifiedUser": "sample string 5"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}