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": "4cfedd75-2752-4039-9563-b147bd19ca58",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "11897d2e-cb18-489b-8c58-9cf9fe624644",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "128861cb-6b35-44bf-a4ec-e534805972e6",
"CreateDate": "2026-10-09T11:51:33.6908466-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-09T11:51:33.6908466-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-09T11:51:33.6908466-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "521a053b-4723-459e-b1e0-233215e7dd68",
"Section": {
"FormTypeSectionId": "a4f84743-8573-4355-8180-54d9eadab1fc",
"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": "5cfcfc40-e553-4230-901b-3298e909befa",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7543fca4-f01d-4aa9-bdb4-f9f03e43b852",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4c58b9c4-68c5-4369-9c44-8256e508f6cd",
"CreateDate": "2026-10-09T11:51:33.6908466-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-09T11:51:33.6908466-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f139bb1d-1102-42d2-b5cb-6e34750d0d59",
"FieldId": "ecb597bc-172b-431d-9153-1aa79b830b43",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f139bb1d-1102-42d2-b5cb-6e34750d0d59",
"FieldId": "ecb597bc-172b-431d-9153-1aa79b830b43",
"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": "521a053b-4723-459e-b1e0-233215e7dd68",
"Section": {
"FormTypeSectionId": "a4f84743-8573-4355-8180-54d9eadab1fc",
"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": "5cfcfc40-e553-4230-901b-3298e909befa",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7543fca4-f01d-4aa9-bdb4-f9f03e43b852",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4c58b9c4-68c5-4369-9c44-8256e508f6cd",
"CreateDate": "2026-10-09T11:51:33.6908466-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-09T11:51:33.6908466-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f139bb1d-1102-42d2-b5cb-6e34750d0d59",
"FieldId": "ecb597bc-172b-431d-9153-1aa79b830b43",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f139bb1d-1102-42d2-b5cb-6e34750d0d59",
"FieldId": "ecb597bc-172b-431d-9153-1aa79b830b43",
"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": "d0e2a4ba-9a94-4f71-8fc5-05010d4c61fb",
"CreateDate": "2026-10-09T11:51:33.6908466-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-09T11:51:33.6908466-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": "f42f7297-abec-4e22-b01b-960bf61417b9",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2684eb5e-6f5a-4139-b5d7-992dddac6e75",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8eee55ed-f982-48f8-8c8d-117d8bf77da1",
"CreateDate": "2026-10-09T11:51:33.6908466-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-09T11:51:33.6908466-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-09T11:51:33.6908466-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "c924697f-0e5d-4744-95a1-4ef8950e5ce8",
"Section": {
"FormTypeSectionId": "da315be4-3d95-4cae-ab8e-f7daba729496",
"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": "ba8acc65-3fdc-4802-abe4-af52a17e8bda",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "76f7353c-1c08-41d4-87e8-e7ddc92bbd6e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "db39423c-e53a-42c8-a972-3db58e9d05d7",
"CreateDate": "2026-10-09T11:51:33.6908466-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-09T11:51:33.6908466-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c61b7355-2f5f-479e-857c-0394d6fe170c",
"FieldId": "a0b06752-334b-44e8-a9c4-cda37ae1f3b0",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c61b7355-2f5f-479e-857c-0394d6fe170c",
"FieldId": "a0b06752-334b-44e8-a9c4-cda37ae1f3b0",
"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": "c924697f-0e5d-4744-95a1-4ef8950e5ce8",
"Section": {
"FormTypeSectionId": "da315be4-3d95-4cae-ab8e-f7daba729496",
"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": "ba8acc65-3fdc-4802-abe4-af52a17e8bda",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "76f7353c-1c08-41d4-87e8-e7ddc92bbd6e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "db39423c-e53a-42c8-a972-3db58e9d05d7",
"CreateDate": "2026-10-09T11:51:33.6908466-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-09T11:51:33.6908466-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c61b7355-2f5f-479e-857c-0394d6fe170c",
"FieldId": "a0b06752-334b-44e8-a9c4-cda37ae1f3b0",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c61b7355-2f5f-479e-857c-0394d6fe170c",
"FieldId": "a0b06752-334b-44e8-a9c4-cda37ae1f3b0",
"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": "375ab203-7926-4dd6-9865-2da1ccdcbeb7",
"CreateDate": "2026-10-09T11:51:33.6908466-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-09T11:51:33.6908466-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}