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": "84fb2c05-ec5b-4010-8385-69fee315aafd", "Asset": { "AssetId": "df15a6c0-6a99-4aa9-a6cc-e552afd95506", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "31065e81-ab0e-4103-8934-c86e0c960ee0", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f8a0c857-0f35-47d9-93d9-87e698607642", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:01:21.3192231-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "48617c5c-4e06-448a-859b-7c916888a1a7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:01:21.3192231-08:00", "MeasurementValueNeededDate": "2024-12-21T19:01:21.3192231-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c212ebd8-c9c9-4623-8fad-9a818ce3d2ff", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:01:21.3192231-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T19:01:21.3192231-08:00", "MeasurementValueNeededDate": "2024-12-21T19:01:21.3192231-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "71399069-62d6-46da-b745-19b3f0f44253", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:01:21.3192231-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "c54f5307-5cc0-44f7-9dc4-d99a6af8bf7e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "31065e81-ab0e-4103-8934-c86e0c960ee0", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f8a0c857-0f35-47d9-93d9-87e698607642", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:01:21.3192231-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T19:01:21.3192231-08:00", "Fields": [ { "FormTypeFieldId": "a6a2e5f1-4028-4d7b-b811-891f29a96192", "Section": { "FormTypeSectionId": "55e9de5d-ee08-4049-b96d-c56e14201c7c", "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": "edec3a2e-3e29-440e-8b7a-945c6d285732", "Name": "sample string 1" }, "Unit": { "UnitId": "d0a18ce3-e9dc-4ba1-b578-cc0a8b7233fb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7463b437-c49d-4e2b-b24f-53b080185d33", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:01:21.3192231-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": "a6a2e5f1-4028-4d7b-b811-891f29a96192", "Section": { "FormTypeSectionId": "55e9de5d-ee08-4049-b96d-c56e14201c7c", "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": "edec3a2e-3e29-440e-8b7a-945c6d285732", "Name": "sample string 1" }, "Unit": { "UnitId": "d0a18ce3-e9dc-4ba1-b578-cc0a8b7233fb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7463b437-c49d-4e2b-b24f-53b080185d33", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:01:21.3192231-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": "381d20ae-878e-495c-b9c1-94ae87457056", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:01:21.3192231-08:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T19:01:21.3192231-08:00", "LastValueDate": "2024-12-21T19:01:21.3192231-08:00", "SourceSystemId": "sample string 1", "CompanyId": "19c7f70b-07df-4a20-b091-2eabb737d46b", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:01:21.3192231-08:00", "LastModifiedUser": "sample string 4" }, { "AssetFormTypeId": "84fb2c05-ec5b-4010-8385-69fee315aafd", "Asset": { "AssetId": "df15a6c0-6a99-4aa9-a6cc-e552afd95506", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "31065e81-ab0e-4103-8934-c86e0c960ee0", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f8a0c857-0f35-47d9-93d9-87e698607642", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:01:21.3192231-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "48617c5c-4e06-448a-859b-7c916888a1a7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:01:21.3192231-08:00", "MeasurementValueNeededDate": "2024-12-21T19:01:21.3192231-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c212ebd8-c9c9-4623-8fad-9a818ce3d2ff", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:01:21.3192231-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T19:01:21.3192231-08:00", "MeasurementValueNeededDate": "2024-12-21T19:01:21.3192231-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "71399069-62d6-46da-b745-19b3f0f44253", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:01:21.3192231-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "c54f5307-5cc0-44f7-9dc4-d99a6af8bf7e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "31065e81-ab0e-4103-8934-c86e0c960ee0", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f8a0c857-0f35-47d9-93d9-87e698607642", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:01:21.3192231-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T19:01:21.3192231-08:00", "Fields": [ { "FormTypeFieldId": "a6a2e5f1-4028-4d7b-b811-891f29a96192", "Section": { "FormTypeSectionId": "55e9de5d-ee08-4049-b96d-c56e14201c7c", "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": "edec3a2e-3e29-440e-8b7a-945c6d285732", "Name": "sample string 1" }, "Unit": { "UnitId": "d0a18ce3-e9dc-4ba1-b578-cc0a8b7233fb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7463b437-c49d-4e2b-b24f-53b080185d33", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:01:21.3192231-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": "a6a2e5f1-4028-4d7b-b811-891f29a96192", "Section": { "FormTypeSectionId": "55e9de5d-ee08-4049-b96d-c56e14201c7c", "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": "edec3a2e-3e29-440e-8b7a-945c6d285732", "Name": "sample string 1" }, "Unit": { "UnitId": "d0a18ce3-e9dc-4ba1-b578-cc0a8b7233fb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7463b437-c49d-4e2b-b24f-53b080185d33", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:01:21.3192231-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": "381d20ae-878e-495c-b9c1-94ae87457056", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:01:21.3192231-08:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T19:01:21.3192231-08:00", "LastValueDate": "2024-12-21T19:01:21.3192231-08:00", "SourceSystemId": "sample string 1", "CompanyId": "19c7f70b-07df-4a20-b091-2eabb737d46b", "CreateDate": "2024-12-21T19:01:21.3192231-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:01:21.3192231-08:00", "LastModifiedUser": "sample string 4" } ], "Total": 1, "Message": "sample string 1" }