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": "c07a5aae-e499-435b-90c3-20bf1d55d17f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "5cbe7ad3-5d60-4aa6-8b38-37d06e12542a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bc566121-a187-4618-8fb7-a26e2fa67e78",
"CreateDate": "2026-07-15T13:19:36.9626995-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:19:36.9626995-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-15T13:19:36.9626995-07:00",
"Fields": [
{
"FormTypeFieldId": "d0dc9cbc-6ec8-4048-a5fd-5efa833b7bba",
"Section": {
"FormTypeSectionId": "a2ae33af-4bad-41b3-86ce-5b9ff7192426",
"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": "75e78fec-073c-4402-8991-903be4cf8fc7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e60bd30b-c3d3-44dc-ab3b-109f161f6702",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8f81f1b3-8e9c-47c2-92f5-236aa91904e2",
"CreateDate": "2026-07-15T13:19:36.9626995-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:36.9626995-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1ee8d51a-13cc-41b2-acda-32626edc3360",
"FieldId": "4268e7da-500a-4999-ad4e-6f4521299de9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1ee8d51a-13cc-41b2-acda-32626edc3360",
"FieldId": "4268e7da-500a-4999-ad4e-6f4521299de9",
"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": "d0dc9cbc-6ec8-4048-a5fd-5efa833b7bba",
"Section": {
"FormTypeSectionId": "a2ae33af-4bad-41b3-86ce-5b9ff7192426",
"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": "75e78fec-073c-4402-8991-903be4cf8fc7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e60bd30b-c3d3-44dc-ab3b-109f161f6702",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8f81f1b3-8e9c-47c2-92f5-236aa91904e2",
"CreateDate": "2026-07-15T13:19:36.9626995-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:36.9626995-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1ee8d51a-13cc-41b2-acda-32626edc3360",
"FieldId": "4268e7da-500a-4999-ad4e-6f4521299de9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1ee8d51a-13cc-41b2-acda-32626edc3360",
"FieldId": "4268e7da-500a-4999-ad4e-6f4521299de9",
"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": "9ace2c26-a15b-4914-b7f5-86e1ef7e6c5f",
"CreateDate": "2026-07-15T13:19:36.9626995-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:36.9626995-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": "8fe7b3af-4b0a-42cf-8e37-0f661a358dc3",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "459ce363-b4ce-4c41-8a25-52e1acf2f8dd",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "71970c80-e0db-4f62-bcb9-3129820e57fc",
"CreateDate": "2026-07-15T13:19:36.9626995-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:19:36.9626995-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-15T13:19:36.9626995-07:00",
"Fields": [
{
"FormTypeFieldId": "88752ed1-1164-4481-a5fc-51da52b92abc",
"Section": {
"FormTypeSectionId": "115ffc72-13b9-478b-b9b9-f51cbe2e2a56",
"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": "551b407e-16b0-4aa5-a686-3a3bbbbf09bc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "05a8d1bf-2dc5-4408-9a70-b71037177fe3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "af6398ad-ce2b-4a0c-9875-468e19c1fe90",
"CreateDate": "2026-07-15T13:19:36.9626995-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:36.9626995-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bdd4ce28-1c5b-4af2-8d2b-8e743fecf228",
"FieldId": "9f9ba03c-e1e0-4874-8234-032fe8572ff4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bdd4ce28-1c5b-4af2-8d2b-8e743fecf228",
"FieldId": "9f9ba03c-e1e0-4874-8234-032fe8572ff4",
"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": "88752ed1-1164-4481-a5fc-51da52b92abc",
"Section": {
"FormTypeSectionId": "115ffc72-13b9-478b-b9b9-f51cbe2e2a56",
"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": "551b407e-16b0-4aa5-a686-3a3bbbbf09bc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "05a8d1bf-2dc5-4408-9a70-b71037177fe3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "af6398ad-ce2b-4a0c-9875-468e19c1fe90",
"CreateDate": "2026-07-15T13:19:36.9626995-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:36.9626995-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bdd4ce28-1c5b-4af2-8d2b-8e743fecf228",
"FieldId": "9f9ba03c-e1e0-4874-8234-032fe8572ff4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bdd4ce28-1c5b-4af2-8d2b-8e743fecf228",
"FieldId": "9f9ba03c-e1e0-4874-8234-032fe8572ff4",
"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": "66de72c5-9fdb-4a5c-af16-c87470684888",
"CreateDate": "2026-07-15T13:19:36.9626995-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:36.9626995-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}