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": "a89c8aac-a93d-4e6a-80d9-c7f8b948ec9c",
      "Asset": {
        "AssetId": "cb7ecd35-4979-408d-b1fc-638ec03644c4",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "0445294f-bc2a-481d-9d69-4cf3b6ac1db9",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "357a0c2b-e1d8-49d6-a068-ffa33168783d",
          "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "45a9c997-f237-4621-8009-603a9ce45e13",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2022-11-26T16:19:32.2149318-08:00",
          "MeasurementValueNeededDate": "2022-11-26T16:19:32.2149318-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c3feef15-0486-47f9-b6ca-beb7321a5b86",
          "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2022-11-26T16:19:32.2149318-08:00",
        "MeasurementValueNeededDate": "2022-11-26T16:19:32.2149318-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "f0e27204-425c-4657-9fd9-5468292626e4",
        "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "FormType": {
        "FormTypeId": "882e42ed-5f20-47c0-95c9-a7dc45a161e5",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "0445294f-bc2a-481d-9d69-4cf3b6ac1db9",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "357a0c2b-e1d8-49d6-a068-ffa33168783d",
          "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2022-11-26T16:19:32.2149318-08:00",
        "Fields": [
          {
            "FormTypeFieldId": "09f55914-a18d-4a57-875c-450a13ddb8ff",
            "Section": {
              "FormTypeSectionId": "5ee73bcb-c4dd-42a4-9426-27bbce28e22c",
              "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": "1e6a8c78-bdbc-451e-bac6-69d7b2773794",
              "Name": "sample string 1"
            },
            "Unit": {
              "UnitId": "21f049d2-d5c4-4cba-bfb3-b5b0fa90e24e",
              "Code": "sample string 1",
              "Description": "sample string 2",
              "SourceSystemId": "sample string 3",
              "CompanyId": "f65da00b-c80d-4af7-bcc3-4b3cd5820393",
              "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
              "LastModifiedUser": "sample string 6"
            },
            "DisplayOrder": 1,
            "MinValue": 1.0,
            "MaxValue": 1.0,
            "MinLength": 1,
            "MaxLength": 1,
            "HasValidValues": true,
            "ValidValues": [
              "sample string 1",
              "sample string 2"
            ],
            "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": "09f55914-a18d-4a57-875c-450a13ddb8ff",
            "Section": {
              "FormTypeSectionId": "5ee73bcb-c4dd-42a4-9426-27bbce28e22c",
              "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": "1e6a8c78-bdbc-451e-bac6-69d7b2773794",
              "Name": "sample string 1"
            },
            "Unit": {
              "UnitId": "21f049d2-d5c4-4cba-bfb3-b5b0fa90e24e",
              "Code": "sample string 1",
              "Description": "sample string 2",
              "SourceSystemId": "sample string 3",
              "CompanyId": "f65da00b-c80d-4af7-bcc3-4b3cd5820393",
              "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
              "LastModifiedUser": "sample string 6"
            },
            "DisplayOrder": 1,
            "MinValue": 1.0,
            "MaxValue": 1.0,
            "MinLength": 1,
            "MaxLength": 1,
            "HasValidValues": true,
            "ValidValues": [
              "sample string 1",
              "sample string 2"
            ],
            "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": "31729d58-609a-4823-92be-e68200dbd8cb",
        "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2022-11-26T16:19:32.2149318-08:00",
      "LastValueDate": "2022-11-26T16:19:32.2149318-08:00",
      "SourceSystemId": "sample string 1",
      "CompanyId": "567f3bcd-c8d4-4f1f-876c-dc178dd29985",
      "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
      "LastModifiedUser": "sample string 4"
    },
    {
      "AssetFormTypeId": "a89c8aac-a93d-4e6a-80d9-c7f8b948ec9c",
      "Asset": {
        "AssetId": "cb7ecd35-4979-408d-b1fc-638ec03644c4",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayOrder": 1,
        "AssetType": {
          "AssetTypeId": "0445294f-bc2a-481d-9d69-4cf3b6ac1db9",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "357a0c2b-e1d8-49d6-a068-ffa33168783d",
          "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "AssetGroup": {
          "AssetGroupId": "45a9c997-f237-4621-8009-603a9ce45e13",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "ParentGroup": null,
          "DisplayOrder": 1,
          "FormValueNeededDate": "2022-11-26T16:19:32.2149318-08:00",
          "MeasurementValueNeededDate": "2022-11-26T16:19:32.2149318-08:00",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c3feef15-0486-47f9-b6ca-beb7321a5b86",
          "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "ParentAsset": null,
        "Location": "sample string 3",
        "Barcode": {
          "Format": 0,
          "Code": "sample string 1"
        },
        "FormValueNeededDate": "2022-11-26T16:19:32.2149318-08:00",
        "MeasurementValueNeededDate": "2022-11-26T16:19:32.2149318-08:00",
        "HasChildren": true,
        "SourceSystemId": "sample string 5",
        "CompanyId": "f0e27204-425c-4657-9fd9-5468292626e4",
        "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "FormType": {
        "FormTypeId": "882e42ed-5f20-47c0-95c9-a7dc45a161e5",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "AssetType": {
          "AssetTypeId": "0445294f-bc2a-481d-9d69-4cf3b6ac1db9",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "DisplayColor": "sample string 3",
          "SourceSystemId": "sample string 4",
          "CompanyId": "357a0c2b-e1d8-49d6-a068-ffa33168783d",
          "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
          "CreateUser": "sample string 6",
          "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
          "LastModifiedUser": "sample string 7"
        },
        "FrequencyNeeded": 1,
        "ValueNeededDate": "2022-11-26T16:19:32.2149318-08:00",
        "Fields": [
          {
            "FormTypeFieldId": "09f55914-a18d-4a57-875c-450a13ddb8ff",
            "Section": {
              "FormTypeSectionId": "5ee73bcb-c4dd-42a4-9426-27bbce28e22c",
              "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": "1e6a8c78-bdbc-451e-bac6-69d7b2773794",
              "Name": "sample string 1"
            },
            "Unit": {
              "UnitId": "21f049d2-d5c4-4cba-bfb3-b5b0fa90e24e",
              "Code": "sample string 1",
              "Description": "sample string 2",
              "SourceSystemId": "sample string 3",
              "CompanyId": "f65da00b-c80d-4af7-bcc3-4b3cd5820393",
              "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
              "LastModifiedUser": "sample string 6"
            },
            "DisplayOrder": 1,
            "MinValue": 1.0,
            "MaxValue": 1.0,
            "MinLength": 1,
            "MaxLength": 1,
            "HasValidValues": true,
            "ValidValues": [
              "sample string 1",
              "sample string 2"
            ],
            "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": "09f55914-a18d-4a57-875c-450a13ddb8ff",
            "Section": {
              "FormTypeSectionId": "5ee73bcb-c4dd-42a4-9426-27bbce28e22c",
              "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": "1e6a8c78-bdbc-451e-bac6-69d7b2773794",
              "Name": "sample string 1"
            },
            "Unit": {
              "UnitId": "21f049d2-d5c4-4cba-bfb3-b5b0fa90e24e",
              "Code": "sample string 1",
              "Description": "sample string 2",
              "SourceSystemId": "sample string 3",
              "CompanyId": "f65da00b-c80d-4af7-bcc3-4b3cd5820393",
              "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
              "LastModifiedUser": "sample string 6"
            },
            "DisplayOrder": 1,
            "MinValue": 1.0,
            "MaxValue": 1.0,
            "MinLength": 1,
            "MaxLength": 1,
            "HasValidValues": true,
            "ValidValues": [
              "sample string 1",
              "sample string 2"
            ],
            "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": "31729d58-609a-4823-92be-e68200dbd8cb",
        "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "FrequencyNeeded": 1,
      "ValueNeededDate": "2022-11-26T16:19:32.2149318-08:00",
      "LastValueDate": "2022-11-26T16:19:32.2149318-08:00",
      "SourceSystemId": "sample string 1",
      "CompanyId": "567f3bcd-c8d4-4f1f-876c-dc178dd29985",
      "CreateDate": "2022-11-26T16:19:32.2149318-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2022-11-26T16:19:32.2149318-08:00",
      "LastModifiedUser": "sample string 4"
    }
  ],
  "Total": 1,
  "Message": "sample string 1"
}