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": "ab42b16d-fa3a-4f60-acda-3e2466ede7d0",
      "Asset": {
        "AssetId": "25040a68-098b-45c0-b8e8-d2585f076aa3",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "7d562552-ca94-4f4a-a3c2-bc2a210298c2",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "9fa56938-31ee-4e1a-a133-a50d0010851c",
          "CreateDate": "2024-12-22T02:52:26.4185923-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-22T02:52:26.4185923-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "0f46fa7f-eda4-40a4-83a2-05ba2beab6fa",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-12-22T02:52:26.4185923-08:00",
          "MeasurementValueNeededDate": "2024-12-22T02:52:26.4185923-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4eb7759a-c2c6-4e62-875b-7b2c69a91a61",
          "CreateDate": "2024-12-22T02:52:26.4185923-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-22T02:52:26.4185923-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-12-22T02:52:26.4185923-08:00",
        "MeasurementValueNeededDate": "2024-12-22T02:52:26.4185923-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "db451a6a-c795-4426-a670-cc3d67591e64",
        "CreateDate": "2024-12-22T02:52:26.4185923-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-12-22T02:52:26.4185923-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "1e8cacfe-d31c-44d3-aebf-57501da5138d",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "7d562552-ca94-4f4a-a3c2-bc2a210298c2",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "9fa56938-31ee-4e1a-a133-a50d0010851c",
          "CreateDate": "2024-12-22T02:52:26.4185923-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-22T02:52:26.4185923-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "ac7ec0f5-acfc-4a1e-a66e-e4d4ab5e36bf",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "c6f2e34a-47d1-43aa-bd1f-4094014c8f6e",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "48f7caf3-8f8d-463e-a42d-2cb3bfc8bc34",
          "CreateDate": "2024-12-22T02:52:26.4185923-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-22T02:52:26.4185923-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "f626ed2b-3ed1-42a6-8049-329d1912b744",
            "FieldId": "00b47b75-f2c1-470e-b8b7-4e66929d3171",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "f626ed2b-3ed1-42a6-8049-329d1912b744",
            "FieldId": "00b47b75-f2c1-470e-b8b7-4e66929d3171",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2024-12-22T02:52:26.4185923-08:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "6eea89dc-511d-4447-a6e7-a7888d58f5e6",
        "CreateDate": "2024-12-22T02:52:26.4185923-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-12-22T02:52:26.4185923-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "Label": "sample string 1",
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2024-12-22T02:52:26.4185923-08:00",
      "LastValueDate": "2024-12-22T02:52:26.4185923-08:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "4ddfc0dc-e302-4656-a4ce-fd14ad0326ae",
      "CreateDate": "2024-12-22T02:52:26.4185923-08:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2024-12-22T02:52:26.4185923-08:00",
      "LastModifiedUser": "sample string 5"
    },
    {
      "AssetMeasurementTypeId": "ab42b16d-fa3a-4f60-acda-3e2466ede7d0",
      "Asset": {
        "AssetId": "25040a68-098b-45c0-b8e8-d2585f076aa3",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "7d562552-ca94-4f4a-a3c2-bc2a210298c2",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "9fa56938-31ee-4e1a-a133-a50d0010851c",
          "CreateDate": "2024-12-22T02:52:26.4185923-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-22T02:52:26.4185923-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "0f46fa7f-eda4-40a4-83a2-05ba2beab6fa",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-12-22T02:52:26.4185923-08:00",
          "MeasurementValueNeededDate": "2024-12-22T02:52:26.4185923-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4eb7759a-c2c6-4e62-875b-7b2c69a91a61",
          "CreateDate": "2024-12-22T02:52:26.4185923-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-22T02:52:26.4185923-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-12-22T02:52:26.4185923-08:00",
        "MeasurementValueNeededDate": "2024-12-22T02:52:26.4185923-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "db451a6a-c795-4426-a670-cc3d67591e64",
        "CreateDate": "2024-12-22T02:52:26.4185923-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-12-22T02:52:26.4185923-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "1e8cacfe-d31c-44d3-aebf-57501da5138d",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "7d562552-ca94-4f4a-a3c2-bc2a210298c2",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "9fa56938-31ee-4e1a-a133-a50d0010851c",
          "CreateDate": "2024-12-22T02:52:26.4185923-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-22T02:52:26.4185923-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "ac7ec0f5-acfc-4a1e-a66e-e4d4ab5e36bf",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "c6f2e34a-47d1-43aa-bd1f-4094014c8f6e",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "48f7caf3-8f8d-463e-a42d-2cb3bfc8bc34",
          "CreateDate": "2024-12-22T02:52:26.4185923-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-22T02:52:26.4185923-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "f626ed2b-3ed1-42a6-8049-329d1912b744",
            "FieldId": "00b47b75-f2c1-470e-b8b7-4e66929d3171",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "f626ed2b-3ed1-42a6-8049-329d1912b744",
            "FieldId": "00b47b75-f2c1-470e-b8b7-4e66929d3171",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2024-12-22T02:52:26.4185923-08:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "6eea89dc-511d-4447-a6e7-a7888d58f5e6",
        "CreateDate": "2024-12-22T02:52:26.4185923-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-12-22T02:52:26.4185923-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "Label": "sample string 1",
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2024-12-22T02:52:26.4185923-08:00",
      "LastValueDate": "2024-12-22T02:52:26.4185923-08:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "4ddfc0dc-e302-4656-a4ce-fd14ad0326ae",
      "CreateDate": "2024-12-22T02:52:26.4185923-08:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2024-12-22T02:52:26.4185923-08:00",
      "LastModifiedUser": "sample string 5"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}