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": "278fc89a-6a43-4065-a2fe-0a95a71b261a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "96d4ca19-6abe-4c58-b28b-ff312a64a453",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e5836439-a69a-4e3a-a990-0cdaa40e4e2e",
"CreateDate": "2026-09-13T23:36:32.0626249-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:36:32.0626249-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-13T23:36:32.0626249-07:00",
"Fields": [
{
"FormTypeFieldId": "94a2a969-cde4-4713-bc3b-b5626fc0e344",
"Section": {
"FormTypeSectionId": "1e2d2f47-e8a8-4abc-9fd6-467d106798fa",
"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": "b052b70d-3dd6-49fd-9d3d-f8142e7ff326",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "840b4168-87e9-48fd-a873-31ce40491620",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b5bba2d9-6206-451d-a84f-84025230aefb",
"CreateDate": "2026-09-13T23:36:32.0626249-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:36:32.0626249-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fc3884f1-ed44-4831-b7ec-d219c7cbf154",
"FieldId": "e81d2075-d085-4b19-b0fd-a063bbfa712c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fc3884f1-ed44-4831-b7ec-d219c7cbf154",
"FieldId": "e81d2075-d085-4b19-b0fd-a063bbfa712c",
"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": "94a2a969-cde4-4713-bc3b-b5626fc0e344",
"Section": {
"FormTypeSectionId": "1e2d2f47-e8a8-4abc-9fd6-467d106798fa",
"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": "b052b70d-3dd6-49fd-9d3d-f8142e7ff326",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "840b4168-87e9-48fd-a873-31ce40491620",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b5bba2d9-6206-451d-a84f-84025230aefb",
"CreateDate": "2026-09-13T23:36:32.0626249-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:36:32.0626249-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fc3884f1-ed44-4831-b7ec-d219c7cbf154",
"FieldId": "e81d2075-d085-4b19-b0fd-a063bbfa712c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fc3884f1-ed44-4831-b7ec-d219c7cbf154",
"FieldId": "e81d2075-d085-4b19-b0fd-a063bbfa712c",
"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": "8872c98d-17a3-47f7-a54a-4f80fa84ed9e",
"CreateDate": "2026-09-13T23:36:32.0626249-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:36:32.0626249-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": "50ff0155-bdea-4fa8-8a93-4a1174f240ad",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0359f3a2-d430-4319-8fdd-450c582733b2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "df9cb4e1-2e4e-4092-8355-8ee36b840f07",
"CreateDate": "2026-09-13T23:36:32.078318-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:36:32.078318-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-13T23:36:32.078318-07:00",
"Fields": [
{
"FormTypeFieldId": "3c1239e7-5364-4864-aa6b-bf38ceb2e09c",
"Section": {
"FormTypeSectionId": "eb19344e-598f-4243-bb65-f8a125396237",
"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": "b7f19a5c-89cc-40d9-836d-f3e7886eada2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "71dfbc97-0355-4d87-93d3-bf2e0a70bbec",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "09ae818d-1ebe-4235-bcad-7c32d0a18183",
"CreateDate": "2026-09-13T23:36:32.078318-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:36:32.078318-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d48e3f9a-6ee6-406b-b07c-2b9f15cd8c85",
"FieldId": "319e023e-629f-421f-9e4a-0caed4bc233a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d48e3f9a-6ee6-406b-b07c-2b9f15cd8c85",
"FieldId": "319e023e-629f-421f-9e4a-0caed4bc233a",
"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": "3c1239e7-5364-4864-aa6b-bf38ceb2e09c",
"Section": {
"FormTypeSectionId": "eb19344e-598f-4243-bb65-f8a125396237",
"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": "b7f19a5c-89cc-40d9-836d-f3e7886eada2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "71dfbc97-0355-4d87-93d3-bf2e0a70bbec",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "09ae818d-1ebe-4235-bcad-7c32d0a18183",
"CreateDate": "2026-09-13T23:36:32.078318-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:36:32.078318-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d48e3f9a-6ee6-406b-b07c-2b9f15cd8c85",
"FieldId": "319e023e-629f-421f-9e4a-0caed4bc233a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d48e3f9a-6ee6-406b-b07c-2b9f15cd8c85",
"FieldId": "319e023e-629f-421f-9e4a-0caed4bc233a",
"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": "846527af-8b72-498d-bb16-8c3912b42cd2",
"CreateDate": "2026-09-13T23:36:32.078318-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:36:32.078318-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}