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": "faa182d1-6663-4daf-a417-152369ae7600",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "72986de1-4348-40d0-a35f-b26c41179e03",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2f2c2998-6e57-4585-9bcf-2d7802c0342a",
"CreateDate": "2026-09-21T19:19:02.0860302-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T19:19:02.0860302-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-21T19:19:02.0860302-07:00",
"Fields": [
{
"FormTypeFieldId": "d0e7e85d-4312-4ff0-8e3a-2d6651f0b8d9",
"Section": {
"FormTypeSectionId": "cca8800f-5765-4405-ac21-e1d18e1bdfac",
"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": "62f5b2f8-2ba3-4ddd-b15f-3e8d0972194d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1f6dbb7c-7466-4209-8f86-4cdbab03dcbd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "08ca9fba-f134-4262-8715-4368747f6cad",
"CreateDate": "2026-09-21T19:19:02.0860302-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T19:19:02.0860302-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "845c0868-f6cb-4d52-bc89-c9f537b4e1fd",
"FieldId": "050f9995-c0ce-4a95-8e48-e83efac62973",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "845c0868-f6cb-4d52-bc89-c9f537b4e1fd",
"FieldId": "050f9995-c0ce-4a95-8e48-e83efac62973",
"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": "d0e7e85d-4312-4ff0-8e3a-2d6651f0b8d9",
"Section": {
"FormTypeSectionId": "cca8800f-5765-4405-ac21-e1d18e1bdfac",
"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": "62f5b2f8-2ba3-4ddd-b15f-3e8d0972194d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1f6dbb7c-7466-4209-8f86-4cdbab03dcbd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "08ca9fba-f134-4262-8715-4368747f6cad",
"CreateDate": "2026-09-21T19:19:02.0860302-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T19:19:02.0860302-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "845c0868-f6cb-4d52-bc89-c9f537b4e1fd",
"FieldId": "050f9995-c0ce-4a95-8e48-e83efac62973",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "845c0868-f6cb-4d52-bc89-c9f537b4e1fd",
"FieldId": "050f9995-c0ce-4a95-8e48-e83efac62973",
"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": "1a367d69-6b13-4db3-91a6-2fe083a161d3",
"CreateDate": "2026-09-21T19:19:02.0860302-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T19:19:02.0860302-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": "452b183a-384f-4f2c-b4e0-3440557a9146",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "340c91f4-8c68-404b-bcf7-ab91ca72361f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "51507c5d-716f-4424-a279-f1c5417abfc6",
"CreateDate": "2026-09-21T19:19:02.1016441-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T19:19:02.1016441-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-21T19:19:02.1016441-07:00",
"Fields": [
{
"FormTypeFieldId": "b9e9bfeb-44ac-4e14-8522-c2304ca34819",
"Section": {
"FormTypeSectionId": "4c02042d-c091-4777-baae-2888064e5e73",
"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": "4cef30f4-a161-4331-ac35-9116a1167f1c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3da6ddb9-ba70-42a6-a4ec-b4346fcd1cd5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1f1065a8-d31e-4a45-8159-b601f98fc595",
"CreateDate": "2026-09-21T19:19:02.1016441-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T19:19:02.1016441-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e1da2c53-21cf-45cd-8a0d-7029adc31e3e",
"FieldId": "0124b3b3-7767-426f-ab04-00a58c354297",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e1da2c53-21cf-45cd-8a0d-7029adc31e3e",
"FieldId": "0124b3b3-7767-426f-ab04-00a58c354297",
"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": "b9e9bfeb-44ac-4e14-8522-c2304ca34819",
"Section": {
"FormTypeSectionId": "4c02042d-c091-4777-baae-2888064e5e73",
"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": "4cef30f4-a161-4331-ac35-9116a1167f1c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3da6ddb9-ba70-42a6-a4ec-b4346fcd1cd5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1f1065a8-d31e-4a45-8159-b601f98fc595",
"CreateDate": "2026-09-21T19:19:02.1016441-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T19:19:02.1016441-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e1da2c53-21cf-45cd-8a0d-7029adc31e3e",
"FieldId": "0124b3b3-7767-426f-ab04-00a58c354297",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e1da2c53-21cf-45cd-8a0d-7029adc31e3e",
"FieldId": "0124b3b3-7767-426f-ab04-00a58c354297",
"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": "405618e2-ae65-4a88-b01f-c48098016c4e",
"CreateDate": "2026-09-21T19:19:02.1016441-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T19:19:02.1016441-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}