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": "ca661890-fb18-4552-aec0-0a1742066a70",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ac9de916-c2d7-4b09-857e-c028e3dc53c1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1d7c9772-11ea-4401-820a-e8f17c82f7b6",
"CreateDate": "2026-03-13T07:42:51.3910584-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T07:42:51.3910584-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-13T07:42:51.3910584-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "ce3b1a25-c0be-4450-ae26-71e4c7c5b862",
"Section": {
"FormTypeSectionId": "83e70b31-db9a-4bb7-b09b-6296ac7b77b6",
"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": "7f40b979-c89e-4282-a650-ffd1f175ee20",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6b9d997a-815d-4519-ad0a-ff15919b77ca",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ee52700b-6890-42d5-bcc7-43d5996bfa05",
"CreateDate": "2026-03-13T07:42:51.3910584-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T07:42:51.3910584-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f2575fd8-4942-438d-8849-f4f88be83c0c",
"FieldId": "aa30f7ec-5e25-42d6-ac84-d621f1f5471f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f2575fd8-4942-438d-8849-f4f88be83c0c",
"FieldId": "aa30f7ec-5e25-42d6-ac84-d621f1f5471f",
"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": "ce3b1a25-c0be-4450-ae26-71e4c7c5b862",
"Section": {
"FormTypeSectionId": "83e70b31-db9a-4bb7-b09b-6296ac7b77b6",
"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": "7f40b979-c89e-4282-a650-ffd1f175ee20",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6b9d997a-815d-4519-ad0a-ff15919b77ca",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ee52700b-6890-42d5-bcc7-43d5996bfa05",
"CreateDate": "2026-03-13T07:42:51.3910584-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T07:42:51.3910584-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f2575fd8-4942-438d-8849-f4f88be83c0c",
"FieldId": "aa30f7ec-5e25-42d6-ac84-d621f1f5471f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f2575fd8-4942-438d-8849-f4f88be83c0c",
"FieldId": "aa30f7ec-5e25-42d6-ac84-d621f1f5471f",
"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": "f3b13488-ecf6-4ef6-814b-cfb649ac13e5",
"CreateDate": "2026-03-13T07:42:51.3910584-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T07:42:51.3910584-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": "753ad60a-0c17-4e41-9e17-9242b725e54b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "dc61acee-3451-427e-9892-7f3e273e5858",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "469bc9fa-9b26-48dc-abae-27f7fce0c7e4",
"CreateDate": "2026-03-13T07:42:51.3910584-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T07:42:51.3910584-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-13T07:42:51.3910584-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "badd63e3-9c72-4ae9-87ec-6e3f9681919e",
"Section": {
"FormTypeSectionId": "fb1a8011-fac8-4252-9779-137fe1e2e694",
"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": "c8823709-2cd0-4c9b-a502-0fce05c7021c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bca4b329-a817-4300-ad7e-f7108b955cd1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6327e882-d3dc-4023-863d-e3339b13fe94",
"CreateDate": "2026-03-13T07:42:51.3910584-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T07:42:51.3910584-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f05249e2-22c9-4540-9d63-50d32fcb332f",
"FieldId": "a408e2a7-ff4b-4c90-b330-ae32ddecb7d8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f05249e2-22c9-4540-9d63-50d32fcb332f",
"FieldId": "a408e2a7-ff4b-4c90-b330-ae32ddecb7d8",
"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": "badd63e3-9c72-4ae9-87ec-6e3f9681919e",
"Section": {
"FormTypeSectionId": "fb1a8011-fac8-4252-9779-137fe1e2e694",
"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": "c8823709-2cd0-4c9b-a502-0fce05c7021c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bca4b329-a817-4300-ad7e-f7108b955cd1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6327e882-d3dc-4023-863d-e3339b13fe94",
"CreateDate": "2026-03-13T07:42:51.3910584-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T07:42:51.3910584-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f05249e2-22c9-4540-9d63-50d32fcb332f",
"FieldId": "a408e2a7-ff4b-4c90-b330-ae32ddecb7d8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f05249e2-22c9-4540-9d63-50d32fcb332f",
"FieldId": "a408e2a7-ff4b-4c90-b330-ae32ddecb7d8",
"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": "7fec07e3-45bd-48ba-b50f-2a8ac01debc4",
"CreateDate": "2026-03-13T07:42:51.3910584-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T07:42:51.3910584-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}