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": "4a8f6853-b9e5-4de9-8c65-3607a30482de",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "974377b6-7d10-4935-91a0-4bcb5ff1cad2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "00a89145-3666-4d3a-9369-29562fa82ea8",
"CreateDate": "2026-09-19T05:16:32.6684842-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-19T05:16:32.6684842-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-19T05:16:32.6684842-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "d2e5f680-1987-40c2-9308-41cf17077e9b",
"Section": {
"FormTypeSectionId": "7b45bb80-4f11-44a0-8d8e-21ee951f6a99",
"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": "3896cefe-7b54-49f5-aea5-eb1476c732b3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7a4394e7-35c2-45e6-bc69-64e2cb8d86c7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "98bec994-7b70-4de5-a49d-0dc2594f4b23",
"CreateDate": "2026-09-19T05:16:32.6684842-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-19T05:16:32.6684842-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f0442d19-2d97-48df-81ea-fc9512272feb",
"FieldId": "6ada6023-7abb-4f0d-aae1-7b447f49af08",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f0442d19-2d97-48df-81ea-fc9512272feb",
"FieldId": "6ada6023-7abb-4f0d-aae1-7b447f49af08",
"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": "d2e5f680-1987-40c2-9308-41cf17077e9b",
"Section": {
"FormTypeSectionId": "7b45bb80-4f11-44a0-8d8e-21ee951f6a99",
"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": "3896cefe-7b54-49f5-aea5-eb1476c732b3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7a4394e7-35c2-45e6-bc69-64e2cb8d86c7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "98bec994-7b70-4de5-a49d-0dc2594f4b23",
"CreateDate": "2026-09-19T05:16:32.6684842-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-19T05:16:32.6684842-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f0442d19-2d97-48df-81ea-fc9512272feb",
"FieldId": "6ada6023-7abb-4f0d-aae1-7b447f49af08",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f0442d19-2d97-48df-81ea-fc9512272feb",
"FieldId": "6ada6023-7abb-4f0d-aae1-7b447f49af08",
"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": "053ba33e-58c2-443a-9838-1ced5a1b183f",
"CreateDate": "2026-09-19T05:16:32.6684842-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-19T05:16:32.6684842-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": "91d6fbdd-ba3e-44c0-a409-3dc6d4a69a3d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "3a136723-c691-4adb-a430-9277f1b6ab07",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b578d234-7b11-47f5-819f-b5a69cef8f0e",
"CreateDate": "2026-09-19T05:16:32.6684842-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-19T05:16:32.6684842-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-19T05:16:32.6684842-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "6d1c858c-8587-4812-a48f-f4feee294067",
"Section": {
"FormTypeSectionId": "a828bbc2-ee3c-4244-b242-6abd3cf49c21",
"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": "b8446b51-a00c-4a32-bec0-103e0637df67",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "99fff927-45a1-47e1-92d0-d7bc0ce8efe0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a44481cb-ffea-49fc-988f-8df48703ccd4",
"CreateDate": "2026-09-19T05:16:32.6684842-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-19T05:16:32.6684842-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8a910d3e-f854-4ad9-ab78-c3eb239ed0a5",
"FieldId": "e0ebf92b-781b-45bf-8058-ef8284f49cf2",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8a910d3e-f854-4ad9-ab78-c3eb239ed0a5",
"FieldId": "e0ebf92b-781b-45bf-8058-ef8284f49cf2",
"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": "6d1c858c-8587-4812-a48f-f4feee294067",
"Section": {
"FormTypeSectionId": "a828bbc2-ee3c-4244-b242-6abd3cf49c21",
"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": "b8446b51-a00c-4a32-bec0-103e0637df67",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "99fff927-45a1-47e1-92d0-d7bc0ce8efe0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a44481cb-ffea-49fc-988f-8df48703ccd4",
"CreateDate": "2026-09-19T05:16:32.6684842-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-19T05:16:32.6684842-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8a910d3e-f854-4ad9-ab78-c3eb239ed0a5",
"FieldId": "e0ebf92b-781b-45bf-8058-ef8284f49cf2",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8a910d3e-f854-4ad9-ab78-c3eb239ed0a5",
"FieldId": "e0ebf92b-781b-45bf-8058-ef8284f49cf2",
"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": "4b88614d-bd84-45aa-bf9f-9fd454af10dd",
"CreateDate": "2026-09-19T05:16:32.6684842-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-19T05:16:32.6684842-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}