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": "084f2d56-be89-416b-b29e-d14fc1d1c4ab",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "06d7ee51-ed6e-4a4e-b7bf-c8dfd48cbccd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3a0c868f-5b73-427e-9074-f90b872a439c",
"CreateDate": "2026-02-22T20:41:19.1925855-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-22T20:41:19.1925855-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-22T20:41:19.1925855-08:00",
"Fields": [
{
"FormTypeFieldId": "85870825-cbcd-4452-bb49-73170b0a972d",
"Section": {
"FormTypeSectionId": "99e2c33f-4461-4f2c-97f1-8c81e1c4f881",
"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": "a3ccf587-f712-4a6d-8c3c-c594597f0ee9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e9fbba66-a5f2-4e1e-9c80-46b22f26c944",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7e85636c-1962-4e79-96e2-b08215346a74",
"CreateDate": "2026-02-22T20:41:19.1925855-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-22T20:41:19.1925855-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5a41513a-06ac-471e-af9f-31aeb678c5f1",
"FieldId": "061f1be0-d26c-4165-add1-a2cc0159319f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5a41513a-06ac-471e-af9f-31aeb678c5f1",
"FieldId": "061f1be0-d26c-4165-add1-a2cc0159319f",
"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": "85870825-cbcd-4452-bb49-73170b0a972d",
"Section": {
"FormTypeSectionId": "99e2c33f-4461-4f2c-97f1-8c81e1c4f881",
"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": "a3ccf587-f712-4a6d-8c3c-c594597f0ee9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e9fbba66-a5f2-4e1e-9c80-46b22f26c944",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7e85636c-1962-4e79-96e2-b08215346a74",
"CreateDate": "2026-02-22T20:41:19.1925855-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-22T20:41:19.1925855-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5a41513a-06ac-471e-af9f-31aeb678c5f1",
"FieldId": "061f1be0-d26c-4165-add1-a2cc0159319f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5a41513a-06ac-471e-af9f-31aeb678c5f1",
"FieldId": "061f1be0-d26c-4165-add1-a2cc0159319f",
"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": "fdd5fa1f-afd1-41f3-9932-ae7b4e169ec6",
"CreateDate": "2026-02-22T20:41:19.1925855-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-22T20:41:19.1925855-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": "292b4151-6824-4a99-b566-7c6c125a2471",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4f2e8e33-1fd6-4a3f-8a1a-293b017e293c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2d725517-387b-4d4b-b242-343dd50923e1",
"CreateDate": "2026-02-22T20:41:19.2237779-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-22T20:41:19.2237779-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-22T20:41:19.2237779-08:00",
"Fields": [
{
"FormTypeFieldId": "815763d7-1781-4765-b569-da532638355c",
"Section": {
"FormTypeSectionId": "7d9b2122-c156-40bc-85cc-a2e7f5034056",
"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": "e3009a81-1427-49fd-ae12-d14b738042cd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "07d03d8d-b17c-4078-9075-0cc696849aab",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fab80713-d4c6-4232-baf4-2a092bac22e8",
"CreateDate": "2026-02-22T20:41:19.2237779-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-22T20:41:19.2237779-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "694fd1e3-3514-4fbf-bf36-abf0a0f1c976",
"FieldId": "b21c83f7-945c-43ba-af71-7b9eadd645bf",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "694fd1e3-3514-4fbf-bf36-abf0a0f1c976",
"FieldId": "b21c83f7-945c-43ba-af71-7b9eadd645bf",
"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": "815763d7-1781-4765-b569-da532638355c",
"Section": {
"FormTypeSectionId": "7d9b2122-c156-40bc-85cc-a2e7f5034056",
"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": "e3009a81-1427-49fd-ae12-d14b738042cd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "07d03d8d-b17c-4078-9075-0cc696849aab",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fab80713-d4c6-4232-baf4-2a092bac22e8",
"CreateDate": "2026-02-22T20:41:19.2237779-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-22T20:41:19.2237779-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "694fd1e3-3514-4fbf-bf36-abf0a0f1c976",
"FieldId": "b21c83f7-945c-43ba-af71-7b9eadd645bf",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "694fd1e3-3514-4fbf-bf36-abf0a0f1c976",
"FieldId": "b21c83f7-945c-43ba-af71-7b9eadd645bf",
"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": "058fd32a-b188-404b-b62c-9d50141cb864",
"CreateDate": "2026-02-22T20:41:19.2237779-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-22T20:41:19.2237779-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}