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": "816e14af-28b4-4385-bae6-0085aa858347",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ecc8ac70-c297-43b8-b342-68c075aabf70",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "542df4fe-4183-4960-84db-569763574c6e",
"CreateDate": "2025-12-20T16:43:45.0111928-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-20T16:43:45.0111928-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-20T16:43:45.0111928-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "03217938-9c3d-4cb5-b668-dfa6a900c29d",
"Section": {
"FormTypeSectionId": "5fccb7e9-d61a-4f94-a85b-16d72e8ea951",
"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": "af3df250-4fe8-49a7-b8b9-5c71ea162659",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d763c82e-07ad-45f2-8593-a1794c43e643",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2b79251d-37fa-488e-9302-28a7c739b1e8",
"CreateDate": "2025-12-20T16:43:45.0111928-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-20T16:43:45.0111928-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bd723122-3664-4ac7-8994-2319b90a56b7",
"FieldId": "1f6a17fe-93f0-400e-9385-8a9f0d099847",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bd723122-3664-4ac7-8994-2319b90a56b7",
"FieldId": "1f6a17fe-93f0-400e-9385-8a9f0d099847",
"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": "03217938-9c3d-4cb5-b668-dfa6a900c29d",
"Section": {
"FormTypeSectionId": "5fccb7e9-d61a-4f94-a85b-16d72e8ea951",
"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": "af3df250-4fe8-49a7-b8b9-5c71ea162659",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d763c82e-07ad-45f2-8593-a1794c43e643",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2b79251d-37fa-488e-9302-28a7c739b1e8",
"CreateDate": "2025-12-20T16:43:45.0111928-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-20T16:43:45.0111928-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bd723122-3664-4ac7-8994-2319b90a56b7",
"FieldId": "1f6a17fe-93f0-400e-9385-8a9f0d099847",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bd723122-3664-4ac7-8994-2319b90a56b7",
"FieldId": "1f6a17fe-93f0-400e-9385-8a9f0d099847",
"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": "a0f945e0-efd9-43ec-9d9a-22ce57e241c9",
"CreateDate": "2025-12-20T16:43:45.0111928-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-20T16:43:45.0111928-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": "7537b4f3-0483-485a-b32b-7e439abf749c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "665aeedf-89e2-4a21-ad43-6539d635156f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3880a271-f731-44f1-8a6b-ed701e63ca2b",
"CreateDate": "2025-12-20T16:43:45.0111928-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-20T16:43:45.0111928-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-20T16:43:45.0111928-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "83fd9496-946d-4343-8d80-9ed098cf35a0",
"Section": {
"FormTypeSectionId": "b8ab9621-cad6-468b-ae86-98a69d7373e6",
"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": "27199bfc-4cc5-48cc-aa41-14b7173b0268",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "371cb7d6-0c15-4eb0-8293-62c4f11eb45f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "016272ef-aa44-4593-aa00-0dc90fa3cf8e",
"CreateDate": "2025-12-20T16:43:45.0111928-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-20T16:43:45.0111928-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9fb9c647-85af-4361-ac36-3da0e71abb4e",
"FieldId": "f06b1bac-b862-407a-a76d-0193c203f7f8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9fb9c647-85af-4361-ac36-3da0e71abb4e",
"FieldId": "f06b1bac-b862-407a-a76d-0193c203f7f8",
"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": "83fd9496-946d-4343-8d80-9ed098cf35a0",
"Section": {
"FormTypeSectionId": "b8ab9621-cad6-468b-ae86-98a69d7373e6",
"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": "27199bfc-4cc5-48cc-aa41-14b7173b0268",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "371cb7d6-0c15-4eb0-8293-62c4f11eb45f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "016272ef-aa44-4593-aa00-0dc90fa3cf8e",
"CreateDate": "2025-12-20T16:43:45.0111928-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-20T16:43:45.0111928-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9fb9c647-85af-4361-ac36-3da0e71abb4e",
"FieldId": "f06b1bac-b862-407a-a76d-0193c203f7f8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9fb9c647-85af-4361-ac36-3da0e71abb4e",
"FieldId": "f06b1bac-b862-407a-a76d-0193c203f7f8",
"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": "6b6053b1-2393-4840-a17f-1fb19d5c9521",
"CreateDate": "2025-12-20T16:43:45.0111928-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-20T16:43:45.0111928-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}