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
Name | Description | Type | Additional 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.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of AssetFormType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "AssetFormTypeId": "3fa05c8a-4599-42f2-93b7-2052ad74d5f5", "Asset": { "AssetId": "5d1d8886-f693-470e-b1b5-80dec774b832", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c64ca983-4098-4798-bfec-df2e4a4f0b09", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f13fd508-d2a7-4e75-9010-a3508b6289ec", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "cb3fff82-e655-41fe-b951-a2eb0d46cbd7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T07:14:39.16281-07:00", "MeasurementValueNeededDate": "2025-06-02T07:14:39.16281-07:00", "SourceSystemId": "sample string 3", "CompanyId": "cb7da6e0-dbe6-4a4a-b687-d35999e9f7cf", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-02T07:14:39.16281-07:00", "MeasurementValueNeededDate": "2025-06-02T07:14:39.16281-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e5e80a26-b45b-4bec-a3ed-415f39a580a8", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "0ae941a6-4698-4c00-ad05-99945f874548", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c64ca983-4098-4798-bfec-df2e4a4f0b09", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f13fd508-d2a7-4e75-9010-a3508b6289ec", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-02T07:14:39.16281-07:00", "Active": true, "Fields": [ { "FormTypeFieldId": "265bdf20-54e3-484e-84bd-b529ad306a18", "Section": { "FormTypeSectionId": "1249f852-73f2-47b9-ada6-844130458519", "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": "43bc42c4-70df-4514-b4a3-72964d397dc4", "Name": "sample string 1" }, "Unit": { "UnitId": "e7708c9f-a9f0-434e-8990-1160364f2422", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "934cfdc4-f541-4e49-aa65-3b2aa0f5ca4b", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "67b523c1-20a7-410d-8d55-75595b253a85", "FieldId": "f89f8755-e0f1-471a-b007-c5a706bd1440", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "67b523c1-20a7-410d-8d55-75595b253a85", "FieldId": "f89f8755-e0f1-471a-b007-c5a706bd1440", "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": "265bdf20-54e3-484e-84bd-b529ad306a18", "Section": { "FormTypeSectionId": "1249f852-73f2-47b9-ada6-844130458519", "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": "43bc42c4-70df-4514-b4a3-72964d397dc4", "Name": "sample string 1" }, "Unit": { "UnitId": "e7708c9f-a9f0-434e-8990-1160364f2422", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "934cfdc4-f541-4e49-aa65-3b2aa0f5ca4b", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "67b523c1-20a7-410d-8d55-75595b253a85", "FieldId": "f89f8755-e0f1-471a-b007-c5a706bd1440", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "67b523c1-20a7-410d-8d55-75595b253a85", "FieldId": "f89f8755-e0f1-471a-b007-c5a706bd1440", "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 4", "CompanyId": "6b5ea71b-380c-4a4a-b9e5-2cd910608b52", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-02T07:14:39.16281-07:00", "LastValueDate": "2025-06-02T07:14:39.16281-07:00", "SourceSystemId": "sample string 1", "CompanyId": "7ac6e74f-f90d-4c45-a2b9-1ce55a76dcab", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 4" }, { "AssetFormTypeId": "3fa05c8a-4599-42f2-93b7-2052ad74d5f5", "Asset": { "AssetId": "5d1d8886-f693-470e-b1b5-80dec774b832", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c64ca983-4098-4798-bfec-df2e4a4f0b09", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f13fd508-d2a7-4e75-9010-a3508b6289ec", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "cb3fff82-e655-41fe-b951-a2eb0d46cbd7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T07:14:39.16281-07:00", "MeasurementValueNeededDate": "2025-06-02T07:14:39.16281-07:00", "SourceSystemId": "sample string 3", "CompanyId": "cb7da6e0-dbe6-4a4a-b687-d35999e9f7cf", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-06-02T07:14:39.16281-07:00", "MeasurementValueNeededDate": "2025-06-02T07:14:39.16281-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e5e80a26-b45b-4bec-a3ed-415f39a580a8", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "0ae941a6-4698-4c00-ad05-99945f874548", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c64ca983-4098-4798-bfec-df2e4a4f0b09", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f13fd508-d2a7-4e75-9010-a3508b6289ec", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-02T07:14:39.16281-07:00", "Active": true, "Fields": [ { "FormTypeFieldId": "265bdf20-54e3-484e-84bd-b529ad306a18", "Section": { "FormTypeSectionId": "1249f852-73f2-47b9-ada6-844130458519", "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": "43bc42c4-70df-4514-b4a3-72964d397dc4", "Name": "sample string 1" }, "Unit": { "UnitId": "e7708c9f-a9f0-434e-8990-1160364f2422", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "934cfdc4-f541-4e49-aa65-3b2aa0f5ca4b", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "67b523c1-20a7-410d-8d55-75595b253a85", "FieldId": "f89f8755-e0f1-471a-b007-c5a706bd1440", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "67b523c1-20a7-410d-8d55-75595b253a85", "FieldId": "f89f8755-e0f1-471a-b007-c5a706bd1440", "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": "265bdf20-54e3-484e-84bd-b529ad306a18", "Section": { "FormTypeSectionId": "1249f852-73f2-47b9-ada6-844130458519", "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": "43bc42c4-70df-4514-b4a3-72964d397dc4", "Name": "sample string 1" }, "Unit": { "UnitId": "e7708c9f-a9f0-434e-8990-1160364f2422", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "934cfdc4-f541-4e49-aa65-3b2aa0f5ca4b", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "67b523c1-20a7-410d-8d55-75595b253a85", "FieldId": "f89f8755-e0f1-471a-b007-c5a706bd1440", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "67b523c1-20a7-410d-8d55-75595b253a85", "FieldId": "f89f8755-e0f1-471a-b007-c5a706bd1440", "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 4", "CompanyId": "6b5ea71b-380c-4a4a-b9e5-2cd910608b52", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-02T07:14:39.16281-07:00", "LastValueDate": "2025-06-02T07:14:39.16281-07:00", "SourceSystemId": "sample string 1", "CompanyId": "7ac6e74f-f90d-4c45-a2b9-1ce55a76dcab", "CreateDate": "2025-06-02T07:14:39.16281-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T07:14:39.16281-07:00", "LastModifiedUser": "sample string 4" } ], "Total": 1, "Message": "sample string 1" }