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": "139de007-5a45-45c5-9435-2394c113fb8a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "5289bf5c-623c-4ebc-93ff-920c53b8cf12",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "9a678cf4-acdf-4401-aaa7-b76fbdeccd5b",
"CreateDate": "2025-12-01T15:14:44.2133838-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T15:14:44.2133838-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-01T15:14:44.2133838-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "315da0f2-a91f-4ad3-92b0-c6b7382bb829",
"Section": {
"FormTypeSectionId": "0622ed76-21dd-4a9c-a6b6-d102dedbae1c",
"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": "4f31a215-0211-4eb1-ba58-757cdc3164c3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4c7e6fa4-a6fe-4fe8-9b48-6459526e4c36",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ca5d035a-86cd-40eb-972c-94b53967e0bc",
"CreateDate": "2025-12-01T15:14:44.2133838-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-01T15:14:44.2133838-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "90a94f86-4107-4c8b-8dbd-50e2105db0b9",
"FieldId": "4378c376-82b7-4125-8b7c-8ff5f6fec3d5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "90a94f86-4107-4c8b-8dbd-50e2105db0b9",
"FieldId": "4378c376-82b7-4125-8b7c-8ff5f6fec3d5",
"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": "315da0f2-a91f-4ad3-92b0-c6b7382bb829",
"Section": {
"FormTypeSectionId": "0622ed76-21dd-4a9c-a6b6-d102dedbae1c",
"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": "4f31a215-0211-4eb1-ba58-757cdc3164c3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4c7e6fa4-a6fe-4fe8-9b48-6459526e4c36",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ca5d035a-86cd-40eb-972c-94b53967e0bc",
"CreateDate": "2025-12-01T15:14:44.2133838-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-01T15:14:44.2133838-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "90a94f86-4107-4c8b-8dbd-50e2105db0b9",
"FieldId": "4378c376-82b7-4125-8b7c-8ff5f6fec3d5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "90a94f86-4107-4c8b-8dbd-50e2105db0b9",
"FieldId": "4378c376-82b7-4125-8b7c-8ff5f6fec3d5",
"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": "e3299748-aba9-4b55-be84-cd49458a1fe4",
"CreateDate": "2025-12-01T15:14:44.2133838-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T15:14:44.2133838-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": "37c935fc-0018-4ff4-a9a6-bf9ba79515e2",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "97e8a82b-197a-4a36-90ba-6bb334d64fbf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8daae429-de4d-4b5d-a43e-21ec6281c494",
"CreateDate": "2025-12-01T15:14:44.2133838-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T15:14:44.2133838-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-01T15:14:44.2133838-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "c5882521-9a65-4566-874d-a38400a6f571",
"Section": {
"FormTypeSectionId": "b816f681-d8e8-46ae-93df-83322a3cbaff",
"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": "198a3fd0-caf5-484d-af67-2e67703a036a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2b38a7b1-66d4-4dfe-821d-d4616541ef2b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d5801afe-1ef1-4157-8c05-23e57a032fbe",
"CreateDate": "2025-12-01T15:14:44.2133838-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-01T15:14:44.2133838-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "71811739-ccc8-4491-8a1d-aea3c0299bea",
"FieldId": "00d210da-79e3-4e90-9ebb-b07deb539e2d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "71811739-ccc8-4491-8a1d-aea3c0299bea",
"FieldId": "00d210da-79e3-4e90-9ebb-b07deb539e2d",
"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": "c5882521-9a65-4566-874d-a38400a6f571",
"Section": {
"FormTypeSectionId": "b816f681-d8e8-46ae-93df-83322a3cbaff",
"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": "198a3fd0-caf5-484d-af67-2e67703a036a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2b38a7b1-66d4-4dfe-821d-d4616541ef2b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d5801afe-1ef1-4157-8c05-23e57a032fbe",
"CreateDate": "2025-12-01T15:14:44.2133838-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-01T15:14:44.2133838-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "71811739-ccc8-4491-8a1d-aea3c0299bea",
"FieldId": "00d210da-79e3-4e90-9ebb-b07deb539e2d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "71811739-ccc8-4491-8a1d-aea3c0299bea",
"FieldId": "00d210da-79e3-4e90-9ebb-b07deb539e2d",
"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": "1cb23962-54d2-46ea-8466-a75a294960b0",
"CreateDate": "2025-12-01T15:14:44.2133838-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T15:14:44.2133838-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}