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": "f6972ce8-7eee-4045-a07f-bfd3fa0b0f9a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ba10b8f7-3533-4713-8cb3-142bdafa1387",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1f3dfe3d-08d5-4545-8a5f-bc7b5dbc2db5",
"CreateDate": "2026-01-16T06:52:31.3194874-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T06:52:31.3194874-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-16T06:52:31.3194874-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "bbc97a33-5c99-49ef-b6c0-b80b28980d0a",
"Section": {
"FormTypeSectionId": "58997a24-9a4d-4ad2-808a-4c285d3e2250",
"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": "10c7b0b0-229d-43d7-aac5-dd4427cc6718",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3836c852-87f9-4dba-b8d1-e8646c930a3f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8ef484d4-530a-4e28-ba5c-6a63aa45ba88",
"CreateDate": "2026-01-16T06:52:31.3194874-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T06:52:31.3194874-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "60f9c3c7-8022-406a-9abe-50198a53cee4",
"FieldId": "de757c95-dd69-47ed-9fd9-3958f026a701",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "60f9c3c7-8022-406a-9abe-50198a53cee4",
"FieldId": "de757c95-dd69-47ed-9fd9-3958f026a701",
"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": "bbc97a33-5c99-49ef-b6c0-b80b28980d0a",
"Section": {
"FormTypeSectionId": "58997a24-9a4d-4ad2-808a-4c285d3e2250",
"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": "10c7b0b0-229d-43d7-aac5-dd4427cc6718",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3836c852-87f9-4dba-b8d1-e8646c930a3f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8ef484d4-530a-4e28-ba5c-6a63aa45ba88",
"CreateDate": "2026-01-16T06:52:31.3194874-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T06:52:31.3194874-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "60f9c3c7-8022-406a-9abe-50198a53cee4",
"FieldId": "de757c95-dd69-47ed-9fd9-3958f026a701",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "60f9c3c7-8022-406a-9abe-50198a53cee4",
"FieldId": "de757c95-dd69-47ed-9fd9-3958f026a701",
"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": "ef922722-9f01-446e-91e7-f0b1a911d03f",
"CreateDate": "2026-01-16T06:52:31.3194874-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T06:52:31.3194874-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": "7a2e6a33-e5e2-4241-b6b2-a7e3fa72e869",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "707c623d-ec13-4e04-aa4c-81d654065268",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8747d762-3c10-4114-a43d-25b5598f9e6c",
"CreateDate": "2026-01-16T06:52:31.3194874-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T06:52:31.3194874-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-16T06:52:31.3194874-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "37a711ee-9268-4e94-a735-b6939f52f62b",
"Section": {
"FormTypeSectionId": "37556a17-f26b-4e1a-8d38-4511000498e7",
"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": "459ec836-25b6-4854-a7f4-1a445d641dbc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ea2ce9ed-c6c4-44ee-8605-b369483a4611",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "10e96554-08b7-42c5-97f5-ba0de2613fb8",
"CreateDate": "2026-01-16T06:52:31.3194874-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T06:52:31.3194874-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7dbc80fb-3589-446f-ba10-e1bcb31f597f",
"FieldId": "2c011960-0101-41d4-a920-5e13f15f50a6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7dbc80fb-3589-446f-ba10-e1bcb31f597f",
"FieldId": "2c011960-0101-41d4-a920-5e13f15f50a6",
"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": "37a711ee-9268-4e94-a735-b6939f52f62b",
"Section": {
"FormTypeSectionId": "37556a17-f26b-4e1a-8d38-4511000498e7",
"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": "459ec836-25b6-4854-a7f4-1a445d641dbc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ea2ce9ed-c6c4-44ee-8605-b369483a4611",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "10e96554-08b7-42c5-97f5-ba0de2613fb8",
"CreateDate": "2026-01-16T06:52:31.3194874-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T06:52:31.3194874-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7dbc80fb-3589-446f-ba10-e1bcb31f597f",
"FieldId": "2c011960-0101-41d4-a920-5e13f15f50a6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7dbc80fb-3589-446f-ba10-e1bcb31f597f",
"FieldId": "2c011960-0101-41d4-a920-5e13f15f50a6",
"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": "43419e02-4eaf-41e5-a1a7-afb86f64ca8f",
"CreateDate": "2026-01-16T06:52:31.3194874-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T06:52:31.3194874-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}