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": "5e5401c9-0d2d-44b6-8ada-dee38a41d26b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "872f47b3-afa4-47e2-b349-ed6c8c8b4ad6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "43f10642-acbf-470d-b02e-ab41f7143a02",
"CreateDate": "2026-04-10T07:58:02.9546243-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-10T07:58:02.9546243-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-10T07:58:02.9546243-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "31d0b487-2bb0-4cdd-ae68-3cae781db0e4",
"Section": {
"FormTypeSectionId": "792b51ee-550b-440f-8deb-329ffaec5b80",
"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": "817ea50b-e180-49b2-b73b-37834c323676",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4dd5c1f7-10ad-4941-8728-338b698a6148",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "de640190-ce95-4994-818f-29f612427e70",
"CreateDate": "2026-04-10T07:58:02.9546243-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-10T07:58:02.9546243-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7e4446b5-b39a-442d-b2a7-8da1007d1274",
"FieldId": "0400f309-ac41-40a8-abea-9b8831e59d17",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7e4446b5-b39a-442d-b2a7-8da1007d1274",
"FieldId": "0400f309-ac41-40a8-abea-9b8831e59d17",
"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": "31d0b487-2bb0-4cdd-ae68-3cae781db0e4",
"Section": {
"FormTypeSectionId": "792b51ee-550b-440f-8deb-329ffaec5b80",
"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": "817ea50b-e180-49b2-b73b-37834c323676",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4dd5c1f7-10ad-4941-8728-338b698a6148",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "de640190-ce95-4994-818f-29f612427e70",
"CreateDate": "2026-04-10T07:58:02.9546243-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-10T07:58:02.9546243-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7e4446b5-b39a-442d-b2a7-8da1007d1274",
"FieldId": "0400f309-ac41-40a8-abea-9b8831e59d17",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7e4446b5-b39a-442d-b2a7-8da1007d1274",
"FieldId": "0400f309-ac41-40a8-abea-9b8831e59d17",
"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": "304b77a2-3039-49a3-99f5-18e5e45df92b",
"CreateDate": "2026-04-10T07:58:02.9546243-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-10T07:58:02.9546243-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": "4117ba94-bac8-49f7-888c-aa4b0789f0b2",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "79b6f4ce-284c-4a8f-b6ab-b3655be97e4f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bd7d9ab4-4a12-4b49-ac95-e6bde311a315",
"CreateDate": "2026-04-10T07:58:02.9546243-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-10T07:58:02.9546243-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-10T07:58:02.9546243-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "17463247-3d74-48af-b5fd-25d2426dfab5",
"Section": {
"FormTypeSectionId": "607e841b-5df5-4d9f-bbe9-2f657ed9d721",
"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": "1ba460be-24d0-43e1-ab49-1726916bbe2a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f023207a-a090-4fd8-b947-533790f04270",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "65fa73d1-4265-466b-b631-85c66fee1530",
"CreateDate": "2026-04-10T07:58:02.9546243-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-10T07:58:02.9546243-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "80afcc33-7085-4836-a0d2-c2767bc4d0ec",
"FieldId": "28c5457b-d842-45b4-b46f-966b53399f2f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "80afcc33-7085-4836-a0d2-c2767bc4d0ec",
"FieldId": "28c5457b-d842-45b4-b46f-966b53399f2f",
"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": "17463247-3d74-48af-b5fd-25d2426dfab5",
"Section": {
"FormTypeSectionId": "607e841b-5df5-4d9f-bbe9-2f657ed9d721",
"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": "1ba460be-24d0-43e1-ab49-1726916bbe2a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f023207a-a090-4fd8-b947-533790f04270",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "65fa73d1-4265-466b-b631-85c66fee1530",
"CreateDate": "2026-04-10T07:58:02.9546243-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-10T07:58:02.9546243-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "80afcc33-7085-4836-a0d2-c2767bc4d0ec",
"FieldId": "28c5457b-d842-45b4-b46f-966b53399f2f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "80afcc33-7085-4836-a0d2-c2767bc4d0ec",
"FieldId": "28c5457b-d842-45b4-b46f-966b53399f2f",
"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": "e4bb8177-af85-4ba7-a7d4-5f1b4d4eae62",
"CreateDate": "2026-04-10T07:58:02.9546243-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-10T07:58:02.9546243-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}