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": "bd0444ad-f78e-4004-b8df-f3b801eb86bd", "Asset": { "AssetId": "5f28518f-0eff-49a8-a172-25a8783f8d41", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6a0a78d1-307b-4d48-9d51-7065804dae2c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "dc9ba922-098e-4459-891d-aea9317911b5", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:54:17.285452-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "bae7d896-02db-42fe-bd37-12bc841d7549", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:54:17.285452-07:00", "MeasurementValueNeededDate": "2025-08-30T12:54:17.285452-07:00", "SourceSystemId": "sample string 3", "CompanyId": "841c8d46-500c-47b6-8ee5-febc2a5cc7ea", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:54:17.285452-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-30T12:54:17.285452-07:00", "MeasurementValueNeededDate": "2025-08-30T12:54:17.285452-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "849e5212-3462-4b8e-be89-1ceca2cbba8c", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:54:17.285452-07:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "0b89e52c-73d8-4dbc-a345-dcfc77dd9a3c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "6a0a78d1-307b-4d48-9d51-7065804dae2c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "dc9ba922-098e-4459-891d-aea9317911b5", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:54:17.285452-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-30T12:54:17.285452-07:00", "Fields": [ { "FormTypeFieldId": "c7add4aa-d285-44e8-a34f-ab04275546b9", "Section": { "FormTypeSectionId": "06bb9f83-9d43-403e-81c0-8b11392c3877", "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": "788210b2-e4ff-4e71-8e8c-a79d7e7becb4", "Name": "sample string 1" }, "Unit": { "UnitId": "5bdeea58-ff8a-4abb-8737-523fdd252913", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "040013cc-d184-46c5-aa61-3b0ddab04ba5", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:54:17.285452-07: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": "c7add4aa-d285-44e8-a34f-ab04275546b9", "Section": { "FormTypeSectionId": "06bb9f83-9d43-403e-81c0-8b11392c3877", "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": "788210b2-e4ff-4e71-8e8c-a79d7e7becb4", "Name": "sample string 1" }, "Unit": { "UnitId": "5bdeea58-ff8a-4abb-8737-523fdd252913", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "040013cc-d184-46c5-aa61-3b0ddab04ba5", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:54:17.285452-07: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": "82b17ee3-d701-4685-bac5-9f2fd76283e2", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:54:17.285452-07:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-30T12:54:17.285452-07:00", "LastValueDate": "2025-08-30T12:54:17.285452-07:00", "SourceSystemId": "sample string 1", "CompanyId": "860fd415-4c90-4e9f-820a-a797f4635fe7", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-30T12:54:17.285452-07:00", "LastModifiedUser": "sample string 4" }, { "AssetFormTypeId": "bd0444ad-f78e-4004-b8df-f3b801eb86bd", "Asset": { "AssetId": "5f28518f-0eff-49a8-a172-25a8783f8d41", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6a0a78d1-307b-4d48-9d51-7065804dae2c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "dc9ba922-098e-4459-891d-aea9317911b5", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:54:17.285452-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "bae7d896-02db-42fe-bd37-12bc841d7549", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:54:17.285452-07:00", "MeasurementValueNeededDate": "2025-08-30T12:54:17.285452-07:00", "SourceSystemId": "sample string 3", "CompanyId": "841c8d46-500c-47b6-8ee5-febc2a5cc7ea", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:54:17.285452-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-30T12:54:17.285452-07:00", "MeasurementValueNeededDate": "2025-08-30T12:54:17.285452-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "849e5212-3462-4b8e-be89-1ceca2cbba8c", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:54:17.285452-07:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "0b89e52c-73d8-4dbc-a345-dcfc77dd9a3c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "6a0a78d1-307b-4d48-9d51-7065804dae2c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "dc9ba922-098e-4459-891d-aea9317911b5", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:54:17.285452-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-30T12:54:17.285452-07:00", "Fields": [ { "FormTypeFieldId": "c7add4aa-d285-44e8-a34f-ab04275546b9", "Section": { "FormTypeSectionId": "06bb9f83-9d43-403e-81c0-8b11392c3877", "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": "788210b2-e4ff-4e71-8e8c-a79d7e7becb4", "Name": "sample string 1" }, "Unit": { "UnitId": "5bdeea58-ff8a-4abb-8737-523fdd252913", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "040013cc-d184-46c5-aa61-3b0ddab04ba5", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:54:17.285452-07: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": "c7add4aa-d285-44e8-a34f-ab04275546b9", "Section": { "FormTypeSectionId": "06bb9f83-9d43-403e-81c0-8b11392c3877", "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": "788210b2-e4ff-4e71-8e8c-a79d7e7becb4", "Name": "sample string 1" }, "Unit": { "UnitId": "5bdeea58-ff8a-4abb-8737-523fdd252913", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "040013cc-d184-46c5-aa61-3b0ddab04ba5", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:54:17.285452-07: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": "82b17ee3-d701-4685-bac5-9f2fd76283e2", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:54:17.285452-07:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-30T12:54:17.285452-07:00", "LastValueDate": "2025-08-30T12:54:17.285452-07:00", "SourceSystemId": "sample string 1", "CompanyId": "860fd415-4c90-4e9f-820a-a797f4635fe7", "CreateDate": "2025-08-30T12:54:17.285452-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-30T12:54:17.285452-07:00", "LastModifiedUser": "sample string 4" } ], "Total": 1, "Message": "sample string 1" }