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": "9983365e-2fd4-4ea8-a699-7ed358515436", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c1289371-e804-4dbd-a780-503b5938ec0e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "bf4a3188-4410-49d9-8a4f-9024c5ccf1f7", "CreateDate": "2024-10-10T15:19:57.8506208-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:19:57.8506208-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T15:19:57.8506208-07:00", "Fields": [ { "FormTypeFieldId": "bf4bd929-1b7c-4829-803e-22d59ef1777e", "Section": { "FormTypeSectionId": "31695275-ee6e-4842-b3a3-1e17d2bab1e2", "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": "046d5e7a-b5bf-4321-a2e1-4dccac30657f", "Name": "sample string 1" }, "Unit": { "UnitId": "17790271-1da1-4ddf-892e-20c7bb71eae1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ddf30c84-52a8-4ce1-96e3-97ab6a5f5570", "CreateDate": "2024-10-10T15:19:57.8506208-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:19:57.8506208-07: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": "bf4bd929-1b7c-4829-803e-22d59ef1777e", "Section": { "FormTypeSectionId": "31695275-ee6e-4842-b3a3-1e17d2bab1e2", "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": "046d5e7a-b5bf-4321-a2e1-4dccac30657f", "Name": "sample string 1" }, "Unit": { "UnitId": "17790271-1da1-4ddf-892e-20c7bb71eae1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ddf30c84-52a8-4ce1-96e3-97ab6a5f5570", "CreateDate": "2024-10-10T15:19:57.8506208-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:19:57.8506208-07: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": "f6ec88f8-f51b-4a07-b151-f7628f3c908d", "CreateDate": "2024-10-10T15:19:57.8506208-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:19:57.8506208-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }