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": "e10f28aa-64af-449f-9104-27821b3f48e7",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "42663299-04e2-47f3-bf3f-153cf3d282e2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bf0fcb44-5ca6-4969-9f12-feff580e756c",
"CreateDate": "2026-01-26T00:00:35.4317264-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-26T00:00:35.4317264-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-26T00:00:35.4317264-08:00",
"Fields": [
{
"FormTypeFieldId": "d459bd9e-ff16-4d3e-a95e-cfdd69cab3a3",
"Section": {
"FormTypeSectionId": "eed0490d-9c85-4559-a9b6-bf2e3bd17f6e",
"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": "bf8b4b20-d5dd-4e6a-a9aa-fa7ef1e28e0d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5d70ffde-1168-4e3d-8355-af30a993a468",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bff72878-4cbc-4189-a6e4-36c7b6f96d94",
"CreateDate": "2026-01-26T00:00:35.4317264-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-26T00:00:35.4317264-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d026d940-ec5f-42a7-8389-7435699e161a",
"FieldId": "3efcecd2-2783-49ca-b4fd-5f35bd41f1f9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d026d940-ec5f-42a7-8389-7435699e161a",
"FieldId": "3efcecd2-2783-49ca-b4fd-5f35bd41f1f9",
"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": "d459bd9e-ff16-4d3e-a95e-cfdd69cab3a3",
"Section": {
"FormTypeSectionId": "eed0490d-9c85-4559-a9b6-bf2e3bd17f6e",
"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": "bf8b4b20-d5dd-4e6a-a9aa-fa7ef1e28e0d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5d70ffde-1168-4e3d-8355-af30a993a468",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bff72878-4cbc-4189-a6e4-36c7b6f96d94",
"CreateDate": "2026-01-26T00:00:35.4317264-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-26T00:00:35.4317264-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d026d940-ec5f-42a7-8389-7435699e161a",
"FieldId": "3efcecd2-2783-49ca-b4fd-5f35bd41f1f9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d026d940-ec5f-42a7-8389-7435699e161a",
"FieldId": "3efcecd2-2783-49ca-b4fd-5f35bd41f1f9",
"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": "1f4c4336-0e08-42c2-aec1-d3e22ff063e0",
"CreateDate": "2026-01-26T00:00:35.4317264-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-26T00:00:35.4317264-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": "88426a20-8368-4244-be56-60213ece63b6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "679a7bd4-8012-4e10-99fb-d6e180724166",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bdd85323-0c03-4041-8ce4-520f50904e14",
"CreateDate": "2026-01-26T00:00:35.4317264-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-26T00:00:35.4317264-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-26T00:00:35.4317264-08:00",
"Fields": [
{
"FormTypeFieldId": "8956796f-4e54-4804-9a59-435c7c9f32d5",
"Section": {
"FormTypeSectionId": "b085f5e0-5413-4a96-9baa-2890c94edfcc",
"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": "673f15f4-7ca2-488d-97de-62c88325def0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "94ff19da-8768-41c5-b43e-3685dae6a527",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "84144477-7554-4025-9d04-ec5304037f80",
"CreateDate": "2026-01-26T00:00:35.4317264-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-26T00:00:35.4317264-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "299eef1e-3382-4248-957e-c21dc738c481",
"FieldId": "c7e21dde-9e4c-43a3-ba72-1d06538d5a5c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "299eef1e-3382-4248-957e-c21dc738c481",
"FieldId": "c7e21dde-9e4c-43a3-ba72-1d06538d5a5c",
"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": "8956796f-4e54-4804-9a59-435c7c9f32d5",
"Section": {
"FormTypeSectionId": "b085f5e0-5413-4a96-9baa-2890c94edfcc",
"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": "673f15f4-7ca2-488d-97de-62c88325def0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "94ff19da-8768-41c5-b43e-3685dae6a527",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "84144477-7554-4025-9d04-ec5304037f80",
"CreateDate": "2026-01-26T00:00:35.4317264-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-26T00:00:35.4317264-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "299eef1e-3382-4248-957e-c21dc738c481",
"FieldId": "c7e21dde-9e4c-43a3-ba72-1d06538d5a5c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "299eef1e-3382-4248-957e-c21dc738c481",
"FieldId": "c7e21dde-9e4c-43a3-ba72-1d06538d5a5c",
"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": "891e0614-046f-46da-801a-1e3686a867af",
"CreateDate": "2026-01-26T00:00:35.4317264-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-26T00:00:35.4317264-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}