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": "edc06658-619b-45d9-90d4-bd0871c995ef", "Asset": { "AssetId": "43c99280-911d-41af-bd95-98d9da285c7c", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "8915260d-85f0-4d00-bac8-e10b743e651a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "bd677958-2c5c-438b-9639-3280579afc33", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T03:59:42.55193-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "8bffe2ad-e289-405e-a4bf-9a61fb165f5e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T03:59:42.55193-07:00", "MeasurementValueNeededDate": "2024-10-10T03:59:42.55193-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1b678762-f610-4eae-a935-0cc73e8f8e83", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T03:59:42.55193-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T03:59:42.55193-07:00", "MeasurementValueNeededDate": "2024-10-10T03:59:42.55193-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "41922655-d9b7-40fa-b409-76411e468cdc", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T03:59:42.55193-07:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "8dffc9b9-6b9d-4c7b-a1e0-75a9d10f8e3b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8915260d-85f0-4d00-bac8-e10b743e651a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "bd677958-2c5c-438b-9639-3280579afc33", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T03:59:42.55193-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T03:59:42.55193-07:00", "Fields": [ { "FormTypeFieldId": "0d0b6714-6d62-4a3b-acac-4e7beb8e1019", "Section": { "FormTypeSectionId": "7e90181f-01d3-4a15-b51b-c89b6a99313b", "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": "6fbdb28e-d240-4646-a9b1-58cb445d67ff", "Name": "sample string 1" }, "Unit": { "UnitId": "90e59418-dfa2-46e1-858a-137772c65c2f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "64f44174-4444-4494-8d59-3a32ce3afeff", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T03:59:42.55193-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": "0d0b6714-6d62-4a3b-acac-4e7beb8e1019", "Section": { "FormTypeSectionId": "7e90181f-01d3-4a15-b51b-c89b6a99313b", "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": "6fbdb28e-d240-4646-a9b1-58cb445d67ff", "Name": "sample string 1" }, "Unit": { "UnitId": "90e59418-dfa2-46e1-858a-137772c65c2f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "64f44174-4444-4494-8d59-3a32ce3afeff", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T03:59:42.55193-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": "c9368ad0-7d1b-4992-9a1e-e0d6791fb9ca", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T03:59:42.55193-07:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T03:59:42.55193-07:00", "LastValueDate": "2024-10-10T03:59:42.55193-07:00", "SourceSystemId": "sample string 1", "CompanyId": "d87b5ffe-6c44-435f-aab7-99730eb88081", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-10-10T03:59:42.55193-07:00", "LastModifiedUser": "sample string 4" }, { "AssetFormTypeId": "edc06658-619b-45d9-90d4-bd0871c995ef", "Asset": { "AssetId": "43c99280-911d-41af-bd95-98d9da285c7c", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "8915260d-85f0-4d00-bac8-e10b743e651a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "bd677958-2c5c-438b-9639-3280579afc33", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T03:59:42.55193-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "8bffe2ad-e289-405e-a4bf-9a61fb165f5e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T03:59:42.55193-07:00", "MeasurementValueNeededDate": "2024-10-10T03:59:42.55193-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1b678762-f610-4eae-a935-0cc73e8f8e83", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T03:59:42.55193-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T03:59:42.55193-07:00", "MeasurementValueNeededDate": "2024-10-10T03:59:42.55193-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "41922655-d9b7-40fa-b409-76411e468cdc", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T03:59:42.55193-07:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "8dffc9b9-6b9d-4c7b-a1e0-75a9d10f8e3b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8915260d-85f0-4d00-bac8-e10b743e651a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "bd677958-2c5c-438b-9639-3280579afc33", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T03:59:42.55193-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T03:59:42.55193-07:00", "Fields": [ { "FormTypeFieldId": "0d0b6714-6d62-4a3b-acac-4e7beb8e1019", "Section": { "FormTypeSectionId": "7e90181f-01d3-4a15-b51b-c89b6a99313b", "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": "6fbdb28e-d240-4646-a9b1-58cb445d67ff", "Name": "sample string 1" }, "Unit": { "UnitId": "90e59418-dfa2-46e1-858a-137772c65c2f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "64f44174-4444-4494-8d59-3a32ce3afeff", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T03:59:42.55193-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": "0d0b6714-6d62-4a3b-acac-4e7beb8e1019", "Section": { "FormTypeSectionId": "7e90181f-01d3-4a15-b51b-c89b6a99313b", "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": "6fbdb28e-d240-4646-a9b1-58cb445d67ff", "Name": "sample string 1" }, "Unit": { "UnitId": "90e59418-dfa2-46e1-858a-137772c65c2f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "64f44174-4444-4494-8d59-3a32ce3afeff", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T03:59:42.55193-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": "c9368ad0-7d1b-4992-9a1e-e0d6791fb9ca", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T03:59:42.55193-07:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T03:59:42.55193-07:00", "LastValueDate": "2024-10-10T03:59:42.55193-07:00", "SourceSystemId": "sample string 1", "CompanyId": "d87b5ffe-6c44-435f-aab7-99730eb88081", "CreateDate": "2024-10-10T03:59:42.55193-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-10-10T03:59:42.55193-07:00", "LastModifiedUser": "sample string 4" } ], "Total": 1, "Message": "sample string 1" }