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": "befc0d7d-3395-44d1-9972-609f055be3fa",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d7c56faf-eb27-414b-888d-39b5d0674404",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "20e3906c-e402-4a0a-b297-47b01d1b02cd",
"CreateDate": "2026-06-22T01:36:44.6879552-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:36:44.6879552-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-22T01:36:44.6879552-07:00",
"Fields": [
{
"FormTypeFieldId": "83cca7f6-73bc-42e7-9bfb-68bdf2fe37fb",
"Section": {
"FormTypeSectionId": "9526cdbf-95f0-4798-8a56-f487f1cc0b45",
"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": "1b92d68c-bc5f-49ff-a6f8-7e83ba00cdbd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7fc50ea9-bade-4c70-9168-8d7c3e612d95",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "49265588-62f1-4081-a11e-a140e96e1353",
"CreateDate": "2026-06-22T01:36:44.7034604-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:36:44.7034604-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "46395df6-13fd-4898-8376-1960cd8a3781",
"FieldId": "3e0e139a-9e32-43f6-b2b1-a71f3980b67f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "46395df6-13fd-4898-8376-1960cd8a3781",
"FieldId": "3e0e139a-9e32-43f6-b2b1-a71f3980b67f",
"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": "83cca7f6-73bc-42e7-9bfb-68bdf2fe37fb",
"Section": {
"FormTypeSectionId": "9526cdbf-95f0-4798-8a56-f487f1cc0b45",
"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": "1b92d68c-bc5f-49ff-a6f8-7e83ba00cdbd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7fc50ea9-bade-4c70-9168-8d7c3e612d95",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "49265588-62f1-4081-a11e-a140e96e1353",
"CreateDate": "2026-06-22T01:36:44.7034604-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:36:44.7034604-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "46395df6-13fd-4898-8376-1960cd8a3781",
"FieldId": "3e0e139a-9e32-43f6-b2b1-a71f3980b67f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "46395df6-13fd-4898-8376-1960cd8a3781",
"FieldId": "3e0e139a-9e32-43f6-b2b1-a71f3980b67f",
"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": "a97f36d2-b58a-40b3-aca2-22978e18e33e",
"CreateDate": "2026-06-22T01:36:44.7034604-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:36:44.7034604-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": "ca734ce8-6835-4901-9034-91818a1bf038",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "dbaa3527-97bc-485c-863a-0414eb121b8e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ee5602fc-331d-4f95-814f-06dd09ed5374",
"CreateDate": "2026-06-22T01:36:44.7034604-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:36:44.7034604-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-22T01:36:44.7034604-07:00",
"Fields": [
{
"FormTypeFieldId": "59ecf48a-7da4-4bea-87a1-237e565f9c26",
"Section": {
"FormTypeSectionId": "3baade57-abb5-4a3f-876c-ba4526f9448a",
"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": "135de1fe-d996-4bec-af38-915e1c887562",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ef499411-aadd-4909-bcab-318d4721ccdf",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9fff567f-56a7-429a-9939-89c5d06f4977",
"CreateDate": "2026-06-22T01:36:44.7034604-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:36:44.7034604-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "53df66b9-4114-4f74-9ced-41de976cae49",
"FieldId": "d32cbe83-bbed-4b8a-8628-c183a76917e5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "53df66b9-4114-4f74-9ced-41de976cae49",
"FieldId": "d32cbe83-bbed-4b8a-8628-c183a76917e5",
"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": "59ecf48a-7da4-4bea-87a1-237e565f9c26",
"Section": {
"FormTypeSectionId": "3baade57-abb5-4a3f-876c-ba4526f9448a",
"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": "135de1fe-d996-4bec-af38-915e1c887562",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ef499411-aadd-4909-bcab-318d4721ccdf",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9fff567f-56a7-429a-9939-89c5d06f4977",
"CreateDate": "2026-06-22T01:36:44.7034604-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:36:44.7034604-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "53df66b9-4114-4f74-9ced-41de976cae49",
"FieldId": "d32cbe83-bbed-4b8a-8628-c183a76917e5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "53df66b9-4114-4f74-9ced-41de976cae49",
"FieldId": "d32cbe83-bbed-4b8a-8628-c183a76917e5",
"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": "5090e79f-78ec-4c9e-803b-a7f76b10c2b7",
"CreateDate": "2026-06-22T01:36:44.7034604-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:36:44.7034604-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}