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": "b4821358-fb03-4de1-b5d7-af4c390162cc",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8d90ce0d-78ff-4b74-94d3-6f8ab329029a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3071c384-359c-47fc-a79e-45455c3981bd",
"CreateDate": "2026-06-01T20:26:57.9660469-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:57.9660469-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-01T20:26:57.9660469-07:00",
"Fields": [
{
"FormTypeFieldId": "e55a2177-7c8a-425d-bf23-4a19b90e0023",
"Section": {
"FormTypeSectionId": "9ca6ed91-adb3-443c-ae9b-b8fab8df064b",
"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": "f67598e4-2cc9-4756-b1ff-21c7451484cb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c6fe5b86-bf44-4fe9-bb13-a3a9aef39589",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6ee1ea59-30e2-49d7-9b68-94334d128d25",
"CreateDate": "2026-06-01T20:26:57.9660469-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:57.9660469-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "23b3e27f-a991-43c0-8f71-8a8a9952df8f",
"FieldId": "604bcfea-97d6-48ae-9677-40662f7ff6f3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "23b3e27f-a991-43c0-8f71-8a8a9952df8f",
"FieldId": "604bcfea-97d6-48ae-9677-40662f7ff6f3",
"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": "e55a2177-7c8a-425d-bf23-4a19b90e0023",
"Section": {
"FormTypeSectionId": "9ca6ed91-adb3-443c-ae9b-b8fab8df064b",
"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": "f67598e4-2cc9-4756-b1ff-21c7451484cb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c6fe5b86-bf44-4fe9-bb13-a3a9aef39589",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6ee1ea59-30e2-49d7-9b68-94334d128d25",
"CreateDate": "2026-06-01T20:26:57.9660469-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:57.9660469-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "23b3e27f-a991-43c0-8f71-8a8a9952df8f",
"FieldId": "604bcfea-97d6-48ae-9677-40662f7ff6f3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "23b3e27f-a991-43c0-8f71-8a8a9952df8f",
"FieldId": "604bcfea-97d6-48ae-9677-40662f7ff6f3",
"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": "a27d34ae-743d-4fae-ae1c-dedcbd336af6",
"CreateDate": "2026-06-01T20:26:57.9660469-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:57.9660469-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": "7886a8bd-0e88-4496-bdc6-62e101f25bff",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "10f99c78-9300-48fc-82c9-9ae82e30ced4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7e43fdcf-96da-40a3-8195-c0114b778d96",
"CreateDate": "2026-06-01T20:26:57.9660469-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:57.9660469-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-01T20:26:57.9660469-07:00",
"Fields": [
{
"FormTypeFieldId": "746d0270-83d4-4623-a773-0be203cddf10",
"Section": {
"FormTypeSectionId": "883feb34-fec9-451e-bbb7-2c0874b3f8bd",
"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": "8b0e0346-b82c-4914-b21d-a819113703eb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a4c69fbc-85f8-4a40-936a-7036dc4261cc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "26fcaac5-8d23-4a57-867b-50df168435a6",
"CreateDate": "2026-06-01T20:26:57.9660469-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:57.9660469-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0f36963d-5ba2-440c-9a4a-96c5fd17f809",
"FieldId": "1959d52b-3188-4326-9cd7-962cfe5ba98c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0f36963d-5ba2-440c-9a4a-96c5fd17f809",
"FieldId": "1959d52b-3188-4326-9cd7-962cfe5ba98c",
"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": "746d0270-83d4-4623-a773-0be203cddf10",
"Section": {
"FormTypeSectionId": "883feb34-fec9-451e-bbb7-2c0874b3f8bd",
"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": "8b0e0346-b82c-4914-b21d-a819113703eb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a4c69fbc-85f8-4a40-936a-7036dc4261cc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "26fcaac5-8d23-4a57-867b-50df168435a6",
"CreateDate": "2026-06-01T20:26:57.9660469-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:57.9660469-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0f36963d-5ba2-440c-9a4a-96c5fd17f809",
"FieldId": "1959d52b-3188-4326-9cd7-962cfe5ba98c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0f36963d-5ba2-440c-9a4a-96c5fd17f809",
"FieldId": "1959d52b-3188-4326-9cd7-962cfe5ba98c",
"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": "16740fc9-4da7-4160-8c73-a81f26eb4947",
"CreateDate": "2026-06-01T20:26:57.9660469-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:57.9660469-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}