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": "c75782c3-2f27-4463-9104-ff64cfd38e6b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d5bb9644-480a-4f01-8fc1-9e8f11b87877",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a471c312-c834-4f59-b3cd-8ff2850f3dd5",
"CreateDate": "2026-11-12T07:46:24.7207344-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-12T07:46:24.7207344-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-12T07:46:24.7207344-08:00",
"Fields": [
{
"FormTypeFieldId": "1829021b-b3f4-4ce0-9637-02e65a8b960a",
"Section": {
"FormTypeSectionId": "ea3b3f23-42b7-42fc-850f-7cd15c8a3e2d",
"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": "8483a99f-c46e-49b1-85ef-b2f27bf652e3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "eccfaf67-31e9-47d6-a7e8-112a140d2fa8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ad0fcd27-6d9c-4214-936b-d2aab3217c08",
"CreateDate": "2026-11-12T07:46:24.7207344-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T07:46:24.7207344-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1d137b55-a527-41de-ac21-9ee72c3c6018",
"FieldId": "ece500c7-7efe-4e18-97a9-db1a5524c7d3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1d137b55-a527-41de-ac21-9ee72c3c6018",
"FieldId": "ece500c7-7efe-4e18-97a9-db1a5524c7d3",
"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": "1829021b-b3f4-4ce0-9637-02e65a8b960a",
"Section": {
"FormTypeSectionId": "ea3b3f23-42b7-42fc-850f-7cd15c8a3e2d",
"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": "8483a99f-c46e-49b1-85ef-b2f27bf652e3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "eccfaf67-31e9-47d6-a7e8-112a140d2fa8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ad0fcd27-6d9c-4214-936b-d2aab3217c08",
"CreateDate": "2026-11-12T07:46:24.7207344-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T07:46:24.7207344-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1d137b55-a527-41de-ac21-9ee72c3c6018",
"FieldId": "ece500c7-7efe-4e18-97a9-db1a5524c7d3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1d137b55-a527-41de-ac21-9ee72c3c6018",
"FieldId": "ece500c7-7efe-4e18-97a9-db1a5524c7d3",
"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": "fe0cbf61-4f6e-4117-8c61-e847cee1db32",
"CreateDate": "2026-11-12T07:46:24.7207344-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T07:46:24.7207344-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": "b5e05430-1967-4dc9-976b-31264ead0718",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8f2342a4-b437-4a44-9d40-0f4b1b43889a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d95db675-324d-44de-a4b0-1465b93c6dc6",
"CreateDate": "2026-11-12T07:46:24.7519544-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-12T07:46:24.7519544-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-12T07:46:24.7519544-08:00",
"Fields": [
{
"FormTypeFieldId": "b1b0f569-a0a6-44ed-aa08-ce5357f40e8e",
"Section": {
"FormTypeSectionId": "b60d8105-64b5-4618-9baa-040d25aa9a76",
"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": "93f6880b-ea74-4654-bf58-c2cea73fa5e7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "867fead6-438f-4215-8a07-5edacd246303",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2fa78f3b-4fc3-46b4-a4dc-88deaa63535a",
"CreateDate": "2026-11-12T07:46:24.7519544-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T07:46:24.7519544-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b263a25a-0c39-4ead-bcbe-e2343e791a10",
"FieldId": "31f67d4a-1c57-4839-b11d-59fb0d5cc193",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b263a25a-0c39-4ead-bcbe-e2343e791a10",
"FieldId": "31f67d4a-1c57-4839-b11d-59fb0d5cc193",
"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": "b1b0f569-a0a6-44ed-aa08-ce5357f40e8e",
"Section": {
"FormTypeSectionId": "b60d8105-64b5-4618-9baa-040d25aa9a76",
"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": "93f6880b-ea74-4654-bf58-c2cea73fa5e7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "867fead6-438f-4215-8a07-5edacd246303",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2fa78f3b-4fc3-46b4-a4dc-88deaa63535a",
"CreateDate": "2026-11-12T07:46:24.7519544-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T07:46:24.7519544-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b263a25a-0c39-4ead-bcbe-e2343e791a10",
"FieldId": "31f67d4a-1c57-4839-b11d-59fb0d5cc193",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b263a25a-0c39-4ead-bcbe-e2343e791a10",
"FieldId": "31f67d4a-1c57-4839-b11d-59fb0d5cc193",
"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": "e7de6be8-1b3a-4fc3-8c66-fd7c450b0029",
"CreateDate": "2026-11-12T07:46:24.7519544-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T07:46:24.7519544-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}