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": "126dfc15-4db6-4aa1-805d-42d38c0453d0", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "d760bb18-a477-4d80-b40c-b19246c571c5", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "33604ceb-d8f9-4e11-964e-6aa91ab5566a", "CreateDate": "2024-12-21T18:55:51.2667761-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:55:51.2667761-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T18:55:51.2667761-08:00", "Fields": [ { "FormTypeFieldId": "a3b72aaf-c4ad-4f74-810f-f35a50a9f0ea", "Section": { "FormTypeSectionId": "a62cddc6-2a95-4445-84d8-72252c0d58e9", "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": "15365548-cc5a-41f8-bbcd-2af560c49696", "Name": "sample string 1" }, "Unit": { "UnitId": "446c53c9-2020-4576-85fd-daa41ae82c9e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c9246019-fe85-4235-8c7a-0836df4a8138", "CreateDate": "2024-12-21T18:55:51.2667761-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:55:51.2667761-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": "a3b72aaf-c4ad-4f74-810f-f35a50a9f0ea", "Section": { "FormTypeSectionId": "a62cddc6-2a95-4445-84d8-72252c0d58e9", "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": "15365548-cc5a-41f8-bbcd-2af560c49696", "Name": "sample string 1" }, "Unit": { "UnitId": "446c53c9-2020-4576-85fd-daa41ae82c9e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c9246019-fe85-4235-8c7a-0836df4a8138", "CreateDate": "2024-12-21T18:55:51.2667761-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:55:51.2667761-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": "41bd03d4-5a67-42a6-b6d6-71ef52a1d749", "CreateDate": "2024-12-21T18:55:51.2667761-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:55:51.2667761-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }