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": "7eef94c0-bdcd-4a4b-bc45-a1b955cadae0",
      "Asset": {
        "AssetId": "69900b63-81c0-48a9-a9c2-f370bb38b474",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "d2aeecae-f061-41dc-9c6b-f5352ca601b8",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "bc8a0f4b-c774-405f-9a02-af5326a89a00",
          "CreateDate": "2024-11-21T04:32:29.4418431-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-11-21T04:32:29.4418431-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "722087e9-c7b8-4435-bf3a-f45dc9ef41c2",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-11-21T04:32:29.4418431-08:00",
          "MeasurementValueNeededDate": "2024-11-21T04:32:29.4418431-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1d55bf51-5a8f-4ce6-af5d-7dd5c91a87dc",
          "CreateDate": "2024-11-21T04:32:29.4418431-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-11-21T04:32:29.4418431-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-11-21T04:32:29.4418431-08:00",
        "MeasurementValueNeededDate": "2024-11-21T04:32:29.4418431-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "b2a3c619-3d12-46a9-804e-66864f3d6388",
        "CreateDate": "2024-11-21T04:32:29.4418431-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-11-21T04:32:29.4418431-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "662f3abd-78fe-4f27-8658-98beafa175da",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "d2aeecae-f061-41dc-9c6b-f5352ca601b8",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "bc8a0f4b-c774-405f-9a02-af5326a89a00",
          "CreateDate": "2024-11-21T04:32:29.4418431-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-11-21T04:32:29.4418431-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "65810f63-21e7-4547-baf5-2127d06c23b0",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "5a5eefaf-793d-4ad6-b714-8494940eb2dc",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "974af8ed-5775-4673-8211-ae62bd27ac13",
          "CreateDate": "2024-11-21T04:32:29.4418431-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-11-21T04:32:29.4418431-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "5779ad6a-51b1-4546-bcdc-67230b145fb1",
            "FieldId": "6bf46a8b-46ee-4f01-a0e0-6c9e3cf2cef3",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "5779ad6a-51b1-4546-bcdc-67230b145fb1",
            "FieldId": "6bf46a8b-46ee-4f01-a0e0-6c9e3cf2cef3",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2024-11-21T04:32:29.4418431-08:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "8ac9be4f-8cfa-4fc4-86a9-01c1eeac37ae",
        "CreateDate": "2024-11-21T04:32:29.4418431-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-11-21T04:32:29.4418431-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "Label": "sample string 1",
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2024-11-21T04:32:29.4418431-08:00",
      "LastValueDate": "2024-11-21T04:32:29.4418431-08:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "09d44907-da38-4335-a9e8-f8a025639928",
      "CreateDate": "2024-11-21T04:32:29.4418431-08:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2024-11-21T04:32:29.4418431-08:00",
      "LastModifiedUser": "sample string 5"
    },
    {
      "AssetMeasurementTypeId": "7eef94c0-bdcd-4a4b-bc45-a1b955cadae0",
      "Asset": {
        "AssetId": "69900b63-81c0-48a9-a9c2-f370bb38b474",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "d2aeecae-f061-41dc-9c6b-f5352ca601b8",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "bc8a0f4b-c774-405f-9a02-af5326a89a00",
          "CreateDate": "2024-11-21T04:32:29.4418431-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-11-21T04:32:29.4418431-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "722087e9-c7b8-4435-bf3a-f45dc9ef41c2",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-11-21T04:32:29.4418431-08:00",
          "MeasurementValueNeededDate": "2024-11-21T04:32:29.4418431-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1d55bf51-5a8f-4ce6-af5d-7dd5c91a87dc",
          "CreateDate": "2024-11-21T04:32:29.4418431-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-11-21T04:32:29.4418431-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-11-21T04:32:29.4418431-08:00",
        "MeasurementValueNeededDate": "2024-11-21T04:32:29.4418431-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "b2a3c619-3d12-46a9-804e-66864f3d6388",
        "CreateDate": "2024-11-21T04:32:29.4418431-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-11-21T04:32:29.4418431-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "662f3abd-78fe-4f27-8658-98beafa175da",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "d2aeecae-f061-41dc-9c6b-f5352ca601b8",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "bc8a0f4b-c774-405f-9a02-af5326a89a00",
          "CreateDate": "2024-11-21T04:32:29.4418431-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-11-21T04:32:29.4418431-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "65810f63-21e7-4547-baf5-2127d06c23b0",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "5a5eefaf-793d-4ad6-b714-8494940eb2dc",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "974af8ed-5775-4673-8211-ae62bd27ac13",
          "CreateDate": "2024-11-21T04:32:29.4418431-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-11-21T04:32:29.4418431-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "5779ad6a-51b1-4546-bcdc-67230b145fb1",
            "FieldId": "6bf46a8b-46ee-4f01-a0e0-6c9e3cf2cef3",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "5779ad6a-51b1-4546-bcdc-67230b145fb1",
            "FieldId": "6bf46a8b-46ee-4f01-a0e0-6c9e3cf2cef3",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2024-11-21T04:32:29.4418431-08:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "8ac9be4f-8cfa-4fc4-86a9-01c1eeac37ae",
        "CreateDate": "2024-11-21T04:32:29.4418431-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-11-21T04:32:29.4418431-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "Label": "sample string 1",
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2024-11-21T04:32:29.4418431-08:00",
      "LastValueDate": "2024-11-21T04:32:29.4418431-08:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "09d44907-da38-4335-a9e8-f8a025639928",
      "CreateDate": "2024-11-21T04:32:29.4418431-08:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2024-11-21T04:32:29.4418431-08:00",
      "LastModifiedUser": "sample string 5"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}