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": "d69bac77-c4ff-4eda-ac6d-7120f475984f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "5f4cecbb-bc84-420f-832d-2019b9bd5e11",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8f697b8b-055c-4586-816b-dd280d622706",
"CreateDate": "2026-03-30T12:49:16.7925201-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T12:49:16.7925201-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-30T12:49:16.7925201-07:00",
"Fields": [
{
"FormTypeFieldId": "f66b6902-3681-44bf-b57c-21c9328c4217",
"Section": {
"FormTypeSectionId": "331db1a4-6b6c-4d23-9a33-54ba7f84bdc2",
"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": "96a96ea7-b9b7-49f4-809f-aea2989e81f5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "345bad41-267d-4517-9bb8-e5fa4b1f06ac",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "58f59766-e173-460e-bf28-b7f898d93e02",
"CreateDate": "2026-03-30T12:49:16.7925201-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T12:49:16.7925201-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3c8cfe12-b675-41ad-bf42-a91eb0c4124b",
"FieldId": "5b0a6cd6-92f0-45cc-8e30-204e4ff88b8a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3c8cfe12-b675-41ad-bf42-a91eb0c4124b",
"FieldId": "5b0a6cd6-92f0-45cc-8e30-204e4ff88b8a",
"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": "f66b6902-3681-44bf-b57c-21c9328c4217",
"Section": {
"FormTypeSectionId": "331db1a4-6b6c-4d23-9a33-54ba7f84bdc2",
"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": "96a96ea7-b9b7-49f4-809f-aea2989e81f5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "345bad41-267d-4517-9bb8-e5fa4b1f06ac",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "58f59766-e173-460e-bf28-b7f898d93e02",
"CreateDate": "2026-03-30T12:49:16.7925201-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T12:49:16.7925201-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3c8cfe12-b675-41ad-bf42-a91eb0c4124b",
"FieldId": "5b0a6cd6-92f0-45cc-8e30-204e4ff88b8a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3c8cfe12-b675-41ad-bf42-a91eb0c4124b",
"FieldId": "5b0a6cd6-92f0-45cc-8e30-204e4ff88b8a",
"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": "5dfe36b6-e6d3-46b3-815c-025398ee142f",
"CreateDate": "2026-03-30T12:49:16.7925201-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T12:49:16.7925201-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": "f1823fc4-d07f-48a9-a1ea-197eed06374d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9efb28fc-aabf-4a80-9cd5-f1be834ce383",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0a281c5f-d840-47f7-92e5-7f5137ab3d20",
"CreateDate": "2026-03-30T12:49:16.7925201-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T12:49:16.7925201-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-30T12:49:16.7925201-07:00",
"Fields": [
{
"FormTypeFieldId": "d0047b8a-5c14-4211-a28e-949b688c7bf4",
"Section": {
"FormTypeSectionId": "3b92789b-7653-4a11-9d0d-ea82271a459d",
"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": "366411e7-6326-42f2-833c-4c13862c7de5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d19e76b5-e0d8-4fb2-9775-ce6ab37879b4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b13f8817-fc08-465e-850a-f353790e6226",
"CreateDate": "2026-03-30T12:49:16.7925201-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T12:49:16.7925201-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b380c8a5-79a3-45d0-806a-ba4c1697af9d",
"FieldId": "d9c23cb3-7bd3-448e-b70d-9d9c51bf62ff",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b380c8a5-79a3-45d0-806a-ba4c1697af9d",
"FieldId": "d9c23cb3-7bd3-448e-b70d-9d9c51bf62ff",
"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": "d0047b8a-5c14-4211-a28e-949b688c7bf4",
"Section": {
"FormTypeSectionId": "3b92789b-7653-4a11-9d0d-ea82271a459d",
"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": "366411e7-6326-42f2-833c-4c13862c7de5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d19e76b5-e0d8-4fb2-9775-ce6ab37879b4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b13f8817-fc08-465e-850a-f353790e6226",
"CreateDate": "2026-03-30T12:49:16.7925201-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T12:49:16.7925201-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b380c8a5-79a3-45d0-806a-ba4c1697af9d",
"FieldId": "d9c23cb3-7bd3-448e-b70d-9d9c51bf62ff",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b380c8a5-79a3-45d0-806a-ba4c1697af9d",
"FieldId": "d9c23cb3-7bd3-448e-b70d-9d9c51bf62ff",
"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": "3d522309-9382-49c0-af31-6eedf8fe6054",
"CreateDate": "2026-03-30T12:49:16.7925201-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T12:49:16.7925201-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}