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": "76a7e577-05e2-49f1-be61-6243885e3ad4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "5dc84fa4-7e14-4884-ab96-1700a4cf30be",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "676dd86c-0785-48f3-a0ef-804b691c018f",
"CreateDate": "2025-12-17T04:26:05.897999-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:26:05.897999-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-17T04:26:05.897999-08:00",
"Fields": [
{
"FormTypeFieldId": "666e1a4d-51c9-4da3-a769-e906d92fea56",
"Section": {
"FormTypeSectionId": "da048e07-842b-4cd8-b3ba-1e9608e144cf",
"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": "378a7691-7ef9-4e4c-acc5-e719b198f212",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b157300e-6b2a-443f-b535-dc03259c5ca7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "09b5d18b-85a1-4f4c-9a58-4c4811071950",
"CreateDate": "2025-12-17T04:26:05.897999-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:26:05.897999-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d0c19a13-eb56-4aaf-afac-1b4f9dc8dbbd",
"FieldId": "7c6a551b-f527-4c1a-b3b3-da6e26a8edba",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d0c19a13-eb56-4aaf-afac-1b4f9dc8dbbd",
"FieldId": "7c6a551b-f527-4c1a-b3b3-da6e26a8edba",
"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": "666e1a4d-51c9-4da3-a769-e906d92fea56",
"Section": {
"FormTypeSectionId": "da048e07-842b-4cd8-b3ba-1e9608e144cf",
"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": "378a7691-7ef9-4e4c-acc5-e719b198f212",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b157300e-6b2a-443f-b535-dc03259c5ca7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "09b5d18b-85a1-4f4c-9a58-4c4811071950",
"CreateDate": "2025-12-17T04:26:05.897999-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:26:05.897999-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d0c19a13-eb56-4aaf-afac-1b4f9dc8dbbd",
"FieldId": "7c6a551b-f527-4c1a-b3b3-da6e26a8edba",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d0c19a13-eb56-4aaf-afac-1b4f9dc8dbbd",
"FieldId": "7c6a551b-f527-4c1a-b3b3-da6e26a8edba",
"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": "62fe2928-4152-4c95-86a1-a55abaf6f768",
"CreateDate": "2025-12-17T04:26:05.897999-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:26:05.897999-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": "98f10834-524d-4af0-a167-0e8ebde91bf7",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d7ed0b4a-fd22-4e3d-90cb-8758e8dad13e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e3c3329c-94a5-4a28-8098-ee20187b4f53",
"CreateDate": "2025-12-17T04:26:05.897999-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:26:05.897999-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-17T04:26:05.897999-08:00",
"Fields": [
{
"FormTypeFieldId": "12fbbaa3-13df-4a76-a7f6-b000ca080ad0",
"Section": {
"FormTypeSectionId": "3121c52d-dba5-4c85-8125-f23a12a72c7f",
"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": "52dd4942-4e32-40d2-8e04-d31d7be47918",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1d36026b-8657-4161-893a-bd2bc05edeca",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a82d2b74-f300-4d15-8ff4-ad9efc6acf30",
"CreateDate": "2025-12-17T04:26:05.897999-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:26:05.897999-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8dc5d10f-273b-4314-b45c-723039af64ba",
"FieldId": "719ce344-faa6-437b-bb62-43db591a97eb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8dc5d10f-273b-4314-b45c-723039af64ba",
"FieldId": "719ce344-faa6-437b-bb62-43db591a97eb",
"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": "12fbbaa3-13df-4a76-a7f6-b000ca080ad0",
"Section": {
"FormTypeSectionId": "3121c52d-dba5-4c85-8125-f23a12a72c7f",
"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": "52dd4942-4e32-40d2-8e04-d31d7be47918",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1d36026b-8657-4161-893a-bd2bc05edeca",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a82d2b74-f300-4d15-8ff4-ad9efc6acf30",
"CreateDate": "2025-12-17T04:26:05.897999-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:26:05.897999-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8dc5d10f-273b-4314-b45c-723039af64ba",
"FieldId": "719ce344-faa6-437b-bb62-43db591a97eb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8dc5d10f-273b-4314-b45c-723039af64ba",
"FieldId": "719ce344-faa6-437b-bb62-43db591a97eb",
"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": "51764f98-235f-48f6-acf0-6032c14b681c",
"CreateDate": "2025-12-17T04:26:05.897999-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:26:05.897999-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}