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": "231e227f-0c99-42bc-a2b8-21e990d3e622",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e8c53bf4-3b55-44bc-89cd-34bb5ee2c252",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2a7e252d-0900-4773-8a95-103e80d19257",
"CreateDate": "2026-10-25T19:34:43.8074956-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-25T19:34:43.8074956-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-25T19:34:43.8074956-07:00",
"Fields": [
{
"FormTypeFieldId": "85e1de99-b3a0-4815-82d0-3fe9fa076136",
"Section": {
"FormTypeSectionId": "74281ddc-1847-44e0-8168-e6f5003a1f7f",
"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": "4d079f59-6322-4e65-806a-d925630f9407",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b13ca16c-8f13-40e8-983a-f21852143219",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "705ab2d0-d3f2-4ad2-816d-e7c1934b98d0",
"CreateDate": "2026-10-25T19:34:43.8074956-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-25T19:34:43.8074956-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "880c65ec-021b-4882-a28f-c173764f9e9a",
"FieldId": "667cf8bf-30c5-495a-b3c8-b46597e29b34",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "880c65ec-021b-4882-a28f-c173764f9e9a",
"FieldId": "667cf8bf-30c5-495a-b3c8-b46597e29b34",
"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": "85e1de99-b3a0-4815-82d0-3fe9fa076136",
"Section": {
"FormTypeSectionId": "74281ddc-1847-44e0-8168-e6f5003a1f7f",
"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": "4d079f59-6322-4e65-806a-d925630f9407",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b13ca16c-8f13-40e8-983a-f21852143219",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "705ab2d0-d3f2-4ad2-816d-e7c1934b98d0",
"CreateDate": "2026-10-25T19:34:43.8074956-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-25T19:34:43.8074956-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "880c65ec-021b-4882-a28f-c173764f9e9a",
"FieldId": "667cf8bf-30c5-495a-b3c8-b46597e29b34",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "880c65ec-021b-4882-a28f-c173764f9e9a",
"FieldId": "667cf8bf-30c5-495a-b3c8-b46597e29b34",
"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": "6cc4fa65-0d89-4cde-9512-4f0802dfbc7a",
"CreateDate": "2026-10-25T19:34:43.8231244-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-25T19:34:43.8231244-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": "609ca290-223f-428a-a4b9-ee3ee20e728c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1b41b183-7498-4e51-b363-24bd1358e2fa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "71ba6a11-6513-48db-8605-e52673bc3c35",
"CreateDate": "2026-10-25T19:34:44.1824831-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-25T19:34:44.1824831-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-25T19:34:44.1824831-07:00",
"Fields": [
{
"FormTypeFieldId": "82c7e394-3c67-43b9-bf0b-782f47c24108",
"Section": {
"FormTypeSectionId": "3b5b7710-4529-4bea-ac16-adb875d9d93e",
"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": "76b37b2c-76cf-4f41-b208-557a8b560a31",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "53a67161-f786-416d-b8d7-c269388e0503",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "840cf9d0-8532-4cbe-b99f-6292ba6c3933",
"CreateDate": "2026-10-25T19:34:44.1824831-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-25T19:34:44.1824831-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "70e5f8ee-64b8-4a39-a346-8d33f9c76c41",
"FieldId": "3717a1fc-0222-4d27-9ad8-f96bb81ffbde",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "70e5f8ee-64b8-4a39-a346-8d33f9c76c41",
"FieldId": "3717a1fc-0222-4d27-9ad8-f96bb81ffbde",
"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": "82c7e394-3c67-43b9-bf0b-782f47c24108",
"Section": {
"FormTypeSectionId": "3b5b7710-4529-4bea-ac16-adb875d9d93e",
"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": "76b37b2c-76cf-4f41-b208-557a8b560a31",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "53a67161-f786-416d-b8d7-c269388e0503",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "840cf9d0-8532-4cbe-b99f-6292ba6c3933",
"CreateDate": "2026-10-25T19:34:44.1824831-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-25T19:34:44.1824831-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "70e5f8ee-64b8-4a39-a346-8d33f9c76c41",
"FieldId": "3717a1fc-0222-4d27-9ad8-f96bb81ffbde",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "70e5f8ee-64b8-4a39-a346-8d33f9c76c41",
"FieldId": "3717a1fc-0222-4d27-9ad8-f96bb81ffbde",
"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": "1603f5e7-58a2-441d-9432-45a1f478145c",
"CreateDate": "2026-10-25T19:34:44.1824831-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-25T19:34:44.1824831-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}