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": "6a3d605e-ccbd-408a-9d42-d3e040da00cb",
      "Asset": {
        "AssetId": "c3f7afae-14ca-4216-a1f9-b7908f43910c",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "6c69e37d-4da9-4ab8-a911-0f0353924460",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "c980922d-de5e-4625-b443-2adf47515f00",
          "CreateDate": "2025-04-24T14:19:59.7639896-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2025-04-24T14:19:59.7639896-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "e30e70b9-4681-4691-b8c8-eee5657b37db",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2025-04-24T14:19:59.7639896-07:00",
          "MeasurementValueNeededDate": "2025-04-24T14:19:59.7639896-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "614a3dea-036e-481a-bcca-ffd81fc10e5a",
          "CreateDate": "2025-04-24T14:19:59.7639896-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-04-24T14:19:59.7639896-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2025-04-24T14:19:59.7639896-07:00",
        "MeasurementValueNeededDate": "2025-04-24T14:19:59.7639896-07:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "fc6e630b-b901-453a-8fd1-15a545ac6dbc",
        "CreateDate": "2025-04-24T14:19:59.7639896-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2025-04-24T14:19:59.7639896-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "af0fe740-6712-4b76-b1c1-26ed09a52047",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "6c69e37d-4da9-4ab8-a911-0f0353924460",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "c980922d-de5e-4625-b443-2adf47515f00",
          "CreateDate": "2025-04-24T14:19:59.7639896-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2025-04-24T14:19:59.7639896-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "aaa5e3a3-5453-479d-a124-5ebe4099eb81",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "257c8aac-8d9a-4af6-ab87-e313b2b1e7ff",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "3ebee9fc-1391-4cbb-95b0-ee478cd7b15f",
          "CreateDate": "2025-04-24T14:19:59.7639896-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-04-24T14:19:59.7639896-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "a38f7920-60d1-4ccc-817e-c85adeafc657",
            "FieldId": "ad9a2823-c830-4783-b361-5dc511380c38",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "a38f7920-60d1-4ccc-817e-c85adeafc657",
            "FieldId": "ad9a2823-c830-4783-b361-5dc511380c38",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2025-04-24T14:19:59.7639896-07:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "8a27202a-2521-4385-922d-0d7cde11004b",
        "CreateDate": "2025-04-24T14:19:59.7639896-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2025-04-24T14:19:59.7639896-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-24T14:19:59.7639896-07:00",
      "LastValueDate": "2025-04-24T14:19:59.7639896-07:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "205ef74c-b204-4331-8b79-c9e546b61404",
      "CreateDate": "2025-04-24T14:19:59.7639896-07:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2025-04-24T14:19:59.7639896-07:00",
      "LastModifiedUser": "sample string 5"
    },
    {
      "AssetMeasurementTypeId": "6a3d605e-ccbd-408a-9d42-d3e040da00cb",
      "Asset": {
        "AssetId": "c3f7afae-14ca-4216-a1f9-b7908f43910c",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "6c69e37d-4da9-4ab8-a911-0f0353924460",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "c980922d-de5e-4625-b443-2adf47515f00",
          "CreateDate": "2025-04-24T14:19:59.7639896-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2025-04-24T14:19:59.7639896-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "e30e70b9-4681-4691-b8c8-eee5657b37db",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2025-04-24T14:19:59.7639896-07:00",
          "MeasurementValueNeededDate": "2025-04-24T14:19:59.7639896-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "614a3dea-036e-481a-bcca-ffd81fc10e5a",
          "CreateDate": "2025-04-24T14:19:59.7639896-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-04-24T14:19:59.7639896-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2025-04-24T14:19:59.7639896-07:00",
        "MeasurementValueNeededDate": "2025-04-24T14:19:59.7639896-07:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "fc6e630b-b901-453a-8fd1-15a545ac6dbc",
        "CreateDate": "2025-04-24T14:19:59.7639896-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2025-04-24T14:19:59.7639896-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "af0fe740-6712-4b76-b1c1-26ed09a52047",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "6c69e37d-4da9-4ab8-a911-0f0353924460",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "c980922d-de5e-4625-b443-2adf47515f00",
          "CreateDate": "2025-04-24T14:19:59.7639896-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2025-04-24T14:19:59.7639896-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "aaa5e3a3-5453-479d-a124-5ebe4099eb81",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "257c8aac-8d9a-4af6-ab87-e313b2b1e7ff",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "3ebee9fc-1391-4cbb-95b0-ee478cd7b15f",
          "CreateDate": "2025-04-24T14:19:59.7639896-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-04-24T14:19:59.7639896-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "a38f7920-60d1-4ccc-817e-c85adeafc657",
            "FieldId": "ad9a2823-c830-4783-b361-5dc511380c38",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "a38f7920-60d1-4ccc-817e-c85adeafc657",
            "FieldId": "ad9a2823-c830-4783-b361-5dc511380c38",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2025-04-24T14:19:59.7639896-07:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "8a27202a-2521-4385-922d-0d7cde11004b",
        "CreateDate": "2025-04-24T14:19:59.7639896-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2025-04-24T14:19:59.7639896-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-24T14:19:59.7639896-07:00",
      "LastValueDate": "2025-04-24T14:19:59.7639896-07:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "205ef74c-b204-4331-8b79-c9e546b61404",
      "CreateDate": "2025-04-24T14:19:59.7639896-07:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2025-04-24T14:19:59.7639896-07:00",
      "LastModifiedUser": "sample string 5"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}