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": "6c12cea2-6a00-4628-bf36-7b6549c2c64f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d5f8d00e-2f38-4353-ba3a-e332814de626",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e76c6b96-7781-4c73-b57e-63475b40f3c1",
"CreateDate": "2026-04-28T18:58:39.0557454-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-28T18:58:39.0557454-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-28T18:58:39.0557454-07:00",
"Fields": [
{
"FormTypeFieldId": "af23014f-8147-49e4-8562-fd1e8412d1de",
"Section": {
"FormTypeSectionId": "2cc54285-31a7-4421-ab1c-8afd413b4fcb",
"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": "3ddcc80d-ee39-4a64-875d-4fa9cf8801df",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c5aa5f62-260f-4add-a7a9-ad994e11d1d8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1e77f88d-6aed-43e2-afd8-2171b497651e",
"CreateDate": "2026-04-28T18:58:39.0557454-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-28T18:58:39.0557454-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "80834d36-24ba-45cd-9dda-5194bb5795df",
"FieldId": "bab4412a-7891-459e-b859-d34472f04727",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "80834d36-24ba-45cd-9dda-5194bb5795df",
"FieldId": "bab4412a-7891-459e-b859-d34472f04727",
"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": "af23014f-8147-49e4-8562-fd1e8412d1de",
"Section": {
"FormTypeSectionId": "2cc54285-31a7-4421-ab1c-8afd413b4fcb",
"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": "3ddcc80d-ee39-4a64-875d-4fa9cf8801df",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c5aa5f62-260f-4add-a7a9-ad994e11d1d8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1e77f88d-6aed-43e2-afd8-2171b497651e",
"CreateDate": "2026-04-28T18:58:39.0557454-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-28T18:58:39.0557454-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "80834d36-24ba-45cd-9dda-5194bb5795df",
"FieldId": "bab4412a-7891-459e-b859-d34472f04727",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "80834d36-24ba-45cd-9dda-5194bb5795df",
"FieldId": "bab4412a-7891-459e-b859-d34472f04727",
"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": "635b7bb5-ba0e-44f8-8293-668765961510",
"CreateDate": "2026-04-28T18:58:39.0557454-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-28T18:58:39.0557454-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": "2620aabe-623e-4fe2-b3ea-5545237fb7ab",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "248ccab7-6f7c-48c8-b156-0372bc0048e9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6be075dd-3b02-45c6-aa60-42bfd27c6253",
"CreateDate": "2026-04-28T18:58:39.0557454-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-28T18:58:39.0557454-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-28T18:58:39.0557454-07:00",
"Fields": [
{
"FormTypeFieldId": "9022691a-a1f0-4de6-9707-3e5e7a385064",
"Section": {
"FormTypeSectionId": "ba69450d-fad3-4d74-b12d-4949b9becc24",
"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": "dcfe0d6e-4fd5-4eff-818f-1d8015b63404",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a46083f5-d8df-4734-a77c-0483ce08fa98",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "25b95523-56a5-4dc0-b988-6d7db1ca9839",
"CreateDate": "2026-04-28T18:58:39.0557454-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-28T18:58:39.0557454-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f0493d84-3444-419a-99b8-b3579004d61d",
"FieldId": "90405a44-fc37-4dbd-8b12-885bb4a9038c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f0493d84-3444-419a-99b8-b3579004d61d",
"FieldId": "90405a44-fc37-4dbd-8b12-885bb4a9038c",
"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": "9022691a-a1f0-4de6-9707-3e5e7a385064",
"Section": {
"FormTypeSectionId": "ba69450d-fad3-4d74-b12d-4949b9becc24",
"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": "dcfe0d6e-4fd5-4eff-818f-1d8015b63404",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a46083f5-d8df-4734-a77c-0483ce08fa98",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "25b95523-56a5-4dc0-b988-6d7db1ca9839",
"CreateDate": "2026-04-28T18:58:39.0557454-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-28T18:58:39.0557454-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f0493d84-3444-419a-99b8-b3579004d61d",
"FieldId": "90405a44-fc37-4dbd-8b12-885bb4a9038c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f0493d84-3444-419a-99b8-b3579004d61d",
"FieldId": "90405a44-fc37-4dbd-8b12-885bb4a9038c",
"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": "c81b9c45-d027-41d9-a392-a1ac1d2b0f5f",
"CreateDate": "2026-04-28T18:58:39.0557454-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-28T18:58:39.0557454-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}