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": "399afde5-cae2-4c29-84ee-4fed1b22694d",
      "Asset": {
        "AssetId": "2cea9d0f-ed87-44da-9d5f-a76cebac378f",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "9166294a-818c-4231-aca4-2e67afc09cc5",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "ccef928a-df77-49ac-b7ea-b8b6a3d6b121",
          "CreateDate": "2025-06-02T07:30:25.4685036-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2025-06-02T07:30:25.4685036-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "f9639190-2c2d-4702-9dc4-e308a241fd9b",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2025-06-02T07:30:25.4685036-07:00",
          "MeasurementValueNeededDate": "2025-06-02T07:30:25.4685036-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "60cfdafe-fec2-4e19-96d0-d8207c913244",
          "CreateDate": "2025-06-02T07:30:25.4685036-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-06-02T07:30:25.4685036-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2025-06-02T07:30:25.4685036-07:00",
        "MeasurementValueNeededDate": "2025-06-02T07:30:25.4685036-07:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "85401a89-b4ba-4650-90ef-10ad5e0e3f0d",
        "CreateDate": "2025-06-02T07:30:25.4685036-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2025-06-02T07:30:25.4685036-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "272e5a2e-c7e2-4525-b016-55e4e2e15f16",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "9166294a-818c-4231-aca4-2e67afc09cc5",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "ccef928a-df77-49ac-b7ea-b8b6a3d6b121",
          "CreateDate": "2025-06-02T07:30:25.4685036-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2025-06-02T07:30:25.4685036-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "b9f3939b-f846-4b54-8004-bb8c0e1ff939",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "38ecd212-99d8-4c1c-a0d0-65fe7b454882",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "7d868b2c-0ca4-42d9-9719-ef696e2603dc",
          "CreateDate": "2025-06-02T07:30:25.4685036-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-06-02T07:30:25.4685036-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "206f4595-e910-48d4-9487-3d6a8f19a7d7",
            "FieldId": "c661e3d3-9fd8-4a9e-8908-0f4cbfe5e02c",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "206f4595-e910-48d4-9487-3d6a8f19a7d7",
            "FieldId": "c661e3d3-9fd8-4a9e-8908-0f4cbfe5e02c",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2025-06-02T07:30:25.4685036-07:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "34d8bb54-ecb3-4846-b5fe-09990b45b657",
        "CreateDate": "2025-06-02T07:30:25.4685036-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2025-06-02T07:30:25.4685036-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "Label": "sample string 1",
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2025-06-02T07:30:25.4685036-07:00",
      "LastValueDate": "2025-06-02T07:30:25.4685036-07:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "1fcabc23-afa7-4a3a-93ad-fc82114b2b9e",
      "CreateDate": "2025-06-02T07:30:25.4685036-07:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2025-06-02T07:30:25.4685036-07:00",
      "LastModifiedUser": "sample string 5"
    },
    {
      "AssetMeasurementTypeId": "399afde5-cae2-4c29-84ee-4fed1b22694d",
      "Asset": {
        "AssetId": "2cea9d0f-ed87-44da-9d5f-a76cebac378f",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "9166294a-818c-4231-aca4-2e67afc09cc5",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "ccef928a-df77-49ac-b7ea-b8b6a3d6b121",
          "CreateDate": "2025-06-02T07:30:25.4685036-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2025-06-02T07:30:25.4685036-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "f9639190-2c2d-4702-9dc4-e308a241fd9b",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2025-06-02T07:30:25.4685036-07:00",
          "MeasurementValueNeededDate": "2025-06-02T07:30:25.4685036-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "60cfdafe-fec2-4e19-96d0-d8207c913244",
          "CreateDate": "2025-06-02T07:30:25.4685036-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-06-02T07:30:25.4685036-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2025-06-02T07:30:25.4685036-07:00",
        "MeasurementValueNeededDate": "2025-06-02T07:30:25.4685036-07:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "85401a89-b4ba-4650-90ef-10ad5e0e3f0d",
        "CreateDate": "2025-06-02T07:30:25.4685036-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2025-06-02T07:30:25.4685036-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "272e5a2e-c7e2-4525-b016-55e4e2e15f16",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "9166294a-818c-4231-aca4-2e67afc09cc5",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "ccef928a-df77-49ac-b7ea-b8b6a3d6b121",
          "CreateDate": "2025-06-02T07:30:25.4685036-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2025-06-02T07:30:25.4685036-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "b9f3939b-f846-4b54-8004-bb8c0e1ff939",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "38ecd212-99d8-4c1c-a0d0-65fe7b454882",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "7d868b2c-0ca4-42d9-9719-ef696e2603dc",
          "CreateDate": "2025-06-02T07:30:25.4685036-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-06-02T07:30:25.4685036-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "206f4595-e910-48d4-9487-3d6a8f19a7d7",
            "FieldId": "c661e3d3-9fd8-4a9e-8908-0f4cbfe5e02c",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "206f4595-e910-48d4-9487-3d6a8f19a7d7",
            "FieldId": "c661e3d3-9fd8-4a9e-8908-0f4cbfe5e02c",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2025-06-02T07:30:25.4685036-07:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "34d8bb54-ecb3-4846-b5fe-09990b45b657",
        "CreateDate": "2025-06-02T07:30:25.4685036-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2025-06-02T07:30:25.4685036-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "Label": "sample string 1",
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2025-06-02T07:30:25.4685036-07:00",
      "LastValueDate": "2025-06-02T07:30:25.4685036-07:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "1fcabc23-afa7-4a3a-93ad-fc82114b2b9e",
      "CreateDate": "2025-06-02T07:30:25.4685036-07:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2025-06-02T07:30:25.4685036-07:00",
      "LastModifiedUser": "sample string 5"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}