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": "c52227fe-d271-48e6-9781-6a43e5fcbdc4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7a94d952-3964-482a-8a25-7fd0252bb796",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5c02a791-87f8-44cf-a2cd-e12b34814d1e",
"CreateDate": "2026-12-02T01:06:03.8633367-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-02T01:06:03.8633367-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-12-02T01:06:03.8633367-08:00",
"Fields": [
{
"FormTypeFieldId": "7c0a2bb0-9137-46fd-bfa2-d5015655a9c1",
"Section": {
"FormTypeSectionId": "0b60bf91-7baf-42c3-8b89-1b1c4ad4d13d",
"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": "26b48496-541c-4778-9bd6-b5b968522127",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "812c5804-bf15-4057-ab4d-23906c8eaf1d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "69b0838f-2bb5-4d75-979e-d6bf5814e3d1",
"CreateDate": "2026-12-02T01:06:03.8633367-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-02T01:06:03.8633367-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5cd08a40-1b6e-469a-a2c6-ebddddf115a1",
"FieldId": "9f51a141-bffb-48cb-ab36-ec01b5887045",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5cd08a40-1b6e-469a-a2c6-ebddddf115a1",
"FieldId": "9f51a141-bffb-48cb-ab36-ec01b5887045",
"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": "7c0a2bb0-9137-46fd-bfa2-d5015655a9c1",
"Section": {
"FormTypeSectionId": "0b60bf91-7baf-42c3-8b89-1b1c4ad4d13d",
"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": "26b48496-541c-4778-9bd6-b5b968522127",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "812c5804-bf15-4057-ab4d-23906c8eaf1d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "69b0838f-2bb5-4d75-979e-d6bf5814e3d1",
"CreateDate": "2026-12-02T01:06:03.8633367-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-02T01:06:03.8633367-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5cd08a40-1b6e-469a-a2c6-ebddddf115a1",
"FieldId": "9f51a141-bffb-48cb-ab36-ec01b5887045",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5cd08a40-1b6e-469a-a2c6-ebddddf115a1",
"FieldId": "9f51a141-bffb-48cb-ab36-ec01b5887045",
"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": "349c50ee-3532-4479-b6ec-a52d6cbdc279",
"CreateDate": "2026-12-02T01:06:03.8633367-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-02T01:06:03.8633367-08: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": "a81d0be1-103c-412b-8974-3d1bb8d1b289",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "36b615d4-d128-4ada-b1b0-f56cf592d880",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0ab82a4a-703a-4d7c-b2eb-adb6cac8c531",
"CreateDate": "2026-12-02T01:06:03.8633367-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-12-02T01:06:03.8633367-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-12-02T01:06:03.8633367-08:00",
"Fields": [
{
"FormTypeFieldId": "cb5b9c6f-3b23-4af5-9627-65f371402bde",
"Section": {
"FormTypeSectionId": "76aaa88f-e098-4764-96b5-11c32df7bafc",
"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": "23a12bb1-b7fb-433f-b313-e43c642d8eea",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0ad2af60-9c06-4235-9ac5-47ef4eed92f5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c7588b88-ce2d-4897-b0a4-b3c5b1fbb6f2",
"CreateDate": "2026-12-02T01:06:03.8633367-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-02T01:06:03.8633367-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2b8ea9bd-dda7-48ae-b91f-f0c7660c70b0",
"FieldId": "3bc5e582-a7ba-44e9-a569-2607eef00ba7",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2b8ea9bd-dda7-48ae-b91f-f0c7660c70b0",
"FieldId": "3bc5e582-a7ba-44e9-a569-2607eef00ba7",
"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": "cb5b9c6f-3b23-4af5-9627-65f371402bde",
"Section": {
"FormTypeSectionId": "76aaa88f-e098-4764-96b5-11c32df7bafc",
"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": "23a12bb1-b7fb-433f-b313-e43c642d8eea",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0ad2af60-9c06-4235-9ac5-47ef4eed92f5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c7588b88-ce2d-4897-b0a4-b3c5b1fbb6f2",
"CreateDate": "2026-12-02T01:06:03.8633367-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-02T01:06:03.8633367-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2b8ea9bd-dda7-48ae-b91f-f0c7660c70b0",
"FieldId": "3bc5e582-a7ba-44e9-a569-2607eef00ba7",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2b8ea9bd-dda7-48ae-b91f-f0c7660c70b0",
"FieldId": "3bc5e582-a7ba-44e9-a569-2607eef00ba7",
"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": "872b3350-20bd-47fa-8e63-1f989a50619f",
"CreateDate": "2026-12-02T01:06:03.8633367-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-02T01:06:03.8633367-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}