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": "a179bf23-3fcd-4f30-b33e-a1b876851740",
      "Asset": {
        "AssetId": "00f33e02-88bc-4cb9-8819-9d2f783a6b41",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "e12335d7-0e87-4d2a-8f78-1195d1f4b390",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "f94f8ff3-d638-4906-8876-61e734705f42",
          "CreateDate": "2024-12-08T06:38:46.6322882-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-08T06:38:46.6322882-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "4cba05a9-10af-438a-b80a-424a186f548f",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-12-08T06:38:46.6322882-08:00",
          "MeasurementValueNeededDate": "2024-12-08T06:38:46.6322882-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "87fd0ba4-ca07-4fc4-b04d-55cc2e13b65d",
          "CreateDate": "2024-12-08T06:38:46.6322882-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-08T06:38:46.6322882-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-12-08T06:38:46.6322882-08:00",
        "MeasurementValueNeededDate": "2024-12-08T06:38:46.6322882-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "97efadc3-59e6-4d0c-bc45-c98c1fd59916",
        "CreateDate": "2024-12-08T06:38:46.6322882-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-12-08T06:38:46.6322882-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "9dfa3df4-dc35-4776-a89a-e2d30ba30993",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "e12335d7-0e87-4d2a-8f78-1195d1f4b390",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "f94f8ff3-d638-4906-8876-61e734705f42",
          "CreateDate": "2024-12-08T06:38:46.6322882-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-08T06:38:46.6322882-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "4e4c05a8-a1e4-42b1-87b1-594565cdf889",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "bd5a8173-5a76-4574-9dab-c4df541cf401",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1f421cc3-7c6f-4264-a2bc-fa7a0c042473",
          "CreateDate": "2024-12-08T06:38:46.6322882-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-08T06:38:46.6322882-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "66a770f2-287b-4392-957f-ef35644888a3",
            "FieldId": "5ff370fc-7c8b-4e87-8e35-c0517a956a95",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "66a770f2-287b-4392-957f-ef35644888a3",
            "FieldId": "5ff370fc-7c8b-4e87-8e35-c0517a956a95",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2024-12-08T06:38:46.6322882-08:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "2d0d729e-ec30-41c1-bc3a-bfe42dabb85c",
        "CreateDate": "2024-12-08T06:38:46.6322882-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-12-08T06:38:46.6322882-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-08T06:38:46.6322882-08:00",
      "LastValueDate": "2024-12-08T06:38:46.6322882-08:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "5ef1d5cb-0981-473c-84e0-8e2410c5bd48",
      "CreateDate": "2024-12-08T06:38:46.6322882-08:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2024-12-08T06:38:46.6322882-08:00",
      "LastModifiedUser": "sample string 5"
    },
    {
      "AssetMeasurementTypeId": "a179bf23-3fcd-4f30-b33e-a1b876851740",
      "Asset": {
        "AssetId": "00f33e02-88bc-4cb9-8819-9d2f783a6b41",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "e12335d7-0e87-4d2a-8f78-1195d1f4b390",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "f94f8ff3-d638-4906-8876-61e734705f42",
          "CreateDate": "2024-12-08T06:38:46.6322882-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-08T06:38:46.6322882-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "4cba05a9-10af-438a-b80a-424a186f548f",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-12-08T06:38:46.6322882-08:00",
          "MeasurementValueNeededDate": "2024-12-08T06:38:46.6322882-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "87fd0ba4-ca07-4fc4-b04d-55cc2e13b65d",
          "CreateDate": "2024-12-08T06:38:46.6322882-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-08T06:38:46.6322882-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-12-08T06:38:46.6322882-08:00",
        "MeasurementValueNeededDate": "2024-12-08T06:38:46.6322882-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "97efadc3-59e6-4d0c-bc45-c98c1fd59916",
        "CreateDate": "2024-12-08T06:38:46.6322882-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-12-08T06:38:46.6322882-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "MeasurementType": {
        "MeasurementTypeId": "9dfa3df4-dc35-4776-a89a-e2d30ba30993",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "e12335d7-0e87-4d2a-8f78-1195d1f4b390",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "f94f8ff3-d638-4906-8876-61e734705f42",
          "CreateDate": "2024-12-08T06:38:46.6322882-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-08T06:38:46.6322882-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "DataType": {
          "DataTypeId": "4e4c05a8-a1e4-42b1-87b1-594565cdf889",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "bd5a8173-5a76-4574-9dab-c4df541cf401",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1f421cc3-7c6f-4264-a2bc-fa7a0c042473",
          "CreateDate": "2024-12-08T06:38:46.6322882-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-08T06:38:46.6322882-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "66a770f2-287b-4392-957f-ef35644888a3",
            "FieldId": "5ff370fc-7c8b-4e87-8e35-c0517a956a95",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "66a770f2-287b-4392-957f-ef35644888a3",
            "FieldId": "5ff370fc-7c8b-4e87-8e35-c0517a956a95",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2024-12-08T06:38:46.6322882-08:00",
        "IsAccumulator": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "2d0d729e-ec30-41c1-bc3a-bfe42dabb85c",
        "CreateDate": "2024-12-08T06:38:46.6322882-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-12-08T06:38:46.6322882-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-08T06:38:46.6322882-08:00",
      "LastValueDate": "2024-12-08T06:38:46.6322882-08:00",
      "SourceSystemId": "sample string 2",
      "CompanyId": "5ef1d5cb-0981-473c-84e0-8e2410c5bd48",
      "CreateDate": "2024-12-08T06:38:46.6322882-08:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2024-12-08T06:38:46.6322882-08:00",
      "LastModifiedUser": "sample string 5"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}