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": "c07aecef-807b-40c4-8d72-cee68937378f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e4d22676-6b04-4ba6-bcb3-19d09cd93832",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a376aa52-40c3-43b1-9cf1-016db469e024",
"CreateDate": "2026-02-02T18:25:00.0498652-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T18:25:00.0498652-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-02T18:25:00.0498652-08:00",
"Fields": [
{
"FormTypeFieldId": "1c266dde-0682-4ad7-8682-a6517dd40c0f",
"Section": {
"FormTypeSectionId": "b320d695-ba00-4101-99e5-dc6c65dbf824",
"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": "245735df-c34b-43c8-90c1-1fd775f0ac9a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "294e26fc-0598-4e0e-8c16-3e6286387909",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b3c84e16-ac87-4f88-a341-dc79e03676bc",
"CreateDate": "2026-02-02T18:25:00.0498652-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T18:25:00.0498652-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "81a41d76-edaf-4e98-a4e4-d031e2d4596a",
"FieldId": "3122a938-dc8a-4aff-945a-04496ae1a591",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "81a41d76-edaf-4e98-a4e4-d031e2d4596a",
"FieldId": "3122a938-dc8a-4aff-945a-04496ae1a591",
"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": "1c266dde-0682-4ad7-8682-a6517dd40c0f",
"Section": {
"FormTypeSectionId": "b320d695-ba00-4101-99e5-dc6c65dbf824",
"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": "245735df-c34b-43c8-90c1-1fd775f0ac9a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "294e26fc-0598-4e0e-8c16-3e6286387909",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b3c84e16-ac87-4f88-a341-dc79e03676bc",
"CreateDate": "2026-02-02T18:25:00.0498652-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T18:25:00.0498652-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "81a41d76-edaf-4e98-a4e4-d031e2d4596a",
"FieldId": "3122a938-dc8a-4aff-945a-04496ae1a591",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "81a41d76-edaf-4e98-a4e4-d031e2d4596a",
"FieldId": "3122a938-dc8a-4aff-945a-04496ae1a591",
"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": "87982e97-2574-404a-8016-39388bec74a4",
"CreateDate": "2026-02-02T18:25:00.0498652-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T18:25:00.0498652-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": "75b2e038-4da8-4732-988e-d58003b2ce5a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "97be8706-8237-4339-a5fd-6a1f0a36ff7e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5982b6af-b821-4a35-a4af-43263d85b748",
"CreateDate": "2026-02-02T18:25:00.0498652-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T18:25:00.0498652-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-02T18:25:00.0498652-08:00",
"Fields": [
{
"FormTypeFieldId": "f5c30c3d-5b29-4ec9-bc87-d6e7d5f01188",
"Section": {
"FormTypeSectionId": "d266a655-8f68-41d6-bfb9-5c0d8775013c",
"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": "2a6cba19-edca-49a4-b958-7baec7f0116f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "59548027-e41f-4d9b-9864-d4ab37825af1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "71ba1c66-29be-4e8d-90b8-d66817ab45d9",
"CreateDate": "2026-02-02T18:25:00.0498652-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T18:25:00.0498652-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0e31f4ec-0f4e-44f1-bdc9-2a5fb491c8c5",
"FieldId": "107d3a86-e19a-4c9e-8554-46008850b18e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0e31f4ec-0f4e-44f1-bdc9-2a5fb491c8c5",
"FieldId": "107d3a86-e19a-4c9e-8554-46008850b18e",
"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": "f5c30c3d-5b29-4ec9-bc87-d6e7d5f01188",
"Section": {
"FormTypeSectionId": "d266a655-8f68-41d6-bfb9-5c0d8775013c",
"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": "2a6cba19-edca-49a4-b958-7baec7f0116f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "59548027-e41f-4d9b-9864-d4ab37825af1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "71ba1c66-29be-4e8d-90b8-d66817ab45d9",
"CreateDate": "2026-02-02T18:25:00.0498652-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T18:25:00.0498652-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0e31f4ec-0f4e-44f1-bdc9-2a5fb491c8c5",
"FieldId": "107d3a86-e19a-4c9e-8554-46008850b18e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0e31f4ec-0f4e-44f1-bdc9-2a5fb491c8c5",
"FieldId": "107d3a86-e19a-4c9e-8554-46008850b18e",
"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": "da124723-36c0-46ed-bf1a-d86b52ab561f",
"CreateDate": "2026-02-02T18:25:00.0498652-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T18:25:00.0498652-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}