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": "79ec20bf-fc2d-46dd-b08a-9eecc93fdbe7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "cb8cbe38-a9b1-4d54-ac2e-1326079e42ec", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "be613a90-796b-4cbb-9b13-4c4a15632d6f", "CreateDate": "2024-11-22T15:43:35.3142023-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T15:43:35.3142023-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T15:43:35.3142023-08:00", "Fields": [ { "FormTypeFieldId": "824858f7-3367-4fc0-b0ca-71694dd3879f", "Section": { "FormTypeSectionId": "5bcbf0c6-c5f8-4863-971e-85a70053f7de", "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": "d497eacf-28ad-47fa-9280-3d13a1d56e72", "Name": "sample string 1" }, "Unit": { "UnitId": "8b4b4e25-9334-4ea7-abde-df541f61f16b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c780ad7a-5081-4d66-969f-6abbc9738579", "CreateDate": "2024-11-22T15:43:35.3142023-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:43:35.3142023-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "cf7f5870-849c-4e9d-9803-c8ac1ab512d4", "FieldId": "a909016a-4b56-4b34-a992-1e20ab259074", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "cf7f5870-849c-4e9d-9803-c8ac1ab512d4", "FieldId": "a909016a-4b56-4b34-a992-1e20ab259074", "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": "824858f7-3367-4fc0-b0ca-71694dd3879f", "Section": { "FormTypeSectionId": "5bcbf0c6-c5f8-4863-971e-85a70053f7de", "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": "d497eacf-28ad-47fa-9280-3d13a1d56e72", "Name": "sample string 1" }, "Unit": { "UnitId": "8b4b4e25-9334-4ea7-abde-df541f61f16b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c780ad7a-5081-4d66-969f-6abbc9738579", "CreateDate": "2024-11-22T15:43:35.3142023-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:43:35.3142023-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "cf7f5870-849c-4e9d-9803-c8ac1ab512d4", "FieldId": "a909016a-4b56-4b34-a992-1e20ab259074", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "cf7f5870-849c-4e9d-9803-c8ac1ab512d4", "FieldId": "a909016a-4b56-4b34-a992-1e20ab259074", "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": "50f0ab97-439a-42e5-8ed3-c6b1fbbc1b09", "CreateDate": "2024-11-22T15:43:35.3142023-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T15:43:35.3142023-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }