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": "c58847cb-de52-40ed-a824-10b618c0aca5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "49b1f1d9-f169-47e1-abe3-61f246f4bef4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c8d61bf1-9619-4ddf-aca0-91f0985bf115",
"CreateDate": "2026-01-07T15:55:34.0600583-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:55:34.0600583-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-07T15:55:34.0600583-08:00",
"Fields": [
{
"FormTypeFieldId": "10c73321-40fd-4b33-9506-55351b082d95",
"Section": {
"FormTypeSectionId": "d8eb6ff9-4e93-42cf-82df-e35b9d89887d",
"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": "68da055a-a9a3-453c-aec1-5e477a0ce9fb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "19e398b7-814b-4e6d-8cd2-218d362ea76d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f8184e67-90b2-4d56-a60b-27c9ef8bebc1",
"CreateDate": "2026-01-07T15:55:34.0600583-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:55:34.0600583-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "24b189d9-1f2c-4e58-a904-f537fc274150",
"FieldId": "a776cf01-6500-4f41-93a5-726d24e2ad59",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "24b189d9-1f2c-4e58-a904-f537fc274150",
"FieldId": "a776cf01-6500-4f41-93a5-726d24e2ad59",
"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": "10c73321-40fd-4b33-9506-55351b082d95",
"Section": {
"FormTypeSectionId": "d8eb6ff9-4e93-42cf-82df-e35b9d89887d",
"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": "68da055a-a9a3-453c-aec1-5e477a0ce9fb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "19e398b7-814b-4e6d-8cd2-218d362ea76d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f8184e67-90b2-4d56-a60b-27c9ef8bebc1",
"CreateDate": "2026-01-07T15:55:34.0600583-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:55:34.0600583-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "24b189d9-1f2c-4e58-a904-f537fc274150",
"FieldId": "a776cf01-6500-4f41-93a5-726d24e2ad59",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "24b189d9-1f2c-4e58-a904-f537fc274150",
"FieldId": "a776cf01-6500-4f41-93a5-726d24e2ad59",
"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": "98743684-8342-48e9-9943-057696d8be54",
"CreateDate": "2026-01-07T15:55:34.0600583-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:55:34.0600583-08: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": "3262a810-b243-4b77-a138-57b08ae28b9e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "799371b7-ef56-4cb8-8adb-a8c9946a3445",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e5df485f-ad3d-439d-98ea-d2d80f6aa591",
"CreateDate": "2026-01-07T15:55:34.0756216-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:55:34.0756216-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-07T15:55:34.0756216-08:00",
"Fields": [
{
"FormTypeFieldId": "e7814843-48a4-42dd-812b-bcd1f848eb5b",
"Section": {
"FormTypeSectionId": "af0376db-1c8f-490d-9873-900a1bac5597",
"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": "33c93daf-4095-4f43-ba76-8579a4b3dced",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4b823d58-8995-4d3a-9907-5becc969b722",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "269d8a6d-f2a0-469a-b430-666eab1aa1c0",
"CreateDate": "2026-01-07T15:55:34.0756216-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:55:34.0756216-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "61443305-33d6-4c71-9ec7-223254ec89c5",
"FieldId": "6e3caf4b-4f83-429c-b775-59cd9c277ac2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "61443305-33d6-4c71-9ec7-223254ec89c5",
"FieldId": "6e3caf4b-4f83-429c-b775-59cd9c277ac2",
"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": "e7814843-48a4-42dd-812b-bcd1f848eb5b",
"Section": {
"FormTypeSectionId": "af0376db-1c8f-490d-9873-900a1bac5597",
"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": "33c93daf-4095-4f43-ba76-8579a4b3dced",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4b823d58-8995-4d3a-9907-5becc969b722",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "269d8a6d-f2a0-469a-b430-666eab1aa1c0",
"CreateDate": "2026-01-07T15:55:34.0756216-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:55:34.0756216-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "61443305-33d6-4c71-9ec7-223254ec89c5",
"FieldId": "6e3caf4b-4f83-429c-b775-59cd9c277ac2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "61443305-33d6-4c71-9ec7-223254ec89c5",
"FieldId": "6e3caf4b-4f83-429c-b775-59cd9c277ac2",
"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": "b3c8b6fa-bd5a-4406-92fe-3ab090a2cfc0",
"CreateDate": "2026-01-07T15:55:34.0756216-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:55:34.0756216-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}