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": "494171e5-560a-4821-8bdc-0336986ee88b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ec012e6d-f666-4f54-998a-87731df5d41f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "baf4df99-edb1-4ca5-b620-8d8ca02b76fa",
"CreateDate": "2026-04-16T21:57:50.5471207-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-16T21:57:50.5471207-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-16T21:57:50.5471207-07:00",
"Fields": [
{
"FormTypeFieldId": "1b9e2a77-9424-4609-ae65-cf68b106daba",
"Section": {
"FormTypeSectionId": "b54ba306-2f0d-4c27-8f31-044a73d7bcc6",
"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": "5130a700-c01d-4861-b526-115ab0ffa5c3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e313d641-179c-4f0c-8992-bf72abf6c744",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "166a073c-7921-4762-9458-c3ca6ff4d303",
"CreateDate": "2026-04-16T21:57:50.5471207-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-16T21:57:50.5471207-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c681ef9f-a977-4715-a0da-6ea985e1fe4e",
"FieldId": "2e316fa0-96d1-426f-ba42-7a121767e779",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c681ef9f-a977-4715-a0da-6ea985e1fe4e",
"FieldId": "2e316fa0-96d1-426f-ba42-7a121767e779",
"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": "1b9e2a77-9424-4609-ae65-cf68b106daba",
"Section": {
"FormTypeSectionId": "b54ba306-2f0d-4c27-8f31-044a73d7bcc6",
"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": "5130a700-c01d-4861-b526-115ab0ffa5c3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e313d641-179c-4f0c-8992-bf72abf6c744",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "166a073c-7921-4762-9458-c3ca6ff4d303",
"CreateDate": "2026-04-16T21:57:50.5471207-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-16T21:57:50.5471207-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c681ef9f-a977-4715-a0da-6ea985e1fe4e",
"FieldId": "2e316fa0-96d1-426f-ba42-7a121767e779",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c681ef9f-a977-4715-a0da-6ea985e1fe4e",
"FieldId": "2e316fa0-96d1-426f-ba42-7a121767e779",
"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": "49a7eec8-0105-4c80-b54f-1b5386c6a2ae",
"CreateDate": "2026-04-16T21:57:50.5471207-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-16T21:57:50.5471207-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": "00b07fcc-18c2-40ed-9823-dc919e671f98",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "382bc045-bd50-4f44-aa37-f2cf816447af",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f8cbd1f6-9e1e-488c-928c-bca6c0de1691",
"CreateDate": "2026-04-16T21:57:50.5471207-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-16T21:57:50.5471207-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-16T21:57:50.5471207-07:00",
"Fields": [
{
"FormTypeFieldId": "de9c40fb-bed5-4a71-a209-11dc46fafa7a",
"Section": {
"FormTypeSectionId": "b9292282-f66d-445c-8b13-6c72f9fede05",
"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": "168f8fd5-1c2e-4653-91d5-1c47b3d911a5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9bec6dd4-9b3e-4362-964e-f73d203132a0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "059df161-0040-4aca-b7d4-8742feb54f01",
"CreateDate": "2026-04-16T21:57:50.5471207-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-16T21:57:50.5471207-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "058905a6-341d-4ac4-9445-d09cf8c09d3b",
"FieldId": "ce787b91-98fa-4369-8847-d8ec2e6840e0",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "058905a6-341d-4ac4-9445-d09cf8c09d3b",
"FieldId": "ce787b91-98fa-4369-8847-d8ec2e6840e0",
"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": "de9c40fb-bed5-4a71-a209-11dc46fafa7a",
"Section": {
"FormTypeSectionId": "b9292282-f66d-445c-8b13-6c72f9fede05",
"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": "168f8fd5-1c2e-4653-91d5-1c47b3d911a5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9bec6dd4-9b3e-4362-964e-f73d203132a0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "059df161-0040-4aca-b7d4-8742feb54f01",
"CreateDate": "2026-04-16T21:57:50.5471207-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-16T21:57:50.5471207-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "058905a6-341d-4ac4-9445-d09cf8c09d3b",
"FieldId": "ce787b91-98fa-4369-8847-d8ec2e6840e0",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "058905a6-341d-4ac4-9445-d09cf8c09d3b",
"FieldId": "ce787b91-98fa-4369-8847-d8ec2e6840e0",
"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": "0e56d818-17a2-4e17-bcb9-a0b648174320",
"CreateDate": "2026-04-16T21:57:50.5471207-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-16T21:57:50.5471207-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}