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": "851462db-2be0-4131-b1c6-48d5f438f357",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "63d1791d-bf04-4f4b-ae38-94f2b952043e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e4d15dcf-314d-45d5-ae51-55c9722c31c9",
"CreateDate": "2026-09-26T13:57:08.9150885-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:57:08.9150885-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-26T13:57:08.9150885-07:00",
"Fields": [
{
"FormTypeFieldId": "60a85180-277b-4cf9-bc66-bd6e95555f23",
"Section": {
"FormTypeSectionId": "cc14196e-43ca-4261-b36a-7e25f81b35c3",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"EnabledExpression": "sample string 5",
"SourceSystemId": "sample string 6"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "825311be-7f90-43bb-8874-2435bd660017",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fbe9dc9d-9cb0-4082-a8d6-a1997e68164d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a759e4ad-e339-4765-ae48-454f48fb53a0",
"CreateDate": "2026-09-26T13:57:08.9150885-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:57:08.9150885-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "46616297-febf-4494-93b1-84e500f36c97",
"FieldId": "46cc0409-0f83-48a8-8c5b-b9264cd06997",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "46616297-febf-4494-93b1-84e500f36c97",
"FieldId": "46cc0409-0f83-48a8-8c5b-b9264cd06997",
"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",
"EnabledExpression": "sample string 13",
"SourceSystemId": "sample string 14"
},
{
"FormTypeFieldId": "60a85180-277b-4cf9-bc66-bd6e95555f23",
"Section": {
"FormTypeSectionId": "cc14196e-43ca-4261-b36a-7e25f81b35c3",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"EnabledExpression": "sample string 5",
"SourceSystemId": "sample string 6"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "825311be-7f90-43bb-8874-2435bd660017",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fbe9dc9d-9cb0-4082-a8d6-a1997e68164d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a759e4ad-e339-4765-ae48-454f48fb53a0",
"CreateDate": "2026-09-26T13:57:08.9150885-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:57:08.9150885-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "46616297-febf-4494-93b1-84e500f36c97",
"FieldId": "46cc0409-0f83-48a8-8c5b-b9264cd06997",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "46616297-febf-4494-93b1-84e500f36c97",
"FieldId": "46cc0409-0f83-48a8-8c5b-b9264cd06997",
"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",
"EnabledExpression": "sample string 13",
"SourceSystemId": "sample string 14"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "b1bd5282-1652-47ca-8700-bb2b7934875a",
"CreateDate": "2026-09-26T13:57:08.9150885-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:57:08.9150885-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": "905bbb33-ea8c-4604-b2f3-98a7423b5ddb",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8f1d0f21-9aee-4aa0-81de-e9069d56f9bc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "04d375cc-d3fc-4d9d-a8cd-3820957f83d3",
"CreateDate": "2026-09-26T13:57:08.9150885-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:57:08.9150885-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-26T13:57:08.9150885-07:00",
"Fields": [
{
"FormTypeFieldId": "22a0210d-5ef7-40d2-9636-0157d3b3616d",
"Section": {
"FormTypeSectionId": "b4e04a87-507a-4f53-8463-43aac159c155",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"EnabledExpression": "sample string 5",
"SourceSystemId": "sample string 6"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "e284e2ea-873a-4126-bef4-df7e78835085",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dec5edca-f671-494c-989e-89238ddcfd9c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b40e7ddd-c5f6-48eb-b727-a3ebff75997a",
"CreateDate": "2026-09-26T13:57:08.9150885-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:57:08.9150885-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1890f990-766f-4e70-8184-4e9b1f3d9235",
"FieldId": "4fc85ff4-28be-4301-899e-7ec42bd82909",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1890f990-766f-4e70-8184-4e9b1f3d9235",
"FieldId": "4fc85ff4-28be-4301-899e-7ec42bd82909",
"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",
"EnabledExpression": "sample string 13",
"SourceSystemId": "sample string 14"
},
{
"FormTypeFieldId": "22a0210d-5ef7-40d2-9636-0157d3b3616d",
"Section": {
"FormTypeSectionId": "b4e04a87-507a-4f53-8463-43aac159c155",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"EnabledExpression": "sample string 5",
"SourceSystemId": "sample string 6"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "e284e2ea-873a-4126-bef4-df7e78835085",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dec5edca-f671-494c-989e-89238ddcfd9c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b40e7ddd-c5f6-48eb-b727-a3ebff75997a",
"CreateDate": "2026-09-26T13:57:08.9150885-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:57:08.9150885-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1890f990-766f-4e70-8184-4e9b1f3d9235",
"FieldId": "4fc85ff4-28be-4301-899e-7ec42bd82909",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1890f990-766f-4e70-8184-4e9b1f3d9235",
"FieldId": "4fc85ff4-28be-4301-899e-7ec42bd82909",
"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",
"EnabledExpression": "sample string 13",
"SourceSystemId": "sample string 14"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "27384135-0db7-4f70-adbf-dc20f51fc208",
"CreateDate": "2026-09-26T13:57:08.9150885-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:57:08.9150885-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}