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": "2c8d875c-250a-4981-b5e4-e55efc52e93c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "caa258fa-d1d8-45d5-a04d-51d326195d7d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9f3df5c7-0e4c-491a-b02d-beffef2e3828",
"CreateDate": "2026-03-15T17:58:45.5567469-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T17:58:45.5567469-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-15T17:58:45.5567469-07:00",
"Fields": [
{
"FormTypeFieldId": "2506d1f1-983b-4879-b10b-06415dde7249",
"Section": {
"FormTypeSectionId": "b5175238-62a1-4805-a06d-0ff460f629fc",
"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": "911140d2-247b-4aa6-990f-d2e83b4b3c86",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "add921f0-38cf-4941-9a1d-be46bfe253b1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1949f2c7-0370-4457-ae61-e0737fbc261a",
"CreateDate": "2026-03-15T17:58:45.5567469-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T17:58:45.5567469-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ab7c5e0e-f364-4f33-8107-be9474c456be",
"FieldId": "ab46411a-aa91-4beb-89d6-3e5768521c6c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ab7c5e0e-f364-4f33-8107-be9474c456be",
"FieldId": "ab46411a-aa91-4beb-89d6-3e5768521c6c",
"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": "2506d1f1-983b-4879-b10b-06415dde7249",
"Section": {
"FormTypeSectionId": "b5175238-62a1-4805-a06d-0ff460f629fc",
"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": "911140d2-247b-4aa6-990f-d2e83b4b3c86",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "add921f0-38cf-4941-9a1d-be46bfe253b1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1949f2c7-0370-4457-ae61-e0737fbc261a",
"CreateDate": "2026-03-15T17:58:45.5567469-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T17:58:45.5567469-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ab7c5e0e-f364-4f33-8107-be9474c456be",
"FieldId": "ab46411a-aa91-4beb-89d6-3e5768521c6c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ab7c5e0e-f364-4f33-8107-be9474c456be",
"FieldId": "ab46411a-aa91-4beb-89d6-3e5768521c6c",
"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": "fcbdfee6-4ebe-46b3-8e14-ce34b3a3a29f",
"CreateDate": "2026-03-15T17:58:45.5567469-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T17:58:45.5567469-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": "0022190b-ca97-4569-b32b-0c3abf7b4cc2",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "13cb5055-47e7-4320-bcfc-fc92044485fd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4b586c2e-2317-43a2-8856-c5e2c948d2f8",
"CreateDate": "2026-03-15T17:58:45.5567469-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T17:58:45.5567469-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-15T17:58:45.5567469-07:00",
"Fields": [
{
"FormTypeFieldId": "5364d8b7-804f-457b-ab17-ab3e50904063",
"Section": {
"FormTypeSectionId": "185e477c-d7b3-442c-be89-6ff167c6bfdb",
"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": "2d09b66e-5587-4fef-8e83-d9c45f7ce9a1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4c363013-8e67-4015-ac27-f41158c43707",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3a7da188-54e8-481f-8566-f3b52677834f",
"CreateDate": "2026-03-15T17:58:45.5567469-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T17:58:45.5567469-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "058b58d4-aa97-43a6-9f9e-c73ac0dcbb4b",
"FieldId": "a580b135-1216-40fd-b988-c8fe4957d430",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "058b58d4-aa97-43a6-9f9e-c73ac0dcbb4b",
"FieldId": "a580b135-1216-40fd-b988-c8fe4957d430",
"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": "5364d8b7-804f-457b-ab17-ab3e50904063",
"Section": {
"FormTypeSectionId": "185e477c-d7b3-442c-be89-6ff167c6bfdb",
"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": "2d09b66e-5587-4fef-8e83-d9c45f7ce9a1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4c363013-8e67-4015-ac27-f41158c43707",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3a7da188-54e8-481f-8566-f3b52677834f",
"CreateDate": "2026-03-15T17:58:45.5567469-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T17:58:45.5567469-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "058b58d4-aa97-43a6-9f9e-c73ac0dcbb4b",
"FieldId": "a580b135-1216-40fd-b988-c8fe4957d430",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "058b58d4-aa97-43a6-9f9e-c73ac0dcbb4b",
"FieldId": "a580b135-1216-40fd-b988-c8fe4957d430",
"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": "e7d18b22-4ec3-42c7-8973-30ae33852cc2",
"CreateDate": "2026-03-15T17:58:45.5567469-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T17:58:45.5567469-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}