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": "17ea2496-789e-4200-9ea8-542b46ce4d8e",
      "Asset": {
        "AssetId": "dd834bad-f6d8-45d2-891e-274f5eac5964",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "51a62e4b-7874-4c66-b577-9902d4c3cf4e",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "615d199c-db58-448f-b879-071ee78bdb1c",
          "CreateDate": "2022-11-26T16:23:05.7587857-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2022-11-26T16:23:05.7587857-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "f9328f11-6f64-4a8f-bcc5-1ea847269389",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2022-11-26T16:23:05.7587857-08:00",
          "MeasurementValueNeededDate": "2022-11-26T16:23:05.7587857-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1cabdb7d-8813-4145-b307-97baceb3e681",
          "CreateDate": "2022-11-26T16:23:05.7587857-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-26T16:23:05.7587857-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2022-11-26T16:23:05.7587857-08:00",
        "MeasurementValueNeededDate": "2022-11-26T16:23:05.7587857-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "c2aba9a9-ba9c-4174-83c6-299451f35571",
        "CreateDate": "2022-11-26T16:23:05.7587857-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2022-11-26T16:23:05.7587857-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "e2cedb37-f355-420d-b1b7-ad854ab9ad7c",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "51a62e4b-7874-4c66-b577-9902d4c3cf4e",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "615d199c-db58-448f-b879-071ee78bdb1c",
          "CreateDate": "2022-11-26T16:23:05.7587857-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2022-11-26T16:23:05.7587857-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "00469cc2-4d5a-487f-a78c-f3db173ab0d7",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "7f27762c-ebc4-4c27-a294-94a55af35959",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "289e1e57-6d01-49b9-8cc0-88982bae3208",
          "CreateDate": "2022-11-26T16:23:05.7587857-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-26T16:23:05.7587857-08: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": "2022-11-26T16:23:05.7587857-08:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "fb1db796-11fc-46b2-9c1a-f8227094437b",
        "CreateDate": "2022-11-26T16:23:05.7587857-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2022-11-26T16:23:05.7587857-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "Label": "sample string 1",
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2022-11-26T16:23:05.7587857-08:00",
      "LastValueDate": "2022-11-26T16:23:05.7587857-08:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "8ff9a3ce-abd3-41ce-8c81-671c593309fd",
      "CreateDate": "2022-11-26T16:23:05.7587857-08:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2022-11-26T16:23:05.7587857-08:00",
      "LastModifiedUser": "sample string 5"
    },
    {
      "AssetMeasurementTypeId": "17ea2496-789e-4200-9ea8-542b46ce4d8e",
      "Asset": {
        "AssetId": "dd834bad-f6d8-45d2-891e-274f5eac5964",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "51a62e4b-7874-4c66-b577-9902d4c3cf4e",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "615d199c-db58-448f-b879-071ee78bdb1c",
          "CreateDate": "2022-11-26T16:23:05.7587857-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2022-11-26T16:23:05.7587857-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "f9328f11-6f64-4a8f-bcc5-1ea847269389",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2022-11-26T16:23:05.7587857-08:00",
          "MeasurementValueNeededDate": "2022-11-26T16:23:05.7587857-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1cabdb7d-8813-4145-b307-97baceb3e681",
          "CreateDate": "2022-11-26T16:23:05.7587857-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-26T16:23:05.7587857-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2022-11-26T16:23:05.7587857-08:00",
        "MeasurementValueNeededDate": "2022-11-26T16:23:05.7587857-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "c2aba9a9-ba9c-4174-83c6-299451f35571",
        "CreateDate": "2022-11-26T16:23:05.7587857-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2022-11-26T16:23:05.7587857-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "e2cedb37-f355-420d-b1b7-ad854ab9ad7c",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "51a62e4b-7874-4c66-b577-9902d4c3cf4e",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "615d199c-db58-448f-b879-071ee78bdb1c",
          "CreateDate": "2022-11-26T16:23:05.7587857-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2022-11-26T16:23:05.7587857-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "00469cc2-4d5a-487f-a78c-f3db173ab0d7",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "7f27762c-ebc4-4c27-a294-94a55af35959",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "289e1e57-6d01-49b9-8cc0-88982bae3208",
          "CreateDate": "2022-11-26T16:23:05.7587857-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-26T16:23:05.7587857-08: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": "2022-11-26T16:23:05.7587857-08:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "fb1db796-11fc-46b2-9c1a-f8227094437b",
        "CreateDate": "2022-11-26T16:23:05.7587857-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2022-11-26T16:23:05.7587857-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "Label": "sample string 1",
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2022-11-26T16:23:05.7587857-08:00",
      "LastValueDate": "2022-11-26T16:23:05.7587857-08:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "8ff9a3ce-abd3-41ce-8c81-671c593309fd",
      "CreateDate": "2022-11-26T16:23:05.7587857-08:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2022-11-26T16:23:05.7587857-08:00",
      "LastModifiedUser": "sample string 5"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}