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": "fa2605e5-5e93-4fb4-8a18-6a5066f25ab6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "52c11fe3-01fc-4630-a8e2-c795f4052d28",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0127438d-319c-481c-af4d-d3e4c28b58ee",
"CreateDate": "2026-08-24T21:33:04.9218914-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:33:04.9218914-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-24T21:33:04.9218914-07:00",
"Fields": [
{
"FormTypeFieldId": "c18d1725-b3a6-420d-b49e-d56a71cc4ea2",
"Section": {
"FormTypeSectionId": "21ad29f4-83b9-4ac4-b74e-44775863f9de",
"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": "9a50d6fb-778b-4754-8ca2-c3ad69bb81bb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7212ff54-34cb-482f-9c88-4409a4e36792",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b3d4fffb-8225-473e-92c8-22c7bfaf419e",
"CreateDate": "2026-08-24T21:33:04.9218914-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:33:04.9218914-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2645044e-3c62-42fb-a10b-97c8e416523f",
"FieldId": "c83c1789-baca-419a-a5c1-d22e3ff9a188",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2645044e-3c62-42fb-a10b-97c8e416523f",
"FieldId": "c83c1789-baca-419a-a5c1-d22e3ff9a188",
"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": "c18d1725-b3a6-420d-b49e-d56a71cc4ea2",
"Section": {
"FormTypeSectionId": "21ad29f4-83b9-4ac4-b74e-44775863f9de",
"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": "9a50d6fb-778b-4754-8ca2-c3ad69bb81bb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7212ff54-34cb-482f-9c88-4409a4e36792",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b3d4fffb-8225-473e-92c8-22c7bfaf419e",
"CreateDate": "2026-08-24T21:33:04.9218914-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:33:04.9218914-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2645044e-3c62-42fb-a10b-97c8e416523f",
"FieldId": "c83c1789-baca-419a-a5c1-d22e3ff9a188",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2645044e-3c62-42fb-a10b-97c8e416523f",
"FieldId": "c83c1789-baca-419a-a5c1-d22e3ff9a188",
"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": "db479b44-02df-41a3-aecd-7140bc9c5387",
"CreateDate": "2026-08-24T21:33:04.9218914-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:33:04.9218914-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": "0a270a9a-4221-4d10-848e-b699aac6190e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f2256925-c4cf-4969-ac30-cc6b766f47e4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "08c21e7a-5394-4afc-8e65-47d47cbcd26c",
"CreateDate": "2026-08-24T21:33:04.9218914-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:33:04.9218914-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-24T21:33:04.9218914-07:00",
"Fields": [
{
"FormTypeFieldId": "531499de-5289-40d7-a5b7-7871dadeca7c",
"Section": {
"FormTypeSectionId": "08f4111d-e3f6-4d99-808a-470188c28b69",
"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": "5fce29e3-516b-4cf8-b8b3-5e080bafdc60",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6ab9a852-9b67-4990-8129-309b0fd52ac0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "38fb01e3-57f2-49b8-bb4e-e1c8293621f3",
"CreateDate": "2026-08-24T21:33:04.9218914-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:33:04.9218914-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a2e2ab7a-fbd9-4dfc-8d86-181c42eeccfa",
"FieldId": "d8b5aff5-18c9-47de-941c-33c68def7e25",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a2e2ab7a-fbd9-4dfc-8d86-181c42eeccfa",
"FieldId": "d8b5aff5-18c9-47de-941c-33c68def7e25",
"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": "531499de-5289-40d7-a5b7-7871dadeca7c",
"Section": {
"FormTypeSectionId": "08f4111d-e3f6-4d99-808a-470188c28b69",
"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": "5fce29e3-516b-4cf8-b8b3-5e080bafdc60",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6ab9a852-9b67-4990-8129-309b0fd52ac0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "38fb01e3-57f2-49b8-bb4e-e1c8293621f3",
"CreateDate": "2026-08-24T21:33:04.9218914-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:33:04.9218914-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a2e2ab7a-fbd9-4dfc-8d86-181c42eeccfa",
"FieldId": "d8b5aff5-18c9-47de-941c-33c68def7e25",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a2e2ab7a-fbd9-4dfc-8d86-181c42eeccfa",
"FieldId": "d8b5aff5-18c9-47de-941c-33c68def7e25",
"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": "1251d01e-23b2-42ba-bded-4edbf28a4478",
"CreateDate": "2026-08-24T21:33:04.9218914-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:33:04.9218914-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}