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": "2f39362b-b3b1-4eec-b3d5-080e941904b7",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b3f68744-b473-47d5-a626-ccd305ee908d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "930dd8e4-2954-419d-b46e-34e0f9d3286b",
"CreateDate": "2026-04-30T20:59:53.6108324-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T20:59:53.6108324-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-30T20:59:53.6108324-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "eadf5f3b-3a41-4c00-b02a-2023ba9c8aff",
"Section": {
"FormTypeSectionId": "ccaf86f2-07d4-4882-9186-42f6b23f0cf6",
"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": "f1e6d0ff-1187-4929-b263-41b60e4e6bc3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a89383dd-a410-4e72-97c2-25a6444a7da0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f85094d3-35c7-4cf7-a7e9-f17e48a53801",
"CreateDate": "2026-04-30T20:59:53.6108324-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T20:59:53.6108324-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d705a16a-4e9e-400b-81b0-7c543bcf3151",
"FieldId": "b9284b92-238d-4d10-a22a-4fbbd6f54c1b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d705a16a-4e9e-400b-81b0-7c543bcf3151",
"FieldId": "b9284b92-238d-4d10-a22a-4fbbd6f54c1b",
"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": "eadf5f3b-3a41-4c00-b02a-2023ba9c8aff",
"Section": {
"FormTypeSectionId": "ccaf86f2-07d4-4882-9186-42f6b23f0cf6",
"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": "f1e6d0ff-1187-4929-b263-41b60e4e6bc3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a89383dd-a410-4e72-97c2-25a6444a7da0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f85094d3-35c7-4cf7-a7e9-f17e48a53801",
"CreateDate": "2026-04-30T20:59:53.6108324-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T20:59:53.6108324-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d705a16a-4e9e-400b-81b0-7c543bcf3151",
"FieldId": "b9284b92-238d-4d10-a22a-4fbbd6f54c1b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d705a16a-4e9e-400b-81b0-7c543bcf3151",
"FieldId": "b9284b92-238d-4d10-a22a-4fbbd6f54c1b",
"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": "e8d4b913-f647-4c73-82d4-0357c1bf7028",
"CreateDate": "2026-04-30T20:59:53.6108324-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T20:59:53.6108324-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": "f4f61891-5be4-4678-b829-cf58ce0de29f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d711fe74-767d-4e7b-a1e7-53d0a7068e8b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5a2fd542-87ba-47d0-906f-46e76033642a",
"CreateDate": "2026-04-30T20:59:53.6108324-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T20:59:53.6108324-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-30T20:59:53.6108324-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "8add59d4-6471-4559-ae27-b26883cbfd56",
"Section": {
"FormTypeSectionId": "6affc207-f7c0-431f-aa9d-1fa0e9ee04b8",
"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": "a8eeb86c-d33c-4561-9432-0aa0c1a9ee7d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d86e805a-b87e-4b76-92d3-3b804ab1ca44",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5dd91b09-3b39-4345-9c73-5a72c7d5f4f4",
"CreateDate": "2026-04-30T20:59:53.6108324-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T20:59:53.6108324-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ab9735c3-a9b1-435f-88b1-eee3e7a4db7d",
"FieldId": "509d2b17-6bb6-4ed3-9fbd-c0a908d747c8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ab9735c3-a9b1-435f-88b1-eee3e7a4db7d",
"FieldId": "509d2b17-6bb6-4ed3-9fbd-c0a908d747c8",
"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": "8add59d4-6471-4559-ae27-b26883cbfd56",
"Section": {
"FormTypeSectionId": "6affc207-f7c0-431f-aa9d-1fa0e9ee04b8",
"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": "a8eeb86c-d33c-4561-9432-0aa0c1a9ee7d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d86e805a-b87e-4b76-92d3-3b804ab1ca44",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5dd91b09-3b39-4345-9c73-5a72c7d5f4f4",
"CreateDate": "2026-04-30T20:59:53.6108324-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T20:59:53.6108324-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ab9735c3-a9b1-435f-88b1-eee3e7a4db7d",
"FieldId": "509d2b17-6bb6-4ed3-9fbd-c0a908d747c8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ab9735c3-a9b1-435f-88b1-eee3e7a4db7d",
"FieldId": "509d2b17-6bb6-4ed3-9fbd-c0a908d747c8",
"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": "d725419e-a9a7-4cd6-a341-055f966dc27f",
"CreateDate": "2026-04-30T20:59:53.6108324-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T20:59:53.6108324-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}