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": "114916a9-f155-4150-ad28-a7e3f074e9e7",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a5b31067-3367-465d-9b6a-bc8b9b1a2d1c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "aa9a7706-0e83-4dac-8d75-c36b365a5da2",
"CreateDate": "2026-08-12T11:14:12.9322652-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:14:12.9322652-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-12T11:14:12.9322652-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "24c09cc9-0efa-4212-98bf-f439e325e01b",
"Section": {
"FormTypeSectionId": "5ef091c5-5385-4053-b3a9-784f7a330e6d",
"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": "ed1ca13d-bfde-4968-a1fb-de47086db3d7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8db9640d-d18f-45ca-bee7-f43a1ab45fc8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5e04f73a-d569-4f86-84c4-e56d1963f3d7",
"CreateDate": "2026-08-12T11:14:12.9322652-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:14:12.9322652-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "caab34bc-97c2-49fd-a9ae-36acca2ae9ff",
"FieldId": "f2937a01-8975-4e62-98cf-f555b9e52b10",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "caab34bc-97c2-49fd-a9ae-36acca2ae9ff",
"FieldId": "f2937a01-8975-4e62-98cf-f555b9e52b10",
"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": "24c09cc9-0efa-4212-98bf-f439e325e01b",
"Section": {
"FormTypeSectionId": "5ef091c5-5385-4053-b3a9-784f7a330e6d",
"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": "ed1ca13d-bfde-4968-a1fb-de47086db3d7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8db9640d-d18f-45ca-bee7-f43a1ab45fc8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5e04f73a-d569-4f86-84c4-e56d1963f3d7",
"CreateDate": "2026-08-12T11:14:12.9322652-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:14:12.9322652-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "caab34bc-97c2-49fd-a9ae-36acca2ae9ff",
"FieldId": "f2937a01-8975-4e62-98cf-f555b9e52b10",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "caab34bc-97c2-49fd-a9ae-36acca2ae9ff",
"FieldId": "f2937a01-8975-4e62-98cf-f555b9e52b10",
"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": "27bc5642-989e-4d05-a4d3-4f7cf1d814bc",
"CreateDate": "2026-08-12T11:14:12.9322652-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:14:12.9322652-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": "eabef873-cc71-43a3-b14e-222757e1b7e6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b9d90d43-1cca-4e73-9041-a3c2cd84b48e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a22eb7b8-84dc-417c-8c9f-06a1d9b4c3d1",
"CreateDate": "2026-08-12T11:14:12.9322652-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:14:12.9322652-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-12T11:14:12.9322652-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "10a631ad-99e3-40c7-b2f7-c3b2a552dcd6",
"Section": {
"FormTypeSectionId": "4443e00b-1233-48ef-917b-38a9d967b3ba",
"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": "e5aa52e6-5b95-4b91-99cf-bc46b5ef0ba3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dd325461-8af3-4709-b9c4-51798bdd7cc6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5c288321-f92a-4997-bf77-9d8279f600c0",
"CreateDate": "2026-08-12T11:14:12.9322652-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:14:12.9322652-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "da38b4c2-1f30-4f1d-bb3c-e00332cbabd6",
"FieldId": "9ca5f1ad-becb-4049-aafd-67ab68fd840d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "da38b4c2-1f30-4f1d-bb3c-e00332cbabd6",
"FieldId": "9ca5f1ad-becb-4049-aafd-67ab68fd840d",
"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": "10a631ad-99e3-40c7-b2f7-c3b2a552dcd6",
"Section": {
"FormTypeSectionId": "4443e00b-1233-48ef-917b-38a9d967b3ba",
"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": "e5aa52e6-5b95-4b91-99cf-bc46b5ef0ba3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dd325461-8af3-4709-b9c4-51798bdd7cc6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5c288321-f92a-4997-bf77-9d8279f600c0",
"CreateDate": "2026-08-12T11:14:12.9322652-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:14:12.9322652-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "da38b4c2-1f30-4f1d-bb3c-e00332cbabd6",
"FieldId": "9ca5f1ad-becb-4049-aafd-67ab68fd840d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "da38b4c2-1f30-4f1d-bb3c-e00332cbabd6",
"FieldId": "9ca5f1ad-becb-4049-aafd-67ab68fd840d",
"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": "703a5a8e-e05b-4f6e-95c9-a93ec3e66dcd",
"CreateDate": "2026-08-12T11:14:12.9322652-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:14:12.9322652-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}