POST FormTypes
Creates a new form type.
Request Information
URI Parameters
None.
Body Parameters
The form type to create. FormTypeId should not be filled in.
FormType| Name | Description | Type | Additional information |
|---|---|---|---|
| FormTypeId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AssetType | AssetType |
None. |
|
| FrequencyNeeded | integer |
None. |
|
| ValueNeededDate | date |
None. |
|
| Active | boolean |
None. |
|
| Fields | Collection of FormTypeField |
None. |
|
| SourceSystemId | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| CreateUser | string |
None. |
|
| LastModifiedDate | date |
None. |
|
| LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"FormTypeId": "69ea6ccc-5ddd-4da1-b22d-cc1444a3057c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9e99c9e4-9c59-4d63-b0b1-e32474128424",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "fec7af5e-bcbc-4022-b74d-71e26c2978e1",
"CreateDate": "2026-06-25T14:25:16.2422366-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T14:25:16.2422366-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-25T14:25:16.2422366-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "c08105e3-1170-48b0-bc9b-0c23a5b891c7",
"Section": {
"FormTypeSectionId": "6cb1d52d-e6db-49df-abb8-de22c5179953",
"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": "b62c2564-1916-4800-9531-fa3c17a16f6f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "37db76a5-c7cb-466c-a7c0-5e5cb0816008",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "26f562c5-18a5-4e28-a7ed-3ecb1844bbfe",
"CreateDate": "2026-06-25T14:25:16.2422366-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T14:25:16.2422366-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3343f054-674d-43d1-82e7-9a125f416b1c",
"FieldId": "46418b27-dc21-47ff-afa5-427bacba1383",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3343f054-674d-43d1-82e7-9a125f416b1c",
"FieldId": "46418b27-dc21-47ff-afa5-427bacba1383",
"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": "c08105e3-1170-48b0-bc9b-0c23a5b891c7",
"Section": {
"FormTypeSectionId": "6cb1d52d-e6db-49df-abb8-de22c5179953",
"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": "b62c2564-1916-4800-9531-fa3c17a16f6f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "37db76a5-c7cb-466c-a7c0-5e5cb0816008",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "26f562c5-18a5-4e28-a7ed-3ecb1844bbfe",
"CreateDate": "2026-06-25T14:25:16.2422366-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T14:25:16.2422366-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3343f054-674d-43d1-82e7-9a125f416b1c",
"FieldId": "46418b27-dc21-47ff-afa5-427bacba1383",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3343f054-674d-43d1-82e7-9a125f416b1c",
"FieldId": "46418b27-dc21-47ff-afa5-427bacba1383",
"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 4",
"CompanyId": "f597d166-a589-4778-87f8-8d12b1abb0a8",
"CreateDate": "2026-06-25T14:25:16.2422366-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T14:25:16.2422366-07:00",
"LastModifiedUser": "sample string 7"
}
Response Information
Resource Description
On success, the created 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": "7bde7bed-b499-40eb-906e-0cf48f6dd8b4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "cb2dce2e-de85-43c9-9f69-1a5192978dc9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5700a3b9-564e-4f60-a689-2dd3fd1531bf",
"CreateDate": "2026-06-25T14:25:16.2422366-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T14:25:16.2422366-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-25T14:25:16.2422366-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "a3f3868c-effd-4555-b7b4-b6e456200bdf",
"Section": {
"FormTypeSectionId": "a4b2b1e9-9206-4c14-9aa3-4c641024def8",
"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": "1bab91b5-c1d8-4827-9bfb-f86c6d170b5e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3ea54fd2-3c04-434f-a54b-9c8bb6e435cc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "04d7d61b-bdd3-438d-9870-34ccba12bdab",
"CreateDate": "2026-06-25T14:25:16.2422366-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T14:25:16.2422366-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "de1594dd-81e7-4b2e-ad11-64ca85487328",
"FieldId": "63268ae6-c14b-46e3-8a98-7253172074d1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "de1594dd-81e7-4b2e-ad11-64ca85487328",
"FieldId": "63268ae6-c14b-46e3-8a98-7253172074d1",
"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": "a3f3868c-effd-4555-b7b4-b6e456200bdf",
"Section": {
"FormTypeSectionId": "a4b2b1e9-9206-4c14-9aa3-4c641024def8",
"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": "1bab91b5-c1d8-4827-9bfb-f86c6d170b5e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3ea54fd2-3c04-434f-a54b-9c8bb6e435cc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "04d7d61b-bdd3-438d-9870-34ccba12bdab",
"CreateDate": "2026-06-25T14:25:16.2422366-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T14:25:16.2422366-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "de1594dd-81e7-4b2e-ad11-64ca85487328",
"FieldId": "63268ae6-c14b-46e3-8a98-7253172074d1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "de1594dd-81e7-4b2e-ad11-64ca85487328",
"FieldId": "63268ae6-c14b-46e3-8a98-7253172074d1",
"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 4",
"CompanyId": "ee912695-007e-485d-81be-75b5b94aaa58",
"CreateDate": "2026-06-25T14:25:16.2422366-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T14:25:16.2422366-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}