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": "4076e62a-04d4-4f04-93a0-22166d23f89d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ed6564e2-8f65-4337-b0f9-3ecfe1b4abe5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ed47858d-df35-4c4b-b41e-dceb798f6abc",
"CreateDate": "2026-03-24T12:46:13.2793527-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-24T12:46:13.2793527-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-24T12:46:13.2793527-07:00",
"Fields": [
{
"FormTypeFieldId": "28cedadc-a40d-4071-a000-2786f50f4b6d",
"Section": {
"FormTypeSectionId": "ae45c1f8-0635-4c42-8a7e-76fdb984d4ed",
"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": "6fac6505-4aa1-4c2f-b070-d9a55a10e6a1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "646e8c9e-ec9c-48e9-8e86-263b42f7f61a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "845743f7-be6a-4261-974b-a07de2862ccc",
"CreateDate": "2026-03-24T12:46:13.2949745-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T12:46:13.2949745-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1e59a0f9-562b-42f5-ab61-76ba4a5ae1f3",
"FieldId": "d47fe60b-ab23-4566-a72e-5f15ed0f376f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1e59a0f9-562b-42f5-ab61-76ba4a5ae1f3",
"FieldId": "d47fe60b-ab23-4566-a72e-5f15ed0f376f",
"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": "28cedadc-a40d-4071-a000-2786f50f4b6d",
"Section": {
"FormTypeSectionId": "ae45c1f8-0635-4c42-8a7e-76fdb984d4ed",
"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": "6fac6505-4aa1-4c2f-b070-d9a55a10e6a1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "646e8c9e-ec9c-48e9-8e86-263b42f7f61a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "845743f7-be6a-4261-974b-a07de2862ccc",
"CreateDate": "2026-03-24T12:46:13.2949745-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T12:46:13.2949745-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1e59a0f9-562b-42f5-ab61-76ba4a5ae1f3",
"FieldId": "d47fe60b-ab23-4566-a72e-5f15ed0f376f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1e59a0f9-562b-42f5-ab61-76ba4a5ae1f3",
"FieldId": "d47fe60b-ab23-4566-a72e-5f15ed0f376f",
"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": "21101691-e971-4b30-b0f4-6a925fb04366",
"CreateDate": "2026-03-24T12:46:13.2949745-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T12:46:13.2949745-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": "4f4cb4ed-9103-4d08-ab58-92d73d6fab30",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "42130c69-f66f-4472-aa58-f2e1bc8a9d1e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2e6824be-6bdd-4b7a-b173-02efd1b39e57",
"CreateDate": "2026-03-24T12:46:13.2949745-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-24T12:46:13.2949745-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-24T12:46:13.2949745-07:00",
"Fields": [
{
"FormTypeFieldId": "0e75da8b-4189-44d1-bc5c-f0931772e12c",
"Section": {
"FormTypeSectionId": "eafd7fff-80dd-4800-9804-8bcf8f8417b8",
"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": "d4a83efe-7a82-412c-bf9d-a6c1507abd87",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e9fd4a7c-e6e3-431d-b3d2-2ac024e115a7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "90c703fe-289a-4c09-875c-ae19b5f95733",
"CreateDate": "2026-03-24T12:46:13.2949745-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T12:46:13.2949745-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e2dda7d6-0ba9-48f0-bb7e-b96de0508d0c",
"FieldId": "4513ee15-e0b7-4b2c-8112-672b05062870",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e2dda7d6-0ba9-48f0-bb7e-b96de0508d0c",
"FieldId": "4513ee15-e0b7-4b2c-8112-672b05062870",
"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": "0e75da8b-4189-44d1-bc5c-f0931772e12c",
"Section": {
"FormTypeSectionId": "eafd7fff-80dd-4800-9804-8bcf8f8417b8",
"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": "d4a83efe-7a82-412c-bf9d-a6c1507abd87",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e9fd4a7c-e6e3-431d-b3d2-2ac024e115a7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "90c703fe-289a-4c09-875c-ae19b5f95733",
"CreateDate": "2026-03-24T12:46:13.2949745-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T12:46:13.2949745-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e2dda7d6-0ba9-48f0-bb7e-b96de0508d0c",
"FieldId": "4513ee15-e0b7-4b2c-8112-672b05062870",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e2dda7d6-0ba9-48f0-bb7e-b96de0508d0c",
"FieldId": "4513ee15-e0b7-4b2c-8112-672b05062870",
"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": "e7313eb0-7c6d-4a3e-886e-6875b27f7fda",
"CreateDate": "2026-03-24T12:46:13.2949745-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T12:46:13.2949745-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}