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": "7777a35d-8927-4014-8f27-9cd3df5864d5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "259fc26c-84ef-47eb-95c0-2ee87c2faebc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6b41e943-1f58-455b-b498-6385c8d01abf",
"CreateDate": "2026-05-12T17:05:27.8006471-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:05:27.8006471-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-12T17:05:27.8006471-07:00",
"Fields": [
{
"FormTypeFieldId": "cfbc1473-c2f1-4dfa-b588-77a779f2dedf",
"Section": {
"FormTypeSectionId": "91c30dfb-7a5b-4d45-9e13-9695207b0f24",
"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": "8e262cc1-446e-4c64-a1c6-fda0f93e4ee3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3cf55786-4e93-40c1-8827-952d5ad4cbda",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c744b648-5768-492b-a444-c365c6521b43",
"CreateDate": "2026-05-12T17:05:27.8006471-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:05:27.8006471-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8be4f20c-a7b7-4b4f-bb01-b3f8442f9ad7",
"FieldId": "8936f7ef-5fde-4a26-9c85-0ee9af279440",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8be4f20c-a7b7-4b4f-bb01-b3f8442f9ad7",
"FieldId": "8936f7ef-5fde-4a26-9c85-0ee9af279440",
"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": "cfbc1473-c2f1-4dfa-b588-77a779f2dedf",
"Section": {
"FormTypeSectionId": "91c30dfb-7a5b-4d45-9e13-9695207b0f24",
"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": "8e262cc1-446e-4c64-a1c6-fda0f93e4ee3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3cf55786-4e93-40c1-8827-952d5ad4cbda",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c744b648-5768-492b-a444-c365c6521b43",
"CreateDate": "2026-05-12T17:05:27.8006471-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:05:27.8006471-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8be4f20c-a7b7-4b4f-bb01-b3f8442f9ad7",
"FieldId": "8936f7ef-5fde-4a26-9c85-0ee9af279440",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8be4f20c-a7b7-4b4f-bb01-b3f8442f9ad7",
"FieldId": "8936f7ef-5fde-4a26-9c85-0ee9af279440",
"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": "4fe1533e-bbc0-4df8-baf7-4e4ee288c309",
"CreateDate": "2026-05-12T17:05:27.8006471-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:05:27.8006471-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": "89c1238b-78ca-4aba-8c31-fec19482bf4b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8b163576-429c-46bb-b054-7841651bcfd7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "11edc542-7a22-418d-b635-613f6e3590e0",
"CreateDate": "2026-05-12T17:05:27.8006471-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:05:27.8006471-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-12T17:05:27.8006471-07:00",
"Fields": [
{
"FormTypeFieldId": "b9248b56-a13b-426f-b21f-18662f4db5c5",
"Section": {
"FormTypeSectionId": "5b097c0e-2ec3-4ead-91ff-f09049af2b3b",
"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": "2052ccbb-1ae9-4c86-9aa3-936000084ddd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c1e2b475-f35c-42a7-a856-b62aa21712a0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0e27bcd2-307b-43c2-9023-8f0420af3e93",
"CreateDate": "2026-05-12T17:05:27.8006471-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:05:27.8006471-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "456074f1-3e9f-4f72-9925-a908ef8ae84f",
"FieldId": "cda8524a-4b6c-4913-8635-edf3b3fcdff8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "456074f1-3e9f-4f72-9925-a908ef8ae84f",
"FieldId": "cda8524a-4b6c-4913-8635-edf3b3fcdff8",
"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": "b9248b56-a13b-426f-b21f-18662f4db5c5",
"Section": {
"FormTypeSectionId": "5b097c0e-2ec3-4ead-91ff-f09049af2b3b",
"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": "2052ccbb-1ae9-4c86-9aa3-936000084ddd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c1e2b475-f35c-42a7-a856-b62aa21712a0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0e27bcd2-307b-43c2-9023-8f0420af3e93",
"CreateDate": "2026-05-12T17:05:27.8006471-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:05:27.8006471-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "456074f1-3e9f-4f72-9925-a908ef8ae84f",
"FieldId": "cda8524a-4b6c-4913-8635-edf3b3fcdff8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "456074f1-3e9f-4f72-9925-a908ef8ae84f",
"FieldId": "cda8524a-4b6c-4913-8635-edf3b3fcdff8",
"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": "02b0d5af-686b-49e5-9f2f-aa78d0fff767",
"CreateDate": "2026-05-12T17:05:27.8006471-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:05:27.8006471-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}