GET FormTypes?formTypeId={formTypeId}
Retrieves a form type by its Id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
formTypeId |
Id of the form type |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
On success, the form type.
Name | Description | Type | Additional information |
---|---|---|---|
Data | FormType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "FormTypeId": "8ae71a3c-ed7f-456a-a047-a047aaa43052", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "dd66ab4f-9569-42d8-8d38-00043eb22603", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6f59764c-9bb2-48ea-9851-7f336f834e27", "CreateDate": "2024-12-26T03:00:05.78644-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-26T03:00:05.78644-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-26T03:00:05.78644-08:00", "Fields": [ { "FormTypeFieldId": "865b335c-6ae4-4a0f-9a2c-7381306c1097", "Section": { "FormTypeSectionId": "d50f1147-1cf5-4f8b-bc51-63d8643d5f7c", "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": "c7f13e30-e8f3-49ee-823c-2637163dd844", "Name": "sample string 1" }, "Unit": { "UnitId": "8d1e70f3-0d6f-4e6d-b7f5-93ac19ba1ca6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d0ec95e9-1e97-4e6b-b526-ec4995831e3c", "CreateDate": "2024-12-26T03:00:05.78644-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:00:05.78644-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3c0929dc-09a1-4c9d-a89a-53099dd77595", "FieldId": "de679f11-812c-4bcd-bc7f-968a28ae7e18", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3c0929dc-09a1-4c9d-a89a-53099dd77595", "FieldId": "de679f11-812c-4bcd-bc7f-968a28ae7e18", "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": "865b335c-6ae4-4a0f-9a2c-7381306c1097", "Section": { "FormTypeSectionId": "d50f1147-1cf5-4f8b-bc51-63d8643d5f7c", "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": "c7f13e30-e8f3-49ee-823c-2637163dd844", "Name": "sample string 1" }, "Unit": { "UnitId": "8d1e70f3-0d6f-4e6d-b7f5-93ac19ba1ca6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d0ec95e9-1e97-4e6b-b526-ec4995831e3c", "CreateDate": "2024-12-26T03:00:05.78644-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:00:05.78644-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3c0929dc-09a1-4c9d-a89a-53099dd77595", "FieldId": "de679f11-812c-4bcd-bc7f-968a28ae7e18", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3c0929dc-09a1-4c9d-a89a-53099dd77595", "FieldId": "de679f11-812c-4bcd-bc7f-968a28ae7e18", "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": "27598f4e-6dec-4d0b-8e3a-1d2fb210de14", "CreateDate": "2024-12-26T03:00:05.78644-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:00:05.78644-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }