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": "dfab66b8-055b-4548-a7ac-8c461dd42dcf",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "81d6b926-153e-4b9b-bc1f-83db9adfe38e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "62dcf906-936a-4d13-8c35-09997b4c04d7",
"CreateDate": "2025-12-10T04:59:18.795823-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T04:59:18.795823-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-10T04:59:18.795823-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "65042006-5668-4807-8237-a293c5349a91",
"Section": {
"FormTypeSectionId": "360f1809-c261-42e9-bd88-4b28ff79469d",
"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": "02346c86-3e4d-42a7-8758-9f9444c77571",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7543978d-7bda-4269-9bc4-841f3624ec35",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2dbcf0ac-b69f-4142-a11a-4cfd0b572461",
"CreateDate": "2025-12-10T04:59:18.795823-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-10T04:59:18.795823-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ad1db46e-5903-4661-bc61-24d87947636b",
"FieldId": "d8b76ad5-87ca-4117-beab-3d59d0e013c7",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ad1db46e-5903-4661-bc61-24d87947636b",
"FieldId": "d8b76ad5-87ca-4117-beab-3d59d0e013c7",
"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": "65042006-5668-4807-8237-a293c5349a91",
"Section": {
"FormTypeSectionId": "360f1809-c261-42e9-bd88-4b28ff79469d",
"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": "02346c86-3e4d-42a7-8758-9f9444c77571",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7543978d-7bda-4269-9bc4-841f3624ec35",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2dbcf0ac-b69f-4142-a11a-4cfd0b572461",
"CreateDate": "2025-12-10T04:59:18.795823-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-10T04:59:18.795823-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ad1db46e-5903-4661-bc61-24d87947636b",
"FieldId": "d8b76ad5-87ca-4117-beab-3d59d0e013c7",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ad1db46e-5903-4661-bc61-24d87947636b",
"FieldId": "d8b76ad5-87ca-4117-beab-3d59d0e013c7",
"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": "2448e8c6-e882-4d3c-9b06-cd17543223ce",
"CreateDate": "2025-12-10T04:59:18.795823-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T04:59:18.795823-08: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": "0bb947ef-b24d-4a0f-b6c0-7ca852685303",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ecfbcac6-17ac-44b3-912c-66f8b7fb3536",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3b4cdf5c-c36b-499a-a1af-69372ca1e6fa",
"CreateDate": "2025-12-10T04:59:18.795823-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T04:59:18.795823-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-10T04:59:18.795823-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "c7710292-a88d-49ba-b3e8-7537f0d7c657",
"Section": {
"FormTypeSectionId": "fb18b5dd-4daf-49f9-b472-ad918a608051",
"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": "3175498c-abfe-44d7-9e05-652f2c7cb525",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d029b0d4-185b-443d-a267-c1defb5968d5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bb995461-11ad-4b07-a0ab-c15b42e9b47d",
"CreateDate": "2025-12-10T04:59:18.795823-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-10T04:59:18.795823-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5022203d-cf09-419f-99ef-a436a4ac2f30",
"FieldId": "a61eadcc-ac51-4bf1-9c9d-e36df22195a7",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5022203d-cf09-419f-99ef-a436a4ac2f30",
"FieldId": "a61eadcc-ac51-4bf1-9c9d-e36df22195a7",
"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": "c7710292-a88d-49ba-b3e8-7537f0d7c657",
"Section": {
"FormTypeSectionId": "fb18b5dd-4daf-49f9-b472-ad918a608051",
"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": "3175498c-abfe-44d7-9e05-652f2c7cb525",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d029b0d4-185b-443d-a267-c1defb5968d5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bb995461-11ad-4b07-a0ab-c15b42e9b47d",
"CreateDate": "2025-12-10T04:59:18.795823-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-10T04:59:18.795823-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5022203d-cf09-419f-99ef-a436a4ac2f30",
"FieldId": "a61eadcc-ac51-4bf1-9c9d-e36df22195a7",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5022203d-cf09-419f-99ef-a436a4ac2f30",
"FieldId": "a61eadcc-ac51-4bf1-9c9d-e36df22195a7",
"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": "7a05d8b6-fe85-4fa8-a86c-ba9f5bfba8af",
"CreateDate": "2025-12-10T04:59:18.795823-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T04:59:18.795823-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}