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": "7d64b217-7366-4146-9976-49a0920dad8b",
      "Asset": {
        "AssetId": "ff0cac82-9244-42ba-8a6d-2b0ea5a9f957",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "ae1d42b7-58c4-463a-aa15-802bfdd085ac",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "ed9d780e-e08d-4e7b-97e9-cd9802406928",
          "CreateDate": "2024-04-23T07:16:46.1723165-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-04-23T07:16:46.1723165-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "42abf7c2-e895-4d6c-b94f-033eaba067ed",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-04-23T07:16:46.1723165-07:00",
          "MeasurementValueNeededDate": "2024-04-23T07:16:46.1723165-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "75fad5b2-972a-41b1-b65e-adc2887307fe",
          "CreateDate": "2024-04-23T07:16:46.1723165-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-04-23T07:16:46.1723165-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-04-23T07:16:46.1723165-07:00",
        "MeasurementValueNeededDate": "2024-04-23T07:16:46.1723165-07:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "fd266165-5fae-4763-893e-4b03946d96b4",
        "CreateDate": "2024-04-23T07:16:46.1723165-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-04-23T07:16:46.1723165-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "9fdbf5ce-b9ea-4635-9dcc-5c13f4172f43",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "ae1d42b7-58c4-463a-aa15-802bfdd085ac",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "ed9d780e-e08d-4e7b-97e9-cd9802406928",
          "CreateDate": "2024-04-23T07:16:46.1723165-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-04-23T07:16:46.1723165-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "84d390b3-fab4-47c3-aca5-6c43552c43d1",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "8c8657fe-d881-4c64-a8e5-e17a06474c20",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "2ac76206-b250-4f65-ae1c-c5a2f086c11b",
          "CreateDate": "2024-04-23T07:16:46.1723165-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-04-23T07:16:46.1723165-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": "2024-04-23T07:16:46.1723165-07:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "e3f5250c-707b-4704-a6c2-4f8138840732",
        "CreateDate": "2024-04-23T07:16:46.1723165-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-04-23T07:16:46.1723165-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "Label": "sample string 1",
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2024-04-23T07:16:46.1723165-07:00",
      "LastValueDate": "2024-04-23T07:16:46.1723165-07:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "2d9b7492-466b-4975-9535-ee403fdc488b",
      "CreateDate": "2024-04-23T07:16:46.1723165-07:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2024-04-23T07:16:46.1723165-07:00",
      "LastModifiedUser": "sample string 5"
    },
    {
      "AssetMeasurementTypeId": "7d64b217-7366-4146-9976-49a0920dad8b",
      "Asset": {
        "AssetId": "ff0cac82-9244-42ba-8a6d-2b0ea5a9f957",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "ae1d42b7-58c4-463a-aa15-802bfdd085ac",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "ed9d780e-e08d-4e7b-97e9-cd9802406928",
          "CreateDate": "2024-04-23T07:16:46.1723165-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-04-23T07:16:46.1723165-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "42abf7c2-e895-4d6c-b94f-033eaba067ed",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-04-23T07:16:46.1723165-07:00",
          "MeasurementValueNeededDate": "2024-04-23T07:16:46.1723165-07:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "75fad5b2-972a-41b1-b65e-adc2887307fe",
          "CreateDate": "2024-04-23T07:16:46.1723165-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-04-23T07:16:46.1723165-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-04-23T07:16:46.1723165-07:00",
        "MeasurementValueNeededDate": "2024-04-23T07:16:46.1723165-07:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "fd266165-5fae-4763-893e-4b03946d96b4",
        "CreateDate": "2024-04-23T07:16:46.1723165-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-04-23T07:16:46.1723165-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "9fdbf5ce-b9ea-4635-9dcc-5c13f4172f43",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "ae1d42b7-58c4-463a-aa15-802bfdd085ac",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "ed9d780e-e08d-4e7b-97e9-cd9802406928",
          "CreateDate": "2024-04-23T07:16:46.1723165-07:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-04-23T07:16:46.1723165-07:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "84d390b3-fab4-47c3-aca5-6c43552c43d1",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "8c8657fe-d881-4c64-a8e5-e17a06474c20",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "2ac76206-b250-4f65-ae1c-c5a2f086c11b",
          "CreateDate": "2024-04-23T07:16:46.1723165-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-04-23T07:16:46.1723165-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": "2024-04-23T07:16:46.1723165-07:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "e3f5250c-707b-4704-a6c2-4f8138840732",
        "CreateDate": "2024-04-23T07:16:46.1723165-07:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-04-23T07:16:46.1723165-07:00",
        "LastModifiedUser": "sample string 8"
      },
      "Label": "sample string 1",
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2024-04-23T07:16:46.1723165-07:00",
      "LastValueDate": "2024-04-23T07:16:46.1723165-07:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "2d9b7492-466b-4975-9535-ee403fdc488b",
      "CreateDate": "2024-04-23T07:16:46.1723165-07:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2024-04-23T07:16:46.1723165-07:00",
      "LastModifiedUser": "sample string 5"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}