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": "63a833ee-c287-455c-a494-ad87c37bd3bd",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2648661d-5a07-4c33-9818-67b6fc635cf6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b85b5e50-7a13-4da2-8543-6fc67232d9cf",
"CreateDate": "2026-08-04T17:24:58.9189027-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:24:58.9189027-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-04T17:24:58.9189027-07:00",
"Fields": [
{
"FormTypeFieldId": "89ba3a62-81d8-43b5-b050-5a31a0a0ab00",
"Section": {
"FormTypeSectionId": "183b5374-8d68-40bc-bcdf-12d82255b2f5",
"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": "bd3120e6-4107-4fd7-8b4e-05bf092d7902",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fb63ae9e-4896-4db0-abee-b4223730946e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3d74652d-fab8-4f27-b907-75137add0c70",
"CreateDate": "2026-08-04T17:24:58.9189027-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:24:58.9189027-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "515a5fbd-f0d4-4ad4-952d-4dc1d2a30e90",
"FieldId": "b951e17b-2826-42f6-8c8a-38c5e947adb3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "515a5fbd-f0d4-4ad4-952d-4dc1d2a30e90",
"FieldId": "b951e17b-2826-42f6-8c8a-38c5e947adb3",
"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": "89ba3a62-81d8-43b5-b050-5a31a0a0ab00",
"Section": {
"FormTypeSectionId": "183b5374-8d68-40bc-bcdf-12d82255b2f5",
"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": "bd3120e6-4107-4fd7-8b4e-05bf092d7902",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fb63ae9e-4896-4db0-abee-b4223730946e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3d74652d-fab8-4f27-b907-75137add0c70",
"CreateDate": "2026-08-04T17:24:58.9189027-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:24:58.9189027-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "515a5fbd-f0d4-4ad4-952d-4dc1d2a30e90",
"FieldId": "b951e17b-2826-42f6-8c8a-38c5e947adb3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "515a5fbd-f0d4-4ad4-952d-4dc1d2a30e90",
"FieldId": "b951e17b-2826-42f6-8c8a-38c5e947adb3",
"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": "91cc7fd0-3ab9-4b4c-b6c9-c4121ea02303",
"CreateDate": "2026-08-04T17:24:58.9189027-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:24:58.9189027-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": "fe1bf320-b49e-4126-a743-3e883bf4afcc",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4dc3ca87-4af9-4cb4-ba02-f2ded6d8e5ea",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "528a01dd-d287-4663-aec6-900b2b7195e5",
"CreateDate": "2026-08-04T17:24:58.9189027-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:24:58.9189027-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-04T17:24:58.9189027-07:00",
"Fields": [
{
"FormTypeFieldId": "eb32c479-f718-4ef0-a470-b4cfd68cef4d",
"Section": {
"FormTypeSectionId": "ff5e8d15-02ca-4825-9659-0d00dd0a5cf4",
"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": "8a722c00-d862-4d07-ba83-4315a50c3df4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b4fd36cb-2f27-4660-95a8-414f0d342e46",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "58329122-26bc-4a45-8126-f6b840c19240",
"CreateDate": "2026-08-04T17:24:58.9189027-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:24:58.9189027-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bf5fe24e-b884-4a24-8008-f42945e7ce04",
"FieldId": "f22d5e62-b126-492d-8374-840887f850e3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bf5fe24e-b884-4a24-8008-f42945e7ce04",
"FieldId": "f22d5e62-b126-492d-8374-840887f850e3",
"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": "eb32c479-f718-4ef0-a470-b4cfd68cef4d",
"Section": {
"FormTypeSectionId": "ff5e8d15-02ca-4825-9659-0d00dd0a5cf4",
"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": "8a722c00-d862-4d07-ba83-4315a50c3df4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b4fd36cb-2f27-4660-95a8-414f0d342e46",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "58329122-26bc-4a45-8126-f6b840c19240",
"CreateDate": "2026-08-04T17:24:58.9189027-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:24:58.9189027-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bf5fe24e-b884-4a24-8008-f42945e7ce04",
"FieldId": "f22d5e62-b126-492d-8374-840887f850e3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bf5fe24e-b884-4a24-8008-f42945e7ce04",
"FieldId": "f22d5e62-b126-492d-8374-840887f850e3",
"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": "72b56442-bbbc-4e2f-bcc4-24a03b840b7d",
"CreateDate": "2026-08-04T17:24:58.9189027-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:24:58.9189027-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}