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": "f18d101b-1f26-4ece-b8e7-242a9662725e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "3b8a83cd-8cd7-4fe8-b498-da935437f21f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "edaf93f9-df95-4a22-88ca-4556c934629b",
"CreateDate": "2026-06-30T11:44:47.7175673-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T11:44:47.7175673-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-30T11:44:47.7175673-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "36c659d3-e1e1-4743-8239-0a3cbb4fd9a2",
"Section": {
"FormTypeSectionId": "02955f1b-ebfc-4f3d-bfde-b7ba159afbaf",
"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": "58806271-d13f-4ca9-aa2c-51054d073926",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b0406e71-feb0-4ca2-9a1e-b82f39968bbb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ff1b155d-745b-409b-9c0d-9c17fee67e1b",
"CreateDate": "2026-06-30T11:44:47.7175673-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-30T11:44:47.7175673-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8c2025fd-317c-46f9-adcd-ed070e771d55",
"FieldId": "b0cbd24c-8831-42ed-9f80-d2dfda4bcd6f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8c2025fd-317c-46f9-adcd-ed070e771d55",
"FieldId": "b0cbd24c-8831-42ed-9f80-d2dfda4bcd6f",
"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": "36c659d3-e1e1-4743-8239-0a3cbb4fd9a2",
"Section": {
"FormTypeSectionId": "02955f1b-ebfc-4f3d-bfde-b7ba159afbaf",
"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": "58806271-d13f-4ca9-aa2c-51054d073926",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b0406e71-feb0-4ca2-9a1e-b82f39968bbb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ff1b155d-745b-409b-9c0d-9c17fee67e1b",
"CreateDate": "2026-06-30T11:44:47.7175673-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-30T11:44:47.7175673-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8c2025fd-317c-46f9-adcd-ed070e771d55",
"FieldId": "b0cbd24c-8831-42ed-9f80-d2dfda4bcd6f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8c2025fd-317c-46f9-adcd-ed070e771d55",
"FieldId": "b0cbd24c-8831-42ed-9f80-d2dfda4bcd6f",
"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": "d058b0d2-6789-4c81-9525-758957f9406f",
"CreateDate": "2026-06-30T11:44:47.7175673-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T11:44:47.7175673-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": "4e8535b5-4783-425d-8ae1-8b947314ecfb",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "30a76caa-1f57-457e-9834-9817f8453456",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "fdeacc82-d040-4bd1-9f3d-09d356246e47",
"CreateDate": "2026-06-30T11:44:47.7175673-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T11:44:47.7175673-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-30T11:44:47.7175673-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "80defc9b-99b7-49e8-b6d3-b4b56ed6f4da",
"Section": {
"FormTypeSectionId": "bcc44a3c-f8ec-4941-ab7b-533e8d020fc9",
"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": "2eb32c83-3707-44c9-a9c4-a97281b25da5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "40d48967-4dba-4b15-b9f7-3bcf1ea2aa4c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3a0bdc27-41c2-44af-b88a-06463c3f1918",
"CreateDate": "2026-06-30T11:44:47.7175673-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-30T11:44:47.7175673-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e849d4e4-556c-44ff-9775-e26e6ad30497",
"FieldId": "fa98108b-a777-4144-b01d-6123a6650dd8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e849d4e4-556c-44ff-9775-e26e6ad30497",
"FieldId": "fa98108b-a777-4144-b01d-6123a6650dd8",
"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": "80defc9b-99b7-49e8-b6d3-b4b56ed6f4da",
"Section": {
"FormTypeSectionId": "bcc44a3c-f8ec-4941-ab7b-533e8d020fc9",
"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": "2eb32c83-3707-44c9-a9c4-a97281b25da5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "40d48967-4dba-4b15-b9f7-3bcf1ea2aa4c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3a0bdc27-41c2-44af-b88a-06463c3f1918",
"CreateDate": "2026-06-30T11:44:47.7175673-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-30T11:44:47.7175673-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e849d4e4-556c-44ff-9775-e26e6ad30497",
"FieldId": "fa98108b-a777-4144-b01d-6123a6650dd8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e849d4e4-556c-44ff-9775-e26e6ad30497",
"FieldId": "fa98108b-a777-4144-b01d-6123a6650dd8",
"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": "30291e3b-94d0-43e2-a235-f4a6bc40b9d7",
"CreateDate": "2026-06-30T11:44:47.7175673-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T11:44:47.7175673-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}