GET AssetFormTypes/GetAllForAsset?assetId={assetId}

Retrieves all asset form types for the given asset. This includes asset form 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 form types for the asset.

NameDescriptionTypeAdditional information
Data

Collection of AssetFormType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "AssetFormTypeId": "1a938e71-3b16-4e5a-ae17-38e4a2c630f4",
      "Asset": {
        "AssetId": "29cce62b-482d-4213-93b3-87219c0d0bf7",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "4a135003-f9b8-4bf9-a6d6-6be2b7962564",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "a35acf1a-60db-4a06-a3e8-ddede9bf7457",
          "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "63b1b986-3373-44be-9592-1f23a91993b8",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-12-08T20:02:11.9840052-08:00",
          "MeasurementValueNeededDate": "2024-12-08T20:02:11.9840052-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "69cf7cb0-bdb6-4c05-9b1f-ffad10c5fefb",
          "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-12-08T20:02:11.9840052-08:00",
        "MeasurementValueNeededDate": "2024-12-08T20:02:11.9840052-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "e40d52e8-e9ce-477c-9bb6-09f82195312d",
        "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "FormType": {
        "FormTypeId": "88d52c0d-d694-420a-a79e-7cfd207a2767",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "4a135003-f9b8-4bf9-a6d6-6be2b7962564",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "a35acf1a-60db-4a06-a3e8-ddede9bf7457",
          "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2024-12-08T20:02:11.9840052-08:00",
        "Fields": [
          {
            "FormTypeFieldId": "5d0e0aa3-94d6-4f21-86a3-75c6b38c75bb",
            "Section": {
              "FormTypeSectionId": "ce738c01-8116-439d-ba6c-119ad5a90d68",
              "Name": "sample string 1",
              "Label": "sample string 2",
              "DisplayOrder": 1,
              "IsRepeatable": true,
              "VisibleExpression": "sample string 4",
              "SourceSystemId": "sample string 5"
            },
            "Name": "sample string 1",
            "Label": "sample string 2",
            "Description": "sample string 3",
            "DataType": {
              "DataTypeId": "c436aafb-659d-44c0-a3d3-5ed7eb874386",
              "Name": "sample string 1"
            },
            "Unit": {
              "UnitId": "f04bc275-25cf-4014-8758-9d361abc675e",
              "Code": "sample string 1",
              "Description": "sample string 2",
              "SourceSystemId": "sample string 3",
              "CompanyId": "465832eb-e3ec-4345-b1bd-aede3bba7ee1",
              "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
              "LastModifiedUser": "sample string 6"
            },
            "DisplayOrder": 1,
            "MinValue": 1.0,
            "MaxValue": 1.0,
            "MinLength": 1,
            "MaxLength": 1,
            "HasValidValues": true,
            "ValidValues": [
              {
                "ValidValueId": "4a2aebe9-6ab7-4165-a5d3-dfd8b0620f4f",
                "FieldId": "dc2784b4-9670-41b8-aab8-dbea65eb35a0",
                "FieldName": "sample string 1",
                "FieldLabel": "sample string 2",
                "ValueText": "sample string 3",
                "LabelText": "sample string 4"
              },
              {
                "ValidValueId": "4a2aebe9-6ab7-4165-a5d3-dfd8b0620f4f",
                "FieldId": "dc2784b4-9670-41b8-aab8-dbea65eb35a0",
                "FieldName": "sample string 1",
                "FieldLabel": "sample string 2",
                "ValueText": "sample string 3",
                "LabelText": "sample string 4"
              }
            ],
            "ValueExpression": "sample string 5",
            "RequiredExpression": "sample string 6",
            "IsAttachment": true,
            "DefaultValueExpression": "sample string 8",
            "IsAccumulator": true,
            "IsMultiline": true,
            "IsRepeatable": true,
            "VisibleExpression": "sample string 12",
            "SourceSystemId": "sample string 13"
          },
          {
            "FormTypeFieldId": "5d0e0aa3-94d6-4f21-86a3-75c6b38c75bb",
            "Section": {
              "FormTypeSectionId": "ce738c01-8116-439d-ba6c-119ad5a90d68",
              "Name": "sample string 1",
              "Label": "sample string 2",
              "DisplayOrder": 1,
              "IsRepeatable": true,
              "VisibleExpression": "sample string 4",
              "SourceSystemId": "sample string 5"
            },
            "Name": "sample string 1",
            "Label": "sample string 2",
            "Description": "sample string 3",
            "DataType": {
              "DataTypeId": "c436aafb-659d-44c0-a3d3-5ed7eb874386",
              "Name": "sample string 1"
            },
            "Unit": {
              "UnitId": "f04bc275-25cf-4014-8758-9d361abc675e",
              "Code": "sample string 1",
              "Description": "sample string 2",
              "SourceSystemId": "sample string 3",
              "CompanyId": "465832eb-e3ec-4345-b1bd-aede3bba7ee1",
              "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
              "LastModifiedUser": "sample string 6"
            },
            "DisplayOrder": 1,
            "MinValue": 1.0,
            "MaxValue": 1.0,
            "MinLength": 1,
            "MaxLength": 1,
            "HasValidValues": true,
            "ValidValues": [
              {
                "ValidValueId": "4a2aebe9-6ab7-4165-a5d3-dfd8b0620f4f",
                "FieldId": "dc2784b4-9670-41b8-aab8-dbea65eb35a0",
                "FieldName": "sample string 1",
                "FieldLabel": "sample string 2",
                "ValueText": "sample string 3",
                "LabelText": "sample string 4"
              },
              {
                "ValidValueId": "4a2aebe9-6ab7-4165-a5d3-dfd8b0620f4f",
                "FieldId": "dc2784b4-9670-41b8-aab8-dbea65eb35a0",
                "FieldName": "sample string 1",
                "FieldLabel": "sample string 2",
                "ValueText": "sample string 3",
                "LabelText": "sample string 4"
              }
            ],
            "ValueExpression": "sample string 5",
            "RequiredExpression": "sample string 6",
            "IsAttachment": true,
            "DefaultValueExpression": "sample string 8",
            "IsAccumulator": true,
            "IsMultiline": true,
            "IsRepeatable": true,
            "VisibleExpression": "sample string 12",
            "SourceSystemId": "sample string 13"
          }
        ],
        "SourceSystemId": "sample string 3",
        "CompanyId": "5d674d4b-e4bd-4d33-8a3d-8d17fc1ad73d",
        "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2024-12-08T20:02:11.9840052-08:00",
      "LastValueDate": "2024-12-08T20:02:11.9840052-08:00",
      "SourceSystemId": "sample string 1",
      "CompanyId": "ced9076f-b1ec-4c37-8555-0fba5dcc38b5",
      "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
      "LastModifiedUser": "sample string 4"
    },
    {
      "AssetFormTypeId": "1a938e71-3b16-4e5a-ae17-38e4a2c630f4",
      "Asset": {
        "AssetId": "29cce62b-482d-4213-93b3-87219c0d0bf7",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "4a135003-f9b8-4bf9-a6d6-6be2b7962564",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "a35acf1a-60db-4a06-a3e8-ddede9bf7457",
          "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "63b1b986-3373-44be-9592-1f23a91993b8",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2024-12-08T20:02:11.9840052-08:00",
          "MeasurementValueNeededDate": "2024-12-08T20:02:11.9840052-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "69cf7cb0-bdb6-4c05-9b1f-ffad10c5fefb",
          "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2024-12-08T20:02:11.9840052-08:00",
        "MeasurementValueNeededDate": "2024-12-08T20:02:11.9840052-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "e40d52e8-e9ce-477c-9bb6-09f82195312d",
        "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "FormType": {
        "FormTypeId": "88d52c0d-d694-420a-a79e-7cfd207a2767",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "4a135003-f9b8-4bf9-a6d6-6be2b7962564",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "a35acf1a-60db-4a06-a3e8-ddede9bf7457",
          "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2024-12-08T20:02:11.9840052-08:00",
        "Fields": [
          {
            "FormTypeFieldId": "5d0e0aa3-94d6-4f21-86a3-75c6b38c75bb",
            "Section": {
              "FormTypeSectionId": "ce738c01-8116-439d-ba6c-119ad5a90d68",
              "Name": "sample string 1",
              "Label": "sample string 2",
              "DisplayOrder": 1,
              "IsRepeatable": true,
              "VisibleExpression": "sample string 4",
              "SourceSystemId": "sample string 5"
            },
            "Name": "sample string 1",
            "Label": "sample string 2",
            "Description": "sample string 3",
            "DataType": {
              "DataTypeId": "c436aafb-659d-44c0-a3d3-5ed7eb874386",
              "Name": "sample string 1"
            },
            "Unit": {
              "UnitId": "f04bc275-25cf-4014-8758-9d361abc675e",
              "Code": "sample string 1",
              "Description": "sample string 2",
              "SourceSystemId": "sample string 3",
              "CompanyId": "465832eb-e3ec-4345-b1bd-aede3bba7ee1",
              "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
              "LastModifiedUser": "sample string 6"
            },
            "DisplayOrder": 1,
            "MinValue": 1.0,
            "MaxValue": 1.0,
            "MinLength": 1,
            "MaxLength": 1,
            "HasValidValues": true,
            "ValidValues": [
              {
                "ValidValueId": "4a2aebe9-6ab7-4165-a5d3-dfd8b0620f4f",
                "FieldId": "dc2784b4-9670-41b8-aab8-dbea65eb35a0",
                "FieldName": "sample string 1",
                "FieldLabel": "sample string 2",
                "ValueText": "sample string 3",
                "LabelText": "sample string 4"
              },
              {
                "ValidValueId": "4a2aebe9-6ab7-4165-a5d3-dfd8b0620f4f",
                "FieldId": "dc2784b4-9670-41b8-aab8-dbea65eb35a0",
                "FieldName": "sample string 1",
                "FieldLabel": "sample string 2",
                "ValueText": "sample string 3",
                "LabelText": "sample string 4"
              }
            ],
            "ValueExpression": "sample string 5",
            "RequiredExpression": "sample string 6",
            "IsAttachment": true,
            "DefaultValueExpression": "sample string 8",
            "IsAccumulator": true,
            "IsMultiline": true,
            "IsRepeatable": true,
            "VisibleExpression": "sample string 12",
            "SourceSystemId": "sample string 13"
          },
          {
            "FormTypeFieldId": "5d0e0aa3-94d6-4f21-86a3-75c6b38c75bb",
            "Section": {
              "FormTypeSectionId": "ce738c01-8116-439d-ba6c-119ad5a90d68",
              "Name": "sample string 1",
              "Label": "sample string 2",
              "DisplayOrder": 1,
              "IsRepeatable": true,
              "VisibleExpression": "sample string 4",
              "SourceSystemId": "sample string 5"
            },
            "Name": "sample string 1",
            "Label": "sample string 2",
            "Description": "sample string 3",
            "DataType": {
              "DataTypeId": "c436aafb-659d-44c0-a3d3-5ed7eb874386",
              "Name": "sample string 1"
            },
            "Unit": {
              "UnitId": "f04bc275-25cf-4014-8758-9d361abc675e",
              "Code": "sample string 1",
              "Description": "sample string 2",
              "SourceSystemId": "sample string 3",
              "CompanyId": "465832eb-e3ec-4345-b1bd-aede3bba7ee1",
              "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
              "LastModifiedUser": "sample string 6"
            },
            "DisplayOrder": 1,
            "MinValue": 1.0,
            "MaxValue": 1.0,
            "MinLength": 1,
            "MaxLength": 1,
            "HasValidValues": true,
            "ValidValues": [
              {
                "ValidValueId": "4a2aebe9-6ab7-4165-a5d3-dfd8b0620f4f",
                "FieldId": "dc2784b4-9670-41b8-aab8-dbea65eb35a0",
                "FieldName": "sample string 1",
                "FieldLabel": "sample string 2",
                "ValueText": "sample string 3",
                "LabelText": "sample string 4"
              },
              {
                "ValidValueId": "4a2aebe9-6ab7-4165-a5d3-dfd8b0620f4f",
                "FieldId": "dc2784b4-9670-41b8-aab8-dbea65eb35a0",
                "FieldName": "sample string 1",
                "FieldLabel": "sample string 2",
                "ValueText": "sample string 3",
                "LabelText": "sample string 4"
              }
            ],
            "ValueExpression": "sample string 5",
            "RequiredExpression": "sample string 6",
            "IsAttachment": true,
            "DefaultValueExpression": "sample string 8",
            "IsAccumulator": true,
            "IsMultiline": true,
            "IsRepeatable": true,
            "VisibleExpression": "sample string 12",
            "SourceSystemId": "sample string 13"
          }
        ],
        "SourceSystemId": "sample string 3",
        "CompanyId": "5d674d4b-e4bd-4d33-8a3d-8d17fc1ad73d",
        "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2024-12-08T20:02:11.9840052-08:00",
      "LastValueDate": "2024-12-08T20:02:11.9840052-08:00",
      "SourceSystemId": "sample string 1",
      "CompanyId": "ced9076f-b1ec-4c37-8555-0fba5dcc38b5",
      "CreateDate": "2024-12-08T20:02:11.9840052-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-12-08T20:02:11.9840052-08:00",
      "LastModifiedUser": "sample string 4"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}