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": "04230964-6bab-4fe5-8410-26184960da2a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c7d9f085-2c5d-42ce-a773-1f00f8f7c828",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f4bb7cac-3b22-4c67-90e4-d671f1ad42e9",
"CreateDate": "2026-09-13T23:36:33.5626626-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:36:33.5626626-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-13T23:36:33.5626626-07:00",
"Fields": [
{
"FormTypeFieldId": "f836275d-9c7f-482b-89e5-f198270bd97a",
"Section": {
"FormTypeSectionId": "3be55e13-d0e7-4644-932d-09996eaadbe2",
"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": "e274b511-07aa-4609-ae4c-c75d35591692",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "47b1fc4c-1dd0-40b0-a653-fe5ba616c74b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e7857925-070f-43d9-8c2c-18b726086b6f",
"CreateDate": "2026-09-13T23:36:33.5626626-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:36:33.5626626-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c2913e56-bf0f-4898-ae22-d795912a3f0f",
"FieldId": "6efd25b6-f137-477c-9071-b6064cb89756",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c2913e56-bf0f-4898-ae22-d795912a3f0f",
"FieldId": "6efd25b6-f137-477c-9071-b6064cb89756",
"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": "f836275d-9c7f-482b-89e5-f198270bd97a",
"Section": {
"FormTypeSectionId": "3be55e13-d0e7-4644-932d-09996eaadbe2",
"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": "e274b511-07aa-4609-ae4c-c75d35591692",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "47b1fc4c-1dd0-40b0-a653-fe5ba616c74b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e7857925-070f-43d9-8c2c-18b726086b6f",
"CreateDate": "2026-09-13T23:36:33.5626626-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:36:33.5626626-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c2913e56-bf0f-4898-ae22-d795912a3f0f",
"FieldId": "6efd25b6-f137-477c-9071-b6064cb89756",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c2913e56-bf0f-4898-ae22-d795912a3f0f",
"FieldId": "6efd25b6-f137-477c-9071-b6064cb89756",
"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": "0e563da0-71c3-4e48-9c06-a2f75af4f927",
"CreateDate": "2026-09-13T23:36:33.5626626-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:36:33.5626626-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": "219d3f52-771d-4e7c-a78d-c385ff75c7bc",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "617c14e3-4585-46c3-bf72-50b5d3338043",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8e74278a-6de6-417e-9fde-71119c5434b7",
"CreateDate": "2026-09-13T23:36:33.5626626-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:36:33.5626626-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-13T23:36:33.5626626-07:00",
"Fields": [
{
"FormTypeFieldId": "c67150a0-72c1-4bcf-a05f-ae869720492b",
"Section": {
"FormTypeSectionId": "6fa88569-6117-4d7c-a8f5-2cb423b17fbd",
"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": "69b5e078-735c-4519-84f1-30ddb5431fe8",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a1a4e7ed-6ab7-43c3-8b0e-cbcd6fda9d90",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3a246c7b-0dfb-464f-a954-f2eec1ab4cc9",
"CreateDate": "2026-09-13T23:36:33.5626626-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:36:33.5626626-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "aeb96847-a494-4c68-b981-75bf2591d125",
"FieldId": "50e3323b-108b-4acf-acb9-a6b797bec3bb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "aeb96847-a494-4c68-b981-75bf2591d125",
"FieldId": "50e3323b-108b-4acf-acb9-a6b797bec3bb",
"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": "c67150a0-72c1-4bcf-a05f-ae869720492b",
"Section": {
"FormTypeSectionId": "6fa88569-6117-4d7c-a8f5-2cb423b17fbd",
"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": "69b5e078-735c-4519-84f1-30ddb5431fe8",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a1a4e7ed-6ab7-43c3-8b0e-cbcd6fda9d90",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3a246c7b-0dfb-464f-a954-f2eec1ab4cc9",
"CreateDate": "2026-09-13T23:36:33.5626626-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:36:33.5626626-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "aeb96847-a494-4c68-b981-75bf2591d125",
"FieldId": "50e3323b-108b-4acf-acb9-a6b797bec3bb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "aeb96847-a494-4c68-b981-75bf2591d125",
"FieldId": "50e3323b-108b-4acf-acb9-a6b797bec3bb",
"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": "17ce3ba2-85ec-48bf-aaec-7d98c13292f6",
"CreateDate": "2026-09-13T23:36:33.5626626-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:36:33.5626626-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}