PUT FormTypes
Updates the given form type.
Request Information
URI Parameters
None.
Body Parameters
Form type to update
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": "a18668bb-130a-4763-ad3c-bb2b3b5f4a20",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ad551b4b-5491-41aa-9d5b-5f92b24f90bb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "83a2ee27-694b-4e1e-9548-499dc9e55b0f",
"CreateDate": "2026-04-18T04:55:38.8698266-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:55:38.8698266-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-18T04:55:38.8698266-07:00",
"Fields": [
{
"FormTypeFieldId": "4b6640ac-5e06-4367-a471-613c6d8ec504",
"Section": {
"FormTypeSectionId": "5f37b631-71b0-43f3-b7ce-de2cebb52bf3",
"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": "ab77b830-dd5e-40e7-adb2-69dff326bbe2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b2db4bf8-12c6-42a3-bab8-a4017ecdeb97",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5357e0f6-308f-4ca8-a69a-9df261720e6a",
"CreateDate": "2026-04-18T04:55:38.8698266-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:55:38.8698266-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4cfc7da1-ac52-49fc-a232-d02518446b8f",
"FieldId": "a7f3ab2e-5093-446c-983e-f9217c104404",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4cfc7da1-ac52-49fc-a232-d02518446b8f",
"FieldId": "a7f3ab2e-5093-446c-983e-f9217c104404",
"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": "4b6640ac-5e06-4367-a471-613c6d8ec504",
"Section": {
"FormTypeSectionId": "5f37b631-71b0-43f3-b7ce-de2cebb52bf3",
"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": "ab77b830-dd5e-40e7-adb2-69dff326bbe2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b2db4bf8-12c6-42a3-bab8-a4017ecdeb97",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5357e0f6-308f-4ca8-a69a-9df261720e6a",
"CreateDate": "2026-04-18T04:55:38.8698266-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:55:38.8698266-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4cfc7da1-ac52-49fc-a232-d02518446b8f",
"FieldId": "a7f3ab2e-5093-446c-983e-f9217c104404",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4cfc7da1-ac52-49fc-a232-d02518446b8f",
"FieldId": "a7f3ab2e-5093-446c-983e-f9217c104404",
"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": "7cce7a9b-f97c-4be3-b615-eda04af3b1f3",
"CreateDate": "2026-04-18T04:55:38.8698266-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:55:38.8698266-07:00",
"LastModifiedUser": "sample string 6"
}
Response Information
Resource Description
On success, the updated 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": "c5775717-3890-4ca6-8e1f-6bec1404ff80",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "dcb14896-cca4-4bf9-8646-0edcdb1b9a95",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "352096e6-a823-44c5-b8b8-7fde0c9abec4",
"CreateDate": "2026-04-18T04:55:38.8698266-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:55:38.8698266-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-18T04:55:38.8698266-07:00",
"Fields": [
{
"FormTypeFieldId": "87625c73-279e-4e18-8875-07d6dbeda47d",
"Section": {
"FormTypeSectionId": "ea89e0e4-c359-45e2-a460-6a55334a3ef9",
"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": "1c7ae21c-40cd-42bd-aa7e-9b10e972ab12",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8db24715-cd63-49d3-b26f-faa227c52757",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ee97673e-81c6-4741-8057-1cd2241df2cb",
"CreateDate": "2026-04-18T04:55:38.8698266-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:55:38.8698266-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "40b11da1-17a9-4ac9-8c62-203c141381eb",
"FieldId": "3f49f931-f694-46e8-aa04-f6b1b2bfc2a1",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "40b11da1-17a9-4ac9-8c62-203c141381eb",
"FieldId": "3f49f931-f694-46e8-aa04-f6b1b2bfc2a1",
"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": "87625c73-279e-4e18-8875-07d6dbeda47d",
"Section": {
"FormTypeSectionId": "ea89e0e4-c359-45e2-a460-6a55334a3ef9",
"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": "1c7ae21c-40cd-42bd-aa7e-9b10e972ab12",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8db24715-cd63-49d3-b26f-faa227c52757",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ee97673e-81c6-4741-8057-1cd2241df2cb",
"CreateDate": "2026-04-18T04:55:38.8698266-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:55:38.8698266-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "40b11da1-17a9-4ac9-8c62-203c141381eb",
"FieldId": "3f49f931-f694-46e8-aa04-f6b1b2bfc2a1",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "40b11da1-17a9-4ac9-8c62-203c141381eb",
"FieldId": "3f49f931-f694-46e8-aa04-f6b1b2bfc2a1",
"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": "445f128a-4487-4f7f-9d9c-2f879cf3f4cf",
"CreateDate": "2026-04-18T04:55:38.8698266-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:55:38.8698266-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}