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": "3d68eea6-c716-4052-8f1b-46e1a036400f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "bb1fd323-9982-40da-97d9-3b57050e438e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "430bbc6c-347a-44fc-bf15-df29072994a0",
"CreateDate": "2026-06-09T19:01:20.1346379-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-09T19:01:20.1346379-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-09T19:01:20.1346379-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "2e4fcfff-32ef-4412-aeba-14e4e610e766",
"Section": {
"FormTypeSectionId": "1f9366bd-59e5-412c-b3e7-01b689592438",
"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": "93617ea7-edd7-494c-b1ea-dc02e79da7e6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "732d2bbb-3421-46f9-adba-14f48d96cf5c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "84458852-bcea-470c-b174-9600b624d052",
"CreateDate": "2026-06-09T19:01:20.1346379-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-09T19:01:20.1346379-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "efec06de-d2de-48cd-bcc3-d23da679d836",
"FieldId": "df2447b4-2fee-4621-8fd6-56a376a28f9d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "efec06de-d2de-48cd-bcc3-d23da679d836",
"FieldId": "df2447b4-2fee-4621-8fd6-56a376a28f9d",
"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": "2e4fcfff-32ef-4412-aeba-14e4e610e766",
"Section": {
"FormTypeSectionId": "1f9366bd-59e5-412c-b3e7-01b689592438",
"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": "93617ea7-edd7-494c-b1ea-dc02e79da7e6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "732d2bbb-3421-46f9-adba-14f48d96cf5c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "84458852-bcea-470c-b174-9600b624d052",
"CreateDate": "2026-06-09T19:01:20.1346379-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-09T19:01:20.1346379-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "efec06de-d2de-48cd-bcc3-d23da679d836",
"FieldId": "df2447b4-2fee-4621-8fd6-56a376a28f9d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "efec06de-d2de-48cd-bcc3-d23da679d836",
"FieldId": "df2447b4-2fee-4621-8fd6-56a376a28f9d",
"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": "9551c517-749e-42ba-9c10-4278a76e4cc1",
"CreateDate": "2026-06-09T19:01:20.1346379-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-09T19:01:20.1346379-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": "40788876-da7a-47d3-aa25-719174ccb5e5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "cfaa2f9c-add2-44b6-ad70-4b32c75ef6b1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "053dadc1-d4e1-410f-a774-28a54ecaaa03",
"CreateDate": "2026-06-09T19:01:20.1346379-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-09T19:01:20.1346379-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-09T19:01:20.1346379-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "eb78bd43-ce57-4596-ae1b-b683af7b53a1",
"Section": {
"FormTypeSectionId": "8ae2feee-4697-44f7-9d4b-4c3b16ec63e3",
"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": "a0da8992-0311-4033-959a-a13ce26fba05",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bb1b1819-0956-436d-9d07-439f502f68ae",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d8d7d900-ab26-4ca9-867e-e34a21f19325",
"CreateDate": "2026-06-09T19:01:20.1346379-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-09T19:01:20.1346379-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b0f1f519-0ec7-47b7-ae32-7c4e8d0a2413",
"FieldId": "8d2998fc-f329-4cb0-bca4-4220369748d9",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b0f1f519-0ec7-47b7-ae32-7c4e8d0a2413",
"FieldId": "8d2998fc-f329-4cb0-bca4-4220369748d9",
"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": "eb78bd43-ce57-4596-ae1b-b683af7b53a1",
"Section": {
"FormTypeSectionId": "8ae2feee-4697-44f7-9d4b-4c3b16ec63e3",
"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": "a0da8992-0311-4033-959a-a13ce26fba05",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bb1b1819-0956-436d-9d07-439f502f68ae",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d8d7d900-ab26-4ca9-867e-e34a21f19325",
"CreateDate": "2026-06-09T19:01:20.1346379-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-09T19:01:20.1346379-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b0f1f519-0ec7-47b7-ae32-7c4e8d0a2413",
"FieldId": "8d2998fc-f329-4cb0-bca4-4220369748d9",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b0f1f519-0ec7-47b7-ae32-7c4e8d0a2413",
"FieldId": "8d2998fc-f329-4cb0-bca4-4220369748d9",
"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": "166209e9-0d20-4eff-8d24-eccf92228c75",
"CreateDate": "2026-06-09T19:01:20.1346379-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-09T19:01:20.1346379-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}