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": "1cd0dcff-dcb8-4c79-a4f1-f8db788d86ec",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ad3b8e16-1411-4e76-90c9-6448e5818e1b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d202041f-20c2-4a20-9214-c65fabd41b0d",
"CreateDate": "2025-12-14T08:02:08.5217942-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T08:02:08.5217942-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-14T08:02:08.5217942-08:00",
"Fields": [
{
"FormTypeFieldId": "31204180-5189-4fba-a926-7a0965707068",
"Section": {
"FormTypeSectionId": "f87b3273-d9b9-4474-a1f1-8d8bee95a81d",
"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": "a4585d74-b1c1-4acb-9998-0ceb9b6b4318",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dd10f3c7-3eea-4137-906b-e3ddd54ef956",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8fbfb068-723f-4197-a9e6-de780d74b2df",
"CreateDate": "2025-12-14T08:02:08.5217942-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-14T08:02:08.5217942-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5f8a9610-1e91-433b-b732-da7b9888fea9",
"FieldId": "bb39e354-650e-4b37-904b-bacce5b4c990",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5f8a9610-1e91-433b-b732-da7b9888fea9",
"FieldId": "bb39e354-650e-4b37-904b-bacce5b4c990",
"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": "31204180-5189-4fba-a926-7a0965707068",
"Section": {
"FormTypeSectionId": "f87b3273-d9b9-4474-a1f1-8d8bee95a81d",
"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": "a4585d74-b1c1-4acb-9998-0ceb9b6b4318",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dd10f3c7-3eea-4137-906b-e3ddd54ef956",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8fbfb068-723f-4197-a9e6-de780d74b2df",
"CreateDate": "2025-12-14T08:02:08.5217942-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-14T08:02:08.5217942-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5f8a9610-1e91-433b-b732-da7b9888fea9",
"FieldId": "bb39e354-650e-4b37-904b-bacce5b4c990",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5f8a9610-1e91-433b-b732-da7b9888fea9",
"FieldId": "bb39e354-650e-4b37-904b-bacce5b4c990",
"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": "962df4e4-e9f3-41b0-a4c7-55ef7c722dbf",
"CreateDate": "2025-12-14T08:02:08.5217942-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-14T08:02:08.5217942-08: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": "48d9bbcb-fe1b-4083-ae43-7d0e2bacef33",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a43dd03e-ae88-4b92-85b6-32ef312deb53",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "656c39d0-1475-4c8b-813b-70c709ddab88",
"CreateDate": "2025-12-14T08:02:08.5217942-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T08:02:08.5217942-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-14T08:02:08.5217942-08:00",
"Fields": [
{
"FormTypeFieldId": "872c8e4a-e467-43f7-aad0-710fe0de6939",
"Section": {
"FormTypeSectionId": "6eecff2f-bc63-4de8-a7bf-29018fdc6598",
"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": "65b30be7-8563-4fe9-ae36-06f9360e476f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e4b16071-1153-4fc1-8f60-c882a67e4532",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d9382f5c-7ac4-4ccf-9d9f-dc2d88e2de01",
"CreateDate": "2025-12-14T08:02:08.5217942-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-14T08:02:08.5217942-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6c8d05aa-1a0e-4ae0-bb79-ee8580ed9714",
"FieldId": "46a036f6-d1cb-4c2b-a5a5-623656221d87",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6c8d05aa-1a0e-4ae0-bb79-ee8580ed9714",
"FieldId": "46a036f6-d1cb-4c2b-a5a5-623656221d87",
"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": "872c8e4a-e467-43f7-aad0-710fe0de6939",
"Section": {
"FormTypeSectionId": "6eecff2f-bc63-4de8-a7bf-29018fdc6598",
"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": "65b30be7-8563-4fe9-ae36-06f9360e476f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e4b16071-1153-4fc1-8f60-c882a67e4532",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d9382f5c-7ac4-4ccf-9d9f-dc2d88e2de01",
"CreateDate": "2025-12-14T08:02:08.5217942-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-14T08:02:08.5217942-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6c8d05aa-1a0e-4ae0-bb79-ee8580ed9714",
"FieldId": "46a036f6-d1cb-4c2b-a5a5-623656221d87",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6c8d05aa-1a0e-4ae0-bb79-ee8580ed9714",
"FieldId": "46a036f6-d1cb-4c2b-a5a5-623656221d87",
"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": "d7dff7a3-ed34-41c7-b7b1-51225035f3fb",
"CreateDate": "2025-12-14T08:02:08.5217942-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-14T08:02:08.5217942-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}