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": "df2649bd-0434-4426-a6f5-31cf4aa7b7df", "Asset": { "AssetId": "0cbe0786-247a-49d7-97bb-f5f21796d169", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ad251b2b-dd60-48f7-89de-67751c169dd1", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c15cbbea-d868-45e3-a7fc-e95f13516e25", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "f4d451ce-c296-4723-996d-2e37ec97893e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T03:34:49.3956308-08:00", "MeasurementValueNeededDate": "2024-12-26T03:34:49.3956308-08:00", "SourceSystemId": "sample string 3", "CompanyId": "89f05ac8-5504-49b6-89d2-2f713199bd56", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-26T03:34:49.3956308-08:00", "MeasurementValueNeededDate": "2024-12-26T03:34:49.3956308-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1e735e93-022c-4f97-aea6-abd7c942db16", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "570febee-c6d4-4877-9005-e2cd6709028c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "ad251b2b-dd60-48f7-89de-67751c169dd1", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c15cbbea-d868-45e3-a7fc-e95f13516e25", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-26T03:34:49.3956308-08:00", "Fields": [ { "FormTypeFieldId": "a121b39a-d99b-42f1-a4c8-72bdc15e608a", "Section": { "FormTypeSectionId": "fba1b18c-6f70-4d1b-b33f-ba59a3bbdf2c", "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": "a27a7dbc-b7d7-48b1-a543-39153865770c", "Name": "sample string 1" }, "Unit": { "UnitId": "c7f3913c-4ba9-4995-8a6d-626b7ef5516a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "37280405-10cd-4413-93c0-19d6e9e39ae2", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "675eb67d-73df-4f99-9588-d18e04cfeab9", "FieldId": "c8e4d40e-822e-4d05-a387-b18b34b3602b", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "675eb67d-73df-4f99-9588-d18e04cfeab9", "FieldId": "c8e4d40e-822e-4d05-a387-b18b34b3602b", "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": "a121b39a-d99b-42f1-a4c8-72bdc15e608a", "Section": { "FormTypeSectionId": "fba1b18c-6f70-4d1b-b33f-ba59a3bbdf2c", "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": "a27a7dbc-b7d7-48b1-a543-39153865770c", "Name": "sample string 1" }, "Unit": { "UnitId": "c7f3913c-4ba9-4995-8a6d-626b7ef5516a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "37280405-10cd-4413-93c0-19d6e9e39ae2", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "675eb67d-73df-4f99-9588-d18e04cfeab9", "FieldId": "c8e4d40e-822e-4d05-a387-b18b34b3602b", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "675eb67d-73df-4f99-9588-d18e04cfeab9", "FieldId": "c8e4d40e-822e-4d05-a387-b18b34b3602b", "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 3", "CompanyId": "be862677-7120-4fb0-b984-552cd3c0a106", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-26T03:34:49.3956308-08:00", "LastValueDate": "2024-12-26T03:34:49.3956308-08:00", "SourceSystemId": "sample string 1", "CompanyId": "c671b59c-2ecf-42c4-9765-13f798ef3761", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 4" }, { "AssetFormTypeId": "df2649bd-0434-4426-a6f5-31cf4aa7b7df", "Asset": { "AssetId": "0cbe0786-247a-49d7-97bb-f5f21796d169", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ad251b2b-dd60-48f7-89de-67751c169dd1", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c15cbbea-d868-45e3-a7fc-e95f13516e25", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "f4d451ce-c296-4723-996d-2e37ec97893e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-26T03:34:49.3956308-08:00", "MeasurementValueNeededDate": "2024-12-26T03:34:49.3956308-08:00", "SourceSystemId": "sample string 3", "CompanyId": "89f05ac8-5504-49b6-89d2-2f713199bd56", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-26T03:34:49.3956308-08:00", "MeasurementValueNeededDate": "2024-12-26T03:34:49.3956308-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1e735e93-022c-4f97-aea6-abd7c942db16", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "570febee-c6d4-4877-9005-e2cd6709028c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "ad251b2b-dd60-48f7-89de-67751c169dd1", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c15cbbea-d868-45e3-a7fc-e95f13516e25", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-26T03:34:49.3956308-08:00", "Fields": [ { "FormTypeFieldId": "a121b39a-d99b-42f1-a4c8-72bdc15e608a", "Section": { "FormTypeSectionId": "fba1b18c-6f70-4d1b-b33f-ba59a3bbdf2c", "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": "a27a7dbc-b7d7-48b1-a543-39153865770c", "Name": "sample string 1" }, "Unit": { "UnitId": "c7f3913c-4ba9-4995-8a6d-626b7ef5516a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "37280405-10cd-4413-93c0-19d6e9e39ae2", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "675eb67d-73df-4f99-9588-d18e04cfeab9", "FieldId": "c8e4d40e-822e-4d05-a387-b18b34b3602b", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "675eb67d-73df-4f99-9588-d18e04cfeab9", "FieldId": "c8e4d40e-822e-4d05-a387-b18b34b3602b", "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": "a121b39a-d99b-42f1-a4c8-72bdc15e608a", "Section": { "FormTypeSectionId": "fba1b18c-6f70-4d1b-b33f-ba59a3bbdf2c", "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": "a27a7dbc-b7d7-48b1-a543-39153865770c", "Name": "sample string 1" }, "Unit": { "UnitId": "c7f3913c-4ba9-4995-8a6d-626b7ef5516a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "37280405-10cd-4413-93c0-19d6e9e39ae2", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "675eb67d-73df-4f99-9588-d18e04cfeab9", "FieldId": "c8e4d40e-822e-4d05-a387-b18b34b3602b", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "675eb67d-73df-4f99-9588-d18e04cfeab9", "FieldId": "c8e4d40e-822e-4d05-a387-b18b34b3602b", "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 3", "CompanyId": "be862677-7120-4fb0-b984-552cd3c0a106", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-26T03:34:49.3956308-08:00", "LastValueDate": "2024-12-26T03:34:49.3956308-08:00", "SourceSystemId": "sample string 1", "CompanyId": "c671b59c-2ecf-42c4-9765-13f798ef3761", "CreateDate": "2024-12-26T03:34:49.3956308-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-26T03:34:49.3956308-08:00", "LastModifiedUser": "sample string 4" } ], "Total": 1, "Message": "sample string 1" }