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": "d9ea1015-6202-41cf-9414-f5943abff1df",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "691cab07-e498-4320-a38c-b034107223ff",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5683f3f9-381e-4885-8c96-8e574c670357",
"CreateDate": "2026-08-09T23:40:55.9287835-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:40:55.9287835-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-09T23:40:55.9287835-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "88ac711f-6171-46f4-9303-878b3dd40fd0",
"Section": {
"FormTypeSectionId": "725668cc-2781-4fca-bdc7-a1d28bef9867",
"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": "0731ee05-d50c-4190-a28e-0d8c73f1b3c2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7114c92c-152c-4e66-9c79-aaef8bb64114",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d84b0571-eb31-4444-baa6-fcd5fa2b4e68",
"CreateDate": "2026-08-09T23:40:55.9287835-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T23:40:55.9287835-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4497481a-e18a-47ee-a496-6826a054e332",
"FieldId": "5310a0aa-21c3-4fb0-b8ef-9cf991d82bf5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4497481a-e18a-47ee-a496-6826a054e332",
"FieldId": "5310a0aa-21c3-4fb0-b8ef-9cf991d82bf5",
"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": "88ac711f-6171-46f4-9303-878b3dd40fd0",
"Section": {
"FormTypeSectionId": "725668cc-2781-4fca-bdc7-a1d28bef9867",
"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": "0731ee05-d50c-4190-a28e-0d8c73f1b3c2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7114c92c-152c-4e66-9c79-aaef8bb64114",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d84b0571-eb31-4444-baa6-fcd5fa2b4e68",
"CreateDate": "2026-08-09T23:40:55.9287835-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T23:40:55.9287835-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4497481a-e18a-47ee-a496-6826a054e332",
"FieldId": "5310a0aa-21c3-4fb0-b8ef-9cf991d82bf5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4497481a-e18a-47ee-a496-6826a054e332",
"FieldId": "5310a0aa-21c3-4fb0-b8ef-9cf991d82bf5",
"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": "56c4c29a-c470-46af-a697-d5cd5de4a95e",
"CreateDate": "2026-08-09T23:40:55.9287835-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:40:55.9287835-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": "5867c63c-0830-4682-84ce-0f99b7d62f79",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "17760406-be1e-42d9-bf27-db557bda990c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4a4691ea-cb2e-4685-a90c-78a998585575",
"CreateDate": "2026-08-09T23:40:55.9287835-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:40:55.9287835-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-09T23:40:55.9287835-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "9a073bca-b381-4c2c-9c84-6ef597e6ad2a",
"Section": {
"FormTypeSectionId": "48867c50-72a4-41b5-a7aa-02f51c5fc0a1",
"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": "dfb7b3ba-2019-45a7-8674-8bd6d8f3d1c7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "301416ad-5f63-4959-8966-ac4f7369ef03",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a0e4b0b5-ea36-4aeb-a899-1668bed5cf62",
"CreateDate": "2026-08-09T23:40:55.9287835-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T23:40:55.9287835-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "dedcc04c-85bb-4a99-87bf-a6b11904b3d0",
"FieldId": "930253a5-a40f-4b9c-a4e1-516d417ecade",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "dedcc04c-85bb-4a99-87bf-a6b11904b3d0",
"FieldId": "930253a5-a40f-4b9c-a4e1-516d417ecade",
"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": "9a073bca-b381-4c2c-9c84-6ef597e6ad2a",
"Section": {
"FormTypeSectionId": "48867c50-72a4-41b5-a7aa-02f51c5fc0a1",
"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": "dfb7b3ba-2019-45a7-8674-8bd6d8f3d1c7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "301416ad-5f63-4959-8966-ac4f7369ef03",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a0e4b0b5-ea36-4aeb-a899-1668bed5cf62",
"CreateDate": "2026-08-09T23:40:55.9287835-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T23:40:55.9287835-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "dedcc04c-85bb-4a99-87bf-a6b11904b3d0",
"FieldId": "930253a5-a40f-4b9c-a4e1-516d417ecade",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "dedcc04c-85bb-4a99-87bf-a6b11904b3d0",
"FieldId": "930253a5-a40f-4b9c-a4e1-516d417ecade",
"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": "b05b030f-ea50-4f3d-9f1e-fb642e61dcf0",
"CreateDate": "2026-08-09T23:40:55.9287835-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:40:55.9287835-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}