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": "2611bb57-6bd0-4bf3-91c5-bd12e3fcb753",
      "Asset": {
        "AssetId": "35a60a61-d593-4bd6-83aa-9923e6f4b01e",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "1af9cd80-b922-4798-aeaf-42df3792b3fd",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "ef611e91-8875-48b1-b0c0-5a1239ff3817",
          "CreateDate": "2025-07-31T22:50:55.8663542-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2025-07-31T22:50:55.8663542-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "afb76b6a-4de0-4672-829b-8fa834f2d2d8",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2025-07-31T22:50:55.8663542-07:00",
          "MeasurementValueNeededDate": "2025-07-31T22:50:55.8663542-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "07b843ce-7065-41fa-ae2b-411aa5bb4444",
          "CreateDate": "2025-07-31T22:50:55.8663542-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-31T22:50:55.8663542-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2025-07-31T22:50:55.8663542-07:00",
        "MeasurementValueNeededDate": "2025-07-31T22:50:55.8663542-07:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "eb35f7e8-0fcc-45da-a633-2414f18dff8b",
        "CreateDate": "2025-07-31T22:50:55.8663542-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2025-07-31T22:50:55.8663542-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "b6a69432-e4b5-4748-beef-c871d5103aa9",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "1af9cd80-b922-4798-aeaf-42df3792b3fd",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "ef611e91-8875-48b1-b0c0-5a1239ff3817",
          "CreateDate": "2025-07-31T22:50:55.8663542-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2025-07-31T22:50:55.8663542-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "2b5e9507-d9be-423c-a438-f83e1b8f994c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "cd66c8f5-e507-4952-bbc3-e1eb989e062e",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "58a5b961-ab7c-436d-bd38-3c3bfa2f5bc2",
          "CreateDate": "2025-07-31T22:50:55.8663542-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-31T22:50:55.8663542-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": "2025-07-31T22:50:55.8663542-07:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "eb37b1c7-83f2-4554-9628-9242a9b034c8",
        "CreateDate": "2025-07-31T22:50:55.8663542-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2025-07-31T22:50:55.8663542-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "Label": "sample string 1",
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2025-07-31T22:50:55.8663542-07:00",
      "LastValueDate": "2025-07-31T22:50:55.8663542-07:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "7c39ffc3-8de3-40ea-a4e8-00c11a1bc8fa",
      "CreateDate": "2025-07-31T22:50:55.8663542-07:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2025-07-31T22:50:55.8663542-07:00",
      "LastModifiedUser": "sample string 5"
    },
    {
      "AssetMeasurementTypeId": "2611bb57-6bd0-4bf3-91c5-bd12e3fcb753",
      "Asset": {
        "AssetId": "35a60a61-d593-4bd6-83aa-9923e6f4b01e",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "1af9cd80-b922-4798-aeaf-42df3792b3fd",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "ef611e91-8875-48b1-b0c0-5a1239ff3817",
          "CreateDate": "2025-07-31T22:50:55.8663542-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2025-07-31T22:50:55.8663542-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "afb76b6a-4de0-4672-829b-8fa834f2d2d8",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2025-07-31T22:50:55.8663542-07:00",
          "MeasurementValueNeededDate": "2025-07-31T22:50:55.8663542-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "07b843ce-7065-41fa-ae2b-411aa5bb4444",
          "CreateDate": "2025-07-31T22:50:55.8663542-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-31T22:50:55.8663542-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2025-07-31T22:50:55.8663542-07:00",
        "MeasurementValueNeededDate": "2025-07-31T22:50:55.8663542-07:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "eb35f7e8-0fcc-45da-a633-2414f18dff8b",
        "CreateDate": "2025-07-31T22:50:55.8663542-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2025-07-31T22:50:55.8663542-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "b6a69432-e4b5-4748-beef-c871d5103aa9",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "1af9cd80-b922-4798-aeaf-42df3792b3fd",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "ef611e91-8875-48b1-b0c0-5a1239ff3817",
          "CreateDate": "2025-07-31T22:50:55.8663542-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2025-07-31T22:50:55.8663542-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "2b5e9507-d9be-423c-a438-f83e1b8f994c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "cd66c8f5-e507-4952-bbc3-e1eb989e062e",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "58a5b961-ab7c-436d-bd38-3c3bfa2f5bc2",
          "CreateDate": "2025-07-31T22:50:55.8663542-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-31T22:50:55.8663542-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": "2025-07-31T22:50:55.8663542-07:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "eb37b1c7-83f2-4554-9628-9242a9b034c8",
        "CreateDate": "2025-07-31T22:50:55.8663542-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2025-07-31T22:50:55.8663542-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "Label": "sample string 1",
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2025-07-31T22:50:55.8663542-07:00",
      "LastValueDate": "2025-07-31T22:50:55.8663542-07:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "7c39ffc3-8de3-40ea-a4e8-00c11a1bc8fa",
      "CreateDate": "2025-07-31T22:50:55.8663542-07:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2025-07-31T22:50:55.8663542-07:00",
      "LastModifiedUser": "sample string 5"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}