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": "65569a4e-b00c-448c-af1a-6518157f9a15",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "fe773a46-e26e-4d13-af45-e529b95e37c5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "505f9065-b204-4c45-845b-e9a468c4d5c6",
"CreateDate": "2026-05-11T11:29:09.5468312-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-11T11:29:09.5468312-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-11T11:29:09.5468312-07:00",
"Fields": [
{
"FormTypeFieldId": "037273a9-1c6b-42aa-b196-f79bb8d5e45d",
"Section": {
"FormTypeSectionId": "d17a7a77-aaae-4977-bffd-8090208018b1",
"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": "c4819e9e-7e07-47c6-9d98-7d9f9933e2fa",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7d4a46b5-9630-427a-86c8-38d49092ce80",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4c567d4c-1bae-4833-bf37-227571c0f1c3",
"CreateDate": "2026-05-11T11:29:09.5468312-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-11T11:29:09.5468312-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7c56d0f4-cca1-4ee7-8a69-7d49453139ff",
"FieldId": "2392c17c-571c-40aa-8981-e818139db4cf",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7c56d0f4-cca1-4ee7-8a69-7d49453139ff",
"FieldId": "2392c17c-571c-40aa-8981-e818139db4cf",
"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": "037273a9-1c6b-42aa-b196-f79bb8d5e45d",
"Section": {
"FormTypeSectionId": "d17a7a77-aaae-4977-bffd-8090208018b1",
"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": "c4819e9e-7e07-47c6-9d98-7d9f9933e2fa",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7d4a46b5-9630-427a-86c8-38d49092ce80",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4c567d4c-1bae-4833-bf37-227571c0f1c3",
"CreateDate": "2026-05-11T11:29:09.5468312-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-11T11:29:09.5468312-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7c56d0f4-cca1-4ee7-8a69-7d49453139ff",
"FieldId": "2392c17c-571c-40aa-8981-e818139db4cf",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7c56d0f4-cca1-4ee7-8a69-7d49453139ff",
"FieldId": "2392c17c-571c-40aa-8981-e818139db4cf",
"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": "121b0197-2331-4cbf-99f2-3f53cb35b3fb",
"CreateDate": "2026-05-11T11:29:09.5468312-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-11T11:29:09.5468312-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": "7ef5019d-671d-4279-a44f-dc1355166b59",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8bb878b0-a5bd-43c7-b3b0-7231cd47ad8f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "22a19f5e-f417-4303-a57e-7bb837c3f6f6",
"CreateDate": "2026-05-11T11:29:09.5468312-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-11T11:29:09.5468312-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-11T11:29:09.5468312-07:00",
"Fields": [
{
"FormTypeFieldId": "f72eddc8-11e3-4ec2-8542-889f945b4ddb",
"Section": {
"FormTypeSectionId": "0dd7dff6-356e-4d41-89ac-a3ceaa9e472f",
"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": "a67cec16-32e5-4ed0-b1b5-f7663881ccfe",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2a2e08bf-a9b1-4129-a94c-3241e92ea01d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f1ab51d6-b530-498c-be1f-2fa45ff58345",
"CreateDate": "2026-05-11T11:29:09.5468312-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-11T11:29:09.5468312-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "30d07473-3e2c-41ea-a301-cc0d5c5ec6af",
"FieldId": "9f7903f9-c36d-40db-a3bd-bca23f409311",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "30d07473-3e2c-41ea-a301-cc0d5c5ec6af",
"FieldId": "9f7903f9-c36d-40db-a3bd-bca23f409311",
"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": "f72eddc8-11e3-4ec2-8542-889f945b4ddb",
"Section": {
"FormTypeSectionId": "0dd7dff6-356e-4d41-89ac-a3ceaa9e472f",
"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": "a67cec16-32e5-4ed0-b1b5-f7663881ccfe",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2a2e08bf-a9b1-4129-a94c-3241e92ea01d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f1ab51d6-b530-498c-be1f-2fa45ff58345",
"CreateDate": "2026-05-11T11:29:09.5468312-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-11T11:29:09.5468312-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "30d07473-3e2c-41ea-a301-cc0d5c5ec6af",
"FieldId": "9f7903f9-c36d-40db-a3bd-bca23f409311",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "30d07473-3e2c-41ea-a301-cc0d5c5ec6af",
"FieldId": "9f7903f9-c36d-40db-a3bd-bca23f409311",
"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": "d2d60176-d538-4106-8bcd-67e89ea24573",
"CreateDate": "2026-05-11T11:29:09.5468312-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-11T11:29:09.5468312-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}