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. |
|
| 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": "91a26a4a-d5bf-4709-b787-d27596cbb8d4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "13e40bd6-e70d-4f20-8884-d32adbd25445",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "95c13df5-d7f8-439f-97dc-174733346c0e",
"CreateDate": "2026-04-18T04:55:40.3716485-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:55:40.3716485-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-18T04:55:40.3716485-07:00",
"Fields": [
{
"FormTypeFieldId": "6fac052c-61df-4887-8b12-eb5c0a9cad48",
"Section": {
"FormTypeSectionId": "5b3698fa-d758-450f-b5db-6935723282aa",
"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": "4c72e06e-e043-450d-a360-cd9250e05ceb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "623d1191-cba5-44d6-8c2a-d52cd238adf0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "85815596-ddbd-45a9-a46b-5468c59cad4a",
"CreateDate": "2026-04-18T04:55:40.3716485-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:55:40.3716485-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9666f4f4-9bfa-41ba-b8c3-f5ad5e545775",
"FieldId": "b7ddee71-c058-498c-9577-7ec24df20390",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9666f4f4-9bfa-41ba-b8c3-f5ad5e545775",
"FieldId": "b7ddee71-c058-498c-9577-7ec24df20390",
"FieldName": "sample string 1",
"FieldLable": "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": "6fac052c-61df-4887-8b12-eb5c0a9cad48",
"Section": {
"FormTypeSectionId": "5b3698fa-d758-450f-b5db-6935723282aa",
"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": "4c72e06e-e043-450d-a360-cd9250e05ceb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "623d1191-cba5-44d6-8c2a-d52cd238adf0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "85815596-ddbd-45a9-a46b-5468c59cad4a",
"CreateDate": "2026-04-18T04:55:40.3716485-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:55:40.3716485-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9666f4f4-9bfa-41ba-b8c3-f5ad5e545775",
"FieldId": "b7ddee71-c058-498c-9577-7ec24df20390",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9666f4f4-9bfa-41ba-b8c3-f5ad5e545775",
"FieldId": "b7ddee71-c058-498c-9577-7ec24df20390",
"FieldName": "sample string 1",
"FieldLable": "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 3",
"CompanyId": "c3a33cdc-0ba7-4fe0-9944-00bf45db8b5a",
"CreateDate": "2026-04-18T04:55:40.3716485-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:55:40.3716485-07:00",
"LastModifiedUser": "sample string 6"
}
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": "6648f3ec-0349-42a7-abf5-410b6cfab22e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c6996dc2-6245-4269-98db-f14358f5ec8e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f206c66f-893c-4649-a478-04648c36ca46",
"CreateDate": "2026-04-18T04:55:40.3716485-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:55:40.3716485-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-18T04:55:40.3716485-07:00",
"Fields": [
{
"FormTypeFieldId": "70375e58-d5a1-4594-8e61-bc3b84c48d02",
"Section": {
"FormTypeSectionId": "64a2932d-13c5-417b-837a-27b81af49180",
"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": "8212413c-34fe-4b20-8847-8c4797e4449c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6b676bb8-de3c-44f3-aa70-8508700d610f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "20ef019f-20fa-4092-881c-d04bf925a4c1",
"CreateDate": "2026-04-18T04:55:40.3716485-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:55:40.3716485-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "689bbb57-eb3f-415c-8411-53c69d7ce898",
"FieldId": "477c168a-693a-4bf1-b95c-3063d700a3de",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "689bbb57-eb3f-415c-8411-53c69d7ce898",
"FieldId": "477c168a-693a-4bf1-b95c-3063d700a3de",
"FieldName": "sample string 1",
"FieldLable": "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": "70375e58-d5a1-4594-8e61-bc3b84c48d02",
"Section": {
"FormTypeSectionId": "64a2932d-13c5-417b-837a-27b81af49180",
"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": "8212413c-34fe-4b20-8847-8c4797e4449c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6b676bb8-de3c-44f3-aa70-8508700d610f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "20ef019f-20fa-4092-881c-d04bf925a4c1",
"CreateDate": "2026-04-18T04:55:40.3716485-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:55:40.3716485-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "689bbb57-eb3f-415c-8411-53c69d7ce898",
"FieldId": "477c168a-693a-4bf1-b95c-3063d700a3de",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "689bbb57-eb3f-415c-8411-53c69d7ce898",
"FieldId": "477c168a-693a-4bf1-b95c-3063d700a3de",
"FieldName": "sample string 1",
"FieldLable": "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 3",
"CompanyId": "4318e993-0728-4c92-8000-c2a37ab3689e",
"CreateDate": "2026-04-18T04:55:40.3716485-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:55:40.3716485-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}