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": "8202ae9b-4c92-40e8-9125-143648da5dbe",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9aa28502-0aa7-4f8d-abab-74a251a54c03",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b0e6caec-16a4-41bd-a13b-6da9fde11a1a",
"CreateDate": "2026-02-08T18:05:49.6034843-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T18:05:49.6034843-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-08T18:05:49.6034843-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "5476e12a-d325-4d85-a685-903f13184f3c",
"Section": {
"FormTypeSectionId": "bd7adf07-5b8a-4e6b-bb0c-443ae7c64253",
"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": "a53ce7c1-7547-47ec-b2c0-9bdbbd0cd425",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "38d55982-167c-4513-9c6c-03a6382c676a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "80180c9d-3619-4a61-86ed-c66efffc34ef",
"CreateDate": "2026-02-08T18:05:49.6034843-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-08T18:05:49.6034843-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e3b98878-4c66-461f-a70f-ecf72c969d6f",
"FieldId": "4a003291-f1a6-4bed-8592-27182378f0d4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e3b98878-4c66-461f-a70f-ecf72c969d6f",
"FieldId": "4a003291-f1a6-4bed-8592-27182378f0d4",
"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": "5476e12a-d325-4d85-a685-903f13184f3c",
"Section": {
"FormTypeSectionId": "bd7adf07-5b8a-4e6b-bb0c-443ae7c64253",
"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": "a53ce7c1-7547-47ec-b2c0-9bdbbd0cd425",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "38d55982-167c-4513-9c6c-03a6382c676a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "80180c9d-3619-4a61-86ed-c66efffc34ef",
"CreateDate": "2026-02-08T18:05:49.6034843-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-08T18:05:49.6034843-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e3b98878-4c66-461f-a70f-ecf72c969d6f",
"FieldId": "4a003291-f1a6-4bed-8592-27182378f0d4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e3b98878-4c66-461f-a70f-ecf72c969d6f",
"FieldId": "4a003291-f1a6-4bed-8592-27182378f0d4",
"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": "9f2ab433-f720-434b-bfe5-ffc996bce395",
"CreateDate": "2026-02-08T18:05:49.6034843-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T18:05:49.6034843-08: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": "0fbf5ef1-440e-4f9e-9c9a-23f87b3ab316",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "3d8c04d5-ff90-432b-a76b-0c60a40f385c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "81c85495-b0ba-4e94-8feb-a2ec0ddcaa32",
"CreateDate": "2026-02-08T18:05:49.6034843-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T18:05:49.6034843-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-08T18:05:49.6034843-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "abaf85e6-781a-495e-9822-09b8689df24c",
"Section": {
"FormTypeSectionId": "454dc870-a073-48fa-9f58-6782d3edaf3c",
"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": "038120fc-c63f-4241-aff9-93897311492c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "33ebf734-ab62-488d-b70e-2f36f34756a9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b1c854b6-9340-4e79-948e-8082704426d8",
"CreateDate": "2026-02-08T18:05:49.6034843-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-08T18:05:49.6034843-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a478e5c2-9a2c-456e-a225-df58dbae6f45",
"FieldId": "76c7e48e-a899-40cd-aefe-32efd417c352",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a478e5c2-9a2c-456e-a225-df58dbae6f45",
"FieldId": "76c7e48e-a899-40cd-aefe-32efd417c352",
"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": "abaf85e6-781a-495e-9822-09b8689df24c",
"Section": {
"FormTypeSectionId": "454dc870-a073-48fa-9f58-6782d3edaf3c",
"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": "038120fc-c63f-4241-aff9-93897311492c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "33ebf734-ab62-488d-b70e-2f36f34756a9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b1c854b6-9340-4e79-948e-8082704426d8",
"CreateDate": "2026-02-08T18:05:49.6034843-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-08T18:05:49.6034843-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a478e5c2-9a2c-456e-a225-df58dbae6f45",
"FieldId": "76c7e48e-a899-40cd-aefe-32efd417c352",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a478e5c2-9a2c-456e-a225-df58dbae6f45",
"FieldId": "76c7e48e-a899-40cd-aefe-32efd417c352",
"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": "dd608e34-df8e-4d8e-b5b5-197c3f09d5c1",
"CreateDate": "2026-02-08T18:05:49.6034843-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-08T18:05:49.6034843-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}