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": "fb26efaa-0827-4dfa-81a2-43d381f40be9",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "52b4ff10-04be-405e-afc0-b3b5328d0f86",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "42b96d4c-2e72-47b8-a80d-9f26ab812ee7",
"CreateDate": "2026-06-17T15:39:50.7762991-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T15:39:50.7762991-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-17T15:39:50.7762991-07:00",
"Fields": [
{
"FormTypeFieldId": "d46b36c5-035c-4f84-a5c2-bb063d3b3bbc",
"Section": {
"FormTypeSectionId": "18c4975b-f356-41c6-a2c6-aa7147dce2b1",
"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": "c0a1468a-45ac-434e-8e9d-4a45f09a763c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "16e9a069-ace3-4b1f-9a81-26fcf38abc53",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "11ce5e64-a9eb-4e0e-ae08-3ae6b3b44769",
"CreateDate": "2026-06-17T15:39:50.7762991-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T15:39:50.7762991-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "db06e69e-281c-4e7f-ab00-3adb6521013a",
"FieldId": "ac7ab314-b0e2-437b-9764-066a17c53fe4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "db06e69e-281c-4e7f-ab00-3adb6521013a",
"FieldId": "ac7ab314-b0e2-437b-9764-066a17c53fe4",
"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": "d46b36c5-035c-4f84-a5c2-bb063d3b3bbc",
"Section": {
"FormTypeSectionId": "18c4975b-f356-41c6-a2c6-aa7147dce2b1",
"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": "c0a1468a-45ac-434e-8e9d-4a45f09a763c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "16e9a069-ace3-4b1f-9a81-26fcf38abc53",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "11ce5e64-a9eb-4e0e-ae08-3ae6b3b44769",
"CreateDate": "2026-06-17T15:39:50.7762991-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T15:39:50.7762991-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "db06e69e-281c-4e7f-ab00-3adb6521013a",
"FieldId": "ac7ab314-b0e2-437b-9764-066a17c53fe4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "db06e69e-281c-4e7f-ab00-3adb6521013a",
"FieldId": "ac7ab314-b0e2-437b-9764-066a17c53fe4",
"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": "aefd6a51-ed4d-4513-be55-d6e39b70b885",
"CreateDate": "2026-06-17T15:39:50.7762991-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T15:39:50.7762991-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": "e1ed05c2-5801-479b-8adc-ab6edd3649f9",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "97771eac-14a4-4215-b943-e8a40dd74ef2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f4303a98-9edb-437f-9458-4a3815e075e8",
"CreateDate": "2026-06-17T15:39:50.7762991-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T15:39:50.7762991-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-17T15:39:50.7762991-07:00",
"Fields": [
{
"FormTypeFieldId": "3966a9c9-8570-4ef0-9f06-b6ee139faabd",
"Section": {
"FormTypeSectionId": "c064bb80-99d7-46f8-acdd-6594065c3145",
"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": "96f2c055-b692-43db-b742-4f776679f1ed",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a30cc7cd-a76f-4ddd-8d28-3c6fe9a5e02f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "52cdfd65-0c6c-4fac-95a8-e396b0fc3c96",
"CreateDate": "2026-06-17T15:39:50.7762991-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T15:39:50.7762991-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b764764e-bf68-4dc6-abc0-53cc9c031650",
"FieldId": "dbe4b5a2-e7db-49d6-a4d7-ca75568bf5ed",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b764764e-bf68-4dc6-abc0-53cc9c031650",
"FieldId": "dbe4b5a2-e7db-49d6-a4d7-ca75568bf5ed",
"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": "3966a9c9-8570-4ef0-9f06-b6ee139faabd",
"Section": {
"FormTypeSectionId": "c064bb80-99d7-46f8-acdd-6594065c3145",
"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": "96f2c055-b692-43db-b742-4f776679f1ed",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a30cc7cd-a76f-4ddd-8d28-3c6fe9a5e02f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "52cdfd65-0c6c-4fac-95a8-e396b0fc3c96",
"CreateDate": "2026-06-17T15:39:50.7762991-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T15:39:50.7762991-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b764764e-bf68-4dc6-abc0-53cc9c031650",
"FieldId": "dbe4b5a2-e7db-49d6-a4d7-ca75568bf5ed",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b764764e-bf68-4dc6-abc0-53cc9c031650",
"FieldId": "dbe4b5a2-e7db-49d6-a4d7-ca75568bf5ed",
"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": "4ef7ce24-a7aa-4b37-b7ea-c63308ff665b",
"CreateDate": "2026-06-17T15:39:50.7762991-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T15:39:50.7762991-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}