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": "d1f7f6fc-61d5-467f-bdce-738c5faca416", "Asset": { "AssetId": "c8de9b96-2d63-4735-a283-46a2148c6dd5", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "8cf60f50-9012-4d9f-bfd7-714af790c533", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9e170c23-39fc-41f9-a322-e59d455b95e0", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "31b2b225-669e-40b7-94d1-c331eca80131", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T11:04:02.644502-08:00", "MeasurementValueNeededDate": "2024-11-22T11:04:02.644502-08:00", "SourceSystemId": "sample string 3", "CompanyId": "1a57603f-e891-4def-9169-e722dc1d57db", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-22T11:04:02.644502-08:00", "MeasurementValueNeededDate": "2024-11-22T11:04:02.644502-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9caaa300-af5a-4a03-ab75-c3ee62f0c12e", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "39963faf-8185-4a23-bf81-a213fd689255", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8cf60f50-9012-4d9f-bfd7-714af790c533", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9e170c23-39fc-41f9-a322-e59d455b95e0", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T11:04:02.644502-08:00", "Fields": [ { "FormTypeFieldId": "326ece94-887e-42a3-9354-b8af58cc06ba", "Section": { "FormTypeSectionId": "8c24824f-4272-41a1-8435-150947bca047", "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": "d5b3d934-4420-4c7b-95c2-75dca749be23", "Name": "sample string 1" }, "Unit": { "UnitId": "0382a6e4-9ae2-4e6b-a7eb-638bcf3ec0de", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "464ea55a-9bc0-4c83-9e0b-7af25ce60059", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "051718f7-6ccc-42ee-bb85-3baa073148a5", "FieldId": "9d44e208-a78c-4264-9fb6-1b9f49ca4006", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "051718f7-6ccc-42ee-bb85-3baa073148a5", "FieldId": "9d44e208-a78c-4264-9fb6-1b9f49ca4006", "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": "326ece94-887e-42a3-9354-b8af58cc06ba", "Section": { "FormTypeSectionId": "8c24824f-4272-41a1-8435-150947bca047", "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": "d5b3d934-4420-4c7b-95c2-75dca749be23", "Name": "sample string 1" }, "Unit": { "UnitId": "0382a6e4-9ae2-4e6b-a7eb-638bcf3ec0de", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "464ea55a-9bc0-4c83-9e0b-7af25ce60059", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "051718f7-6ccc-42ee-bb85-3baa073148a5", "FieldId": "9d44e208-a78c-4264-9fb6-1b9f49ca4006", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "051718f7-6ccc-42ee-bb85-3baa073148a5", "FieldId": "9d44e208-a78c-4264-9fb6-1b9f49ca4006", "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": "d2d5c629-6202-4aea-ada0-21b47484576d", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T11:04:02.644502-08:00", "LastValueDate": "2024-11-22T11:04:02.644502-08:00", "SourceSystemId": "sample string 1", "CompanyId": "018a4cbd-91f7-4fe6-b25a-53046523c631", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 4" }, { "AssetFormTypeId": "d1f7f6fc-61d5-467f-bdce-738c5faca416", "Asset": { "AssetId": "c8de9b96-2d63-4735-a283-46a2148c6dd5", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "8cf60f50-9012-4d9f-bfd7-714af790c533", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9e170c23-39fc-41f9-a322-e59d455b95e0", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "31b2b225-669e-40b7-94d1-c331eca80131", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T11:04:02.644502-08:00", "MeasurementValueNeededDate": "2024-11-22T11:04:02.644502-08:00", "SourceSystemId": "sample string 3", "CompanyId": "1a57603f-e891-4def-9169-e722dc1d57db", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-22T11:04:02.644502-08:00", "MeasurementValueNeededDate": "2024-11-22T11:04:02.644502-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9caaa300-af5a-4a03-ab75-c3ee62f0c12e", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "39963faf-8185-4a23-bf81-a213fd689255", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8cf60f50-9012-4d9f-bfd7-714af790c533", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9e170c23-39fc-41f9-a322-e59d455b95e0", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T11:04:02.644502-08:00", "Fields": [ { "FormTypeFieldId": "326ece94-887e-42a3-9354-b8af58cc06ba", "Section": { "FormTypeSectionId": "8c24824f-4272-41a1-8435-150947bca047", "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": "d5b3d934-4420-4c7b-95c2-75dca749be23", "Name": "sample string 1" }, "Unit": { "UnitId": "0382a6e4-9ae2-4e6b-a7eb-638bcf3ec0de", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "464ea55a-9bc0-4c83-9e0b-7af25ce60059", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "051718f7-6ccc-42ee-bb85-3baa073148a5", "FieldId": "9d44e208-a78c-4264-9fb6-1b9f49ca4006", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "051718f7-6ccc-42ee-bb85-3baa073148a5", "FieldId": "9d44e208-a78c-4264-9fb6-1b9f49ca4006", "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": "326ece94-887e-42a3-9354-b8af58cc06ba", "Section": { "FormTypeSectionId": "8c24824f-4272-41a1-8435-150947bca047", "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": "d5b3d934-4420-4c7b-95c2-75dca749be23", "Name": "sample string 1" }, "Unit": { "UnitId": "0382a6e4-9ae2-4e6b-a7eb-638bcf3ec0de", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "464ea55a-9bc0-4c83-9e0b-7af25ce60059", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "051718f7-6ccc-42ee-bb85-3baa073148a5", "FieldId": "9d44e208-a78c-4264-9fb6-1b9f49ca4006", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "051718f7-6ccc-42ee-bb85-3baa073148a5", "FieldId": "9d44e208-a78c-4264-9fb6-1b9f49ca4006", "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": "d2d5c629-6202-4aea-ada0-21b47484576d", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T11:04:02.644502-08:00", "LastValueDate": "2024-11-22T11:04:02.644502-08:00", "SourceSystemId": "sample string 1", "CompanyId": "018a4cbd-91f7-4fe6-b25a-53046523c631", "CreateDate": "2024-11-22T11:04:02.644502-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T11:04:02.644502-08:00", "LastModifiedUser": "sample string 4" } ], "Total": 1, "Message": "sample string 1" }