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": "1c7a8a3a-497f-482b-a666-ccd188bbcad8",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "95aea333-5d9d-4170-bdf9-f6ddecde3a76",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c21eca52-45df-447d-8808-1f15294228d9",
"CreateDate": "2026-06-01T20:26:57.5129433-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:57.5129433-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-01T20:26:57.5129433-07:00",
"Fields": [
{
"FormTypeFieldId": "b57ca186-68da-4089-9d44-706df5789e10",
"Section": {
"FormTypeSectionId": "b65542b9-4d83-4356-a076-d13762f8043b",
"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": "07b8c4a7-c054-4531-b60a-ec39191ddcf9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "09780e9d-7215-4bad-a318-57b0e2e65224",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7e2c0dc1-a87b-4d84-b032-a162100fe8c5",
"CreateDate": "2026-06-01T20:26:57.5129433-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:57.5129433-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3f2c9497-0662-4346-ac78-a6178ebe70f0",
"FieldId": "730ebefd-2eb6-4002-af59-c1c4dd478fb4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3f2c9497-0662-4346-ac78-a6178ebe70f0",
"FieldId": "730ebefd-2eb6-4002-af59-c1c4dd478fb4",
"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": "b57ca186-68da-4089-9d44-706df5789e10",
"Section": {
"FormTypeSectionId": "b65542b9-4d83-4356-a076-d13762f8043b",
"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": "07b8c4a7-c054-4531-b60a-ec39191ddcf9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "09780e9d-7215-4bad-a318-57b0e2e65224",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7e2c0dc1-a87b-4d84-b032-a162100fe8c5",
"CreateDate": "2026-06-01T20:26:57.5129433-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:57.5129433-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3f2c9497-0662-4346-ac78-a6178ebe70f0",
"FieldId": "730ebefd-2eb6-4002-af59-c1c4dd478fb4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3f2c9497-0662-4346-ac78-a6178ebe70f0",
"FieldId": "730ebefd-2eb6-4002-af59-c1c4dd478fb4",
"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": "cea9f451-b067-4dbb-a22f-c13ec3da67ec",
"CreateDate": "2026-06-01T20:26:57.5129433-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:57.5129433-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": "3d4a848d-cd9e-493c-b16e-6826336830a8",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "43e6bd71-2241-4032-90c7-b48386cc69dc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "540ace91-2cd3-41f9-9015-3b0d59253813",
"CreateDate": "2026-06-01T20:26:57.5129433-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:26:57.5129433-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-01T20:26:57.5129433-07:00",
"Fields": [
{
"FormTypeFieldId": "95b48ce2-408d-4444-a5e8-04333f2c742e",
"Section": {
"FormTypeSectionId": "9a63d923-b228-404e-88f0-d5d2f29f190b",
"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": "38f10e3f-cff2-4588-8aa4-9738b12d1874",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4473e69a-7124-438f-82ae-9e92a172ee5c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e8c14a90-7670-492d-b686-6fe86a7b7d19",
"CreateDate": "2026-06-01T20:26:57.5129433-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:57.5129433-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0a5541fe-74c2-4635-9723-0636269754c9",
"FieldId": "545d8af4-992c-4ba1-b117-c5708eeb123d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0a5541fe-74c2-4635-9723-0636269754c9",
"FieldId": "545d8af4-992c-4ba1-b117-c5708eeb123d",
"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": "95b48ce2-408d-4444-a5e8-04333f2c742e",
"Section": {
"FormTypeSectionId": "9a63d923-b228-404e-88f0-d5d2f29f190b",
"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": "38f10e3f-cff2-4588-8aa4-9738b12d1874",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4473e69a-7124-438f-82ae-9e92a172ee5c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e8c14a90-7670-492d-b686-6fe86a7b7d19",
"CreateDate": "2026-06-01T20:26:57.5129433-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:57.5129433-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0a5541fe-74c2-4635-9723-0636269754c9",
"FieldId": "545d8af4-992c-4ba1-b117-c5708eeb123d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0a5541fe-74c2-4635-9723-0636269754c9",
"FieldId": "545d8af4-992c-4ba1-b117-c5708eeb123d",
"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": "145c1753-0f86-4ff2-ad53-211e38dc085c",
"CreateDate": "2026-06-01T20:26:57.5129433-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:26:57.5129433-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}