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": "d34abd3a-9052-48a1-8cea-13722fee32c5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0bdb7077-7d7e-4e14-a558-bd2a0366752d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "38de7d44-4606-46bc-8d14-c9296f091901",
"CreateDate": "2026-07-15T13:19:38.47834-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:19:38.47834-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-15T13:19:38.47834-07:00",
"Fields": [
{
"FormTypeFieldId": "b8732676-1f4b-4fa7-8c27-8f06a7cb9d32",
"Section": {
"FormTypeSectionId": "ce5d5c96-9741-4ccf-968e-82335c863ee1",
"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": "093b1824-b1ca-4e4b-8d45-7e0fd770b1ed",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a89f917f-256d-442c-bb27-05b2ee4caafa",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ddac2136-0925-4762-91fa-0698b96a7aa5",
"CreateDate": "2026-07-15T13:19:38.47834-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:38.47834-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "90af017f-b755-4e14-a018-6b0164dd6fb8",
"FieldId": "b97184d1-7250-4466-a9de-2c7234ed8e86",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "90af017f-b755-4e14-a018-6b0164dd6fb8",
"FieldId": "b97184d1-7250-4466-a9de-2c7234ed8e86",
"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": "b8732676-1f4b-4fa7-8c27-8f06a7cb9d32",
"Section": {
"FormTypeSectionId": "ce5d5c96-9741-4ccf-968e-82335c863ee1",
"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": "093b1824-b1ca-4e4b-8d45-7e0fd770b1ed",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a89f917f-256d-442c-bb27-05b2ee4caafa",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ddac2136-0925-4762-91fa-0698b96a7aa5",
"CreateDate": "2026-07-15T13:19:38.47834-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:38.47834-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "90af017f-b755-4e14-a018-6b0164dd6fb8",
"FieldId": "b97184d1-7250-4466-a9de-2c7234ed8e86",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "90af017f-b755-4e14-a018-6b0164dd6fb8",
"FieldId": "b97184d1-7250-4466-a9de-2c7234ed8e86",
"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": "89043958-0160-46a8-b54c-9cfa64334cd5",
"CreateDate": "2026-07-15T13:19:38.47834-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:38.47834-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": "e4b96f97-3ae9-4faa-abe3-49050dc7a97c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2150b73e-ba1c-468b-953d-c927ee88faac",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0374ed2c-edd7-4b21-a159-d6c2a56fd413",
"CreateDate": "2026-07-15T13:19:38.47834-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:19:38.47834-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-15T13:19:38.47834-07:00",
"Fields": [
{
"FormTypeFieldId": "a0384432-0fa3-4b74-ab62-f38f54733ee6",
"Section": {
"FormTypeSectionId": "bca5ebb0-39b2-4a06-92f5-9e364f038821",
"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": "7861cb51-f06f-40f2-9d59-f1f405e45402",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "60b5cbfe-e01e-4923-bdcb-f9e43c7ad8c5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3bd24d75-8a77-437e-8a73-2e2a1389854d",
"CreateDate": "2026-07-15T13:19:38.47834-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:38.47834-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8e0103a8-bfea-4995-abbe-58c95e30968c",
"FieldId": "b87bca74-6a1b-4a23-b178-c0f09f127d4c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8e0103a8-bfea-4995-abbe-58c95e30968c",
"FieldId": "b87bca74-6a1b-4a23-b178-c0f09f127d4c",
"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": "a0384432-0fa3-4b74-ab62-f38f54733ee6",
"Section": {
"FormTypeSectionId": "bca5ebb0-39b2-4a06-92f5-9e364f038821",
"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": "7861cb51-f06f-40f2-9d59-f1f405e45402",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "60b5cbfe-e01e-4923-bdcb-f9e43c7ad8c5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3bd24d75-8a77-437e-8a73-2e2a1389854d",
"CreateDate": "2026-07-15T13:19:38.47834-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:38.47834-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8e0103a8-bfea-4995-abbe-58c95e30968c",
"FieldId": "b87bca74-6a1b-4a23-b178-c0f09f127d4c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8e0103a8-bfea-4995-abbe-58c95e30968c",
"FieldId": "b87bca74-6a1b-4a23-b178-c0f09f127d4c",
"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": "0c40b9b3-af7a-42f4-85cd-35ee992d81bc",
"CreateDate": "2026-07-15T13:19:38.47834-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:38.47834-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}