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": "4d892d03-ea52-473f-bc67-89789f162a52",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9ce08c41-4417-4aa9-a066-a89bf5d530fb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "34863a42-137a-48ed-8a02-6aea68b25415",
"CreateDate": "2026-08-17T17:22:36.5330299-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-17T17:22:36.5330299-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-17T17:22:36.5330299-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "827956a8-1228-49b8-a28f-db4125a116e8",
"Section": {
"FormTypeSectionId": "1ab09297-4c41-4e51-a0b9-4dacb8d4a0c6",
"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": "e20d92ae-e89c-4d1f-8a3a-42fdfff968e6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "81ea51fa-74a8-41e8-9374-dbfff268b841",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "334cf282-c45c-492a-b477-2a5ed72b4c6e",
"CreateDate": "2026-08-17T17:22:36.5330299-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-17T17:22:36.5330299-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "41918a3c-3997-4f74-aaa7-167931f46db8",
"FieldId": "c3bc13a8-406a-4d22-af10-746cef129e87",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "41918a3c-3997-4f74-aaa7-167931f46db8",
"FieldId": "c3bc13a8-406a-4d22-af10-746cef129e87",
"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": "827956a8-1228-49b8-a28f-db4125a116e8",
"Section": {
"FormTypeSectionId": "1ab09297-4c41-4e51-a0b9-4dacb8d4a0c6",
"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": "e20d92ae-e89c-4d1f-8a3a-42fdfff968e6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "81ea51fa-74a8-41e8-9374-dbfff268b841",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "334cf282-c45c-492a-b477-2a5ed72b4c6e",
"CreateDate": "2026-08-17T17:22:36.5330299-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-17T17:22:36.5330299-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "41918a3c-3997-4f74-aaa7-167931f46db8",
"FieldId": "c3bc13a8-406a-4d22-af10-746cef129e87",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "41918a3c-3997-4f74-aaa7-167931f46db8",
"FieldId": "c3bc13a8-406a-4d22-af10-746cef129e87",
"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": "913d3832-70b1-4468-8ff6-671d15a9d6ec",
"CreateDate": "2026-08-17T17:22:36.5330299-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-17T17:22:36.5330299-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": "9c258222-8801-4686-a893-802dfc9e6475",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "aaf23f44-855a-40a7-8d13-4a55ce42b67a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7616a664-43be-4dc8-8a16-1628c97cac8c",
"CreateDate": "2026-08-17T17:22:36.5330299-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-17T17:22:36.5330299-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-17T17:22:36.5330299-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "d09abb51-10fc-49e2-a00a-353e922fb0c8",
"Section": {
"FormTypeSectionId": "12e2d6bb-d347-4242-b3fd-da9ed6aaf83f",
"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": "b702c127-2706-4049-8bcc-aa029c208b65",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bee2241a-b2c8-4360-91f4-fc7ae9c2de34",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2a22966b-6486-443b-af42-56998f7785e2",
"CreateDate": "2026-08-17T17:22:36.5330299-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-17T17:22:36.5330299-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c0aa9659-a8ec-4406-8926-048ca6afdebd",
"FieldId": "7b90c333-dbb0-442b-be28-36b8a7ce2fa6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c0aa9659-a8ec-4406-8926-048ca6afdebd",
"FieldId": "7b90c333-dbb0-442b-be28-36b8a7ce2fa6",
"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": "d09abb51-10fc-49e2-a00a-353e922fb0c8",
"Section": {
"FormTypeSectionId": "12e2d6bb-d347-4242-b3fd-da9ed6aaf83f",
"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": "b702c127-2706-4049-8bcc-aa029c208b65",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bee2241a-b2c8-4360-91f4-fc7ae9c2de34",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2a22966b-6486-443b-af42-56998f7785e2",
"CreateDate": "2026-08-17T17:22:36.5330299-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-17T17:22:36.5330299-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c0aa9659-a8ec-4406-8926-048ca6afdebd",
"FieldId": "7b90c333-dbb0-442b-be28-36b8a7ce2fa6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c0aa9659-a8ec-4406-8926-048ca6afdebd",
"FieldId": "7b90c333-dbb0-442b-be28-36b8a7ce2fa6",
"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": "7e2a2022-b711-4eba-9a5e-dc20d03f85be",
"CreateDate": "2026-08-17T17:22:36.5330299-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-17T17:22:36.5330299-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}