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": "e76d10c2-1a41-4b55-8759-b300a2860082",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b095b1df-1d0c-4a54-b734-159a46eec071",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "71dfb492-555f-4be5-b93b-86cf36e4a510",
"CreateDate": "2026-10-04T02:39:19.7512866-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:39:19.7512866-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-04T02:39:19.7512866-07:00",
"Fields": [
{
"FormTypeFieldId": "bcd3c558-2a42-410f-b2ec-88071d008050",
"Section": {
"FormTypeSectionId": "7bf6088e-a033-4f5e-8a3b-ffd34b3bbb6e",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"EnabledExpression": "sample string 5",
"SourceSystemId": "sample string 6"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "aa1acdaf-9222-4ce7-987f-5bde9e1a2829",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8ca4cc25-f516-40ee-bc29-82c9dea82824",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "86f86a3f-0b61-4a9b-a876-dbef1d7fe35f",
"CreateDate": "2026-10-04T02:39:19.7512866-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:39:19.7512866-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a43319dd-be47-4cf6-8a57-953d57a8bd44",
"FieldId": "65c4e7a4-ed99-49eb-a7f9-a127a8c9c385",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a43319dd-be47-4cf6-8a57-953d57a8bd44",
"FieldId": "65c4e7a4-ed99-49eb-a7f9-a127a8c9c385",
"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",
"EnabledExpression": "sample string 13",
"SourceSystemId": "sample string 14"
},
{
"FormTypeFieldId": "bcd3c558-2a42-410f-b2ec-88071d008050",
"Section": {
"FormTypeSectionId": "7bf6088e-a033-4f5e-8a3b-ffd34b3bbb6e",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"EnabledExpression": "sample string 5",
"SourceSystemId": "sample string 6"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "aa1acdaf-9222-4ce7-987f-5bde9e1a2829",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8ca4cc25-f516-40ee-bc29-82c9dea82824",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "86f86a3f-0b61-4a9b-a876-dbef1d7fe35f",
"CreateDate": "2026-10-04T02:39:19.7512866-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:39:19.7512866-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a43319dd-be47-4cf6-8a57-953d57a8bd44",
"FieldId": "65c4e7a4-ed99-49eb-a7f9-a127a8c9c385",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a43319dd-be47-4cf6-8a57-953d57a8bd44",
"FieldId": "65c4e7a4-ed99-49eb-a7f9-a127a8c9c385",
"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",
"EnabledExpression": "sample string 13",
"SourceSystemId": "sample string 14"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "9c6a60b3-6757-42f2-abdb-a3a36f06ecb8",
"CreateDate": "2026-10-04T02:39:19.7512866-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:39:19.7512866-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": "7399cd37-7c7e-4f0c-ad7f-01c4f80fe208",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "35da63b2-3a0a-4f32-a7db-c0569c7803f4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "74843d40-0f79-41ed-b5c5-c21d2ee74e2e",
"CreateDate": "2026-10-04T02:39:19.7512866-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T02:39:19.7512866-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-04T02:39:19.7512866-07:00",
"Fields": [
{
"FormTypeFieldId": "fbd5c2b1-7426-4910-abbc-f5f4e0480de8",
"Section": {
"FormTypeSectionId": "17ccbe48-be79-49fe-b215-d71a51796480",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"EnabledExpression": "sample string 5",
"SourceSystemId": "sample string 6"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "2fcbbb85-0212-43cb-833c-a72d84469760",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3e051376-666a-41d1-a8c9-3724e7c3e59c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "be0f007a-9d98-4634-8c6c-73d0492d958a",
"CreateDate": "2026-10-04T02:39:19.7512866-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:39:19.7512866-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2d2c902b-b3c8-47b0-b6c8-292c7e470fd0",
"FieldId": "9adfc856-a8a7-4adc-a485-f9c382043e68",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2d2c902b-b3c8-47b0-b6c8-292c7e470fd0",
"FieldId": "9adfc856-a8a7-4adc-a485-f9c382043e68",
"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",
"EnabledExpression": "sample string 13",
"SourceSystemId": "sample string 14"
},
{
"FormTypeFieldId": "fbd5c2b1-7426-4910-abbc-f5f4e0480de8",
"Section": {
"FormTypeSectionId": "17ccbe48-be79-49fe-b215-d71a51796480",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"EnabledExpression": "sample string 5",
"SourceSystemId": "sample string 6"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "2fcbbb85-0212-43cb-833c-a72d84469760",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3e051376-666a-41d1-a8c9-3724e7c3e59c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "be0f007a-9d98-4634-8c6c-73d0492d958a",
"CreateDate": "2026-10-04T02:39:19.7512866-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:39:19.7512866-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2d2c902b-b3c8-47b0-b6c8-292c7e470fd0",
"FieldId": "9adfc856-a8a7-4adc-a485-f9c382043e68",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2d2c902b-b3c8-47b0-b6c8-292c7e470fd0",
"FieldId": "9adfc856-a8a7-4adc-a485-f9c382043e68",
"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",
"EnabledExpression": "sample string 13",
"SourceSystemId": "sample string 14"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "19c34578-2d0a-4858-a4cf-9970e90f858e",
"CreateDate": "2026-10-04T02:39:19.7512866-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:39:19.7512866-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}