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": "181b8407-c0e2-486a-9b76-eb71f0d6b8d8",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9eef4b32-15bf-4fe8-9ca3-104aa1060792",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3fe104d6-a8df-439a-a300-e96d44f26da2",
"CreateDate": "2026-08-24T21:33:06.51564-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:33:06.51564-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-24T21:33:06.51564-07:00",
"Fields": [
{
"FormTypeFieldId": "ba6d89d3-59d6-46a5-a24d-c582adcd15bc",
"Section": {
"FormTypeSectionId": "fa38301e-5fac-4f04-a04c-815fb9c762fc",
"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": "4c04e285-6ffe-4d40-8525-b0ee3b9c0834",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "120ada3f-5b68-4c9a-bcde-61693cfd9091",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "217cccb6-2374-4b3c-b4a6-ba2f8461c12f",
"CreateDate": "2026-08-24T21:33:06.51564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:33:06.51564-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "564a6c1e-e47e-4a37-bddc-37baf2dc50f6",
"FieldId": "c5e2547b-7142-4470-9d73-07b6f848675a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "564a6c1e-e47e-4a37-bddc-37baf2dc50f6",
"FieldId": "c5e2547b-7142-4470-9d73-07b6f848675a",
"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": "ba6d89d3-59d6-46a5-a24d-c582adcd15bc",
"Section": {
"FormTypeSectionId": "fa38301e-5fac-4f04-a04c-815fb9c762fc",
"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": "4c04e285-6ffe-4d40-8525-b0ee3b9c0834",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "120ada3f-5b68-4c9a-bcde-61693cfd9091",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "217cccb6-2374-4b3c-b4a6-ba2f8461c12f",
"CreateDate": "2026-08-24T21:33:06.51564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:33:06.51564-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "564a6c1e-e47e-4a37-bddc-37baf2dc50f6",
"FieldId": "c5e2547b-7142-4470-9d73-07b6f848675a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "564a6c1e-e47e-4a37-bddc-37baf2dc50f6",
"FieldId": "c5e2547b-7142-4470-9d73-07b6f848675a",
"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": "9b1c6942-8d80-417e-81be-f6b60d4ad014",
"CreateDate": "2026-08-24T21:33:06.51564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:33:06.51564-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": "84ff6cc5-122a-457c-857e-1cf846638937",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6d1ab701-f520-488f-b815-4ca43cd0d986",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4e99a832-683b-4103-8af2-5fc993cdbbdf",
"CreateDate": "2026-08-24T21:33:06.51564-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:33:06.51564-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-24T21:33:06.51564-07:00",
"Fields": [
{
"FormTypeFieldId": "7d544dcf-9c65-4824-94ba-a2e6dac2948b",
"Section": {
"FormTypeSectionId": "f73ca268-c690-49ed-a2a8-aa599ceecb5b",
"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": "e37e21ef-3e43-403c-8f4b-d17995bbabba",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "85c4dfb1-9f1d-4092-a59b-8a422521e3b6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "806abfad-8e43-4ef6-8dbb-fc8b4308d98a",
"CreateDate": "2026-08-24T21:33:06.51564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:33:06.51564-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ba64705d-e544-45db-9720-a177bf2d3495",
"FieldId": "1d48d7b4-e04b-4efe-8a12-d55d8547ef12",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ba64705d-e544-45db-9720-a177bf2d3495",
"FieldId": "1d48d7b4-e04b-4efe-8a12-d55d8547ef12",
"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": "7d544dcf-9c65-4824-94ba-a2e6dac2948b",
"Section": {
"FormTypeSectionId": "f73ca268-c690-49ed-a2a8-aa599ceecb5b",
"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": "e37e21ef-3e43-403c-8f4b-d17995bbabba",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "85c4dfb1-9f1d-4092-a59b-8a422521e3b6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "806abfad-8e43-4ef6-8dbb-fc8b4308d98a",
"CreateDate": "2026-08-24T21:33:06.51564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:33:06.51564-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ba64705d-e544-45db-9720-a177bf2d3495",
"FieldId": "1d48d7b4-e04b-4efe-8a12-d55d8547ef12",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ba64705d-e544-45db-9720-a177bf2d3495",
"FieldId": "1d48d7b4-e04b-4efe-8a12-d55d8547ef12",
"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": "90d9bd57-f320-4338-9156-130006acd9a9",
"CreateDate": "2026-08-24T21:33:06.51564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:33:06.51564-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}