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": "10da16a9-d554-4e05-9897-94ca40ec3668",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "55bb86e6-0517-47b6-b332-53ef45b36758",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "26db0595-efee-4dba-93bf-9c882b9a7b9d",
"CreateDate": "2026-07-21T00:21:27.5933055-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-21T00:21:27.5933055-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-21T00:21:27.5933055-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "c4b812c8-24e1-40b4-9a2a-15d554f3386f",
"Section": {
"FormTypeSectionId": "b04c0f01-c02e-46e8-950f-0aee2f0a9ed5",
"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": "09b5de8c-304a-4f2a-8c3a-b64a17f7b554",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5931971d-7ec5-43b4-9806-3d5a07e5d7cd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e4c29a04-34a2-4a26-b765-99f2db8d159d",
"CreateDate": "2026-07-21T00:21:27.5933055-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-21T00:21:27.5933055-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ce452d14-27fd-4834-bd92-614f5ab337be",
"FieldId": "504a0e93-8b3e-4035-a128-57f6ff7b2dff",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ce452d14-27fd-4834-bd92-614f5ab337be",
"FieldId": "504a0e93-8b3e-4035-a128-57f6ff7b2dff",
"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": "c4b812c8-24e1-40b4-9a2a-15d554f3386f",
"Section": {
"FormTypeSectionId": "b04c0f01-c02e-46e8-950f-0aee2f0a9ed5",
"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": "09b5de8c-304a-4f2a-8c3a-b64a17f7b554",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5931971d-7ec5-43b4-9806-3d5a07e5d7cd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e4c29a04-34a2-4a26-b765-99f2db8d159d",
"CreateDate": "2026-07-21T00:21:27.5933055-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-21T00:21:27.5933055-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ce452d14-27fd-4834-bd92-614f5ab337be",
"FieldId": "504a0e93-8b3e-4035-a128-57f6ff7b2dff",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ce452d14-27fd-4834-bd92-614f5ab337be",
"FieldId": "504a0e93-8b3e-4035-a128-57f6ff7b2dff",
"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": "bac101bf-3cb2-4c60-91cb-6d4b69effbd3",
"CreateDate": "2026-07-21T00:21:27.5933055-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-21T00:21:27.5933055-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": "0570541d-0f57-4fc3-9e4f-9f29b67abb0c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b830138a-dd63-4248-b630-199a1d02a6ac",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "89fb7813-f6a2-4855-b830-42ca9f9a1094",
"CreateDate": "2026-07-21T00:21:27.5933055-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-21T00:21:27.5933055-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-21T00:21:27.5933055-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "9dd63edb-c6a8-41c7-b6ce-811d1af1fdac",
"Section": {
"FormTypeSectionId": "5d83b96b-473a-4c20-8662-9c2b9ee69d60",
"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": "93d3a852-4fdb-40bd-92e1-4d81b3d8719c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6b9574a4-2d3f-4439-9460-c67c0decc42f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "01d3f605-36cd-4309-a617-355504063539",
"CreateDate": "2026-07-21T00:21:27.5933055-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-21T00:21:27.5933055-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "89036969-19ba-447e-a128-88f06b8145b3",
"FieldId": "8ec94a44-bb7a-401e-af8e-2d214d78c7ec",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "89036969-19ba-447e-a128-88f06b8145b3",
"FieldId": "8ec94a44-bb7a-401e-af8e-2d214d78c7ec",
"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": "9dd63edb-c6a8-41c7-b6ce-811d1af1fdac",
"Section": {
"FormTypeSectionId": "5d83b96b-473a-4c20-8662-9c2b9ee69d60",
"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": "93d3a852-4fdb-40bd-92e1-4d81b3d8719c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6b9574a4-2d3f-4439-9460-c67c0decc42f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "01d3f605-36cd-4309-a617-355504063539",
"CreateDate": "2026-07-21T00:21:27.5933055-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-21T00:21:27.5933055-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "89036969-19ba-447e-a128-88f06b8145b3",
"FieldId": "8ec94a44-bb7a-401e-af8e-2d214d78c7ec",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "89036969-19ba-447e-a128-88f06b8145b3",
"FieldId": "8ec94a44-bb7a-401e-af8e-2d214d78c7ec",
"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": "6a823c06-ea83-4501-9e5d-d84f940f2890",
"CreateDate": "2026-07-21T00:21:27.5933055-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-21T00:21:27.5933055-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}