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": "2d7460f7-d1d7-4c53-9c1d-cfb63a1dd11b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0088c0a2-c97b-4441-bb88-dd26b8c8aea6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c7f76629-d101-48e7-a8dd-4e79b96aa104",
"CreateDate": "2026-08-11T22:23:14.2566706-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:23:14.2566706-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-11T22:23:14.2566706-07:00",
"Fields": [
{
"FormTypeFieldId": "4723fe17-7b31-4b60-82e9-f61eba60e67b",
"Section": {
"FormTypeSectionId": "e053aebb-1623-442a-ab5c-cf50101587ef",
"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": "120b7b25-06c3-4262-a9d1-65d36a9269cc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a7718282-12bb-4fcc-a9d0-e46c8218b40a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b993bff8-0d42-4b7a-b379-ec6b493af086",
"CreateDate": "2026-08-11T22:23:14.2566706-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:23:14.2566706-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7d5ae426-824f-46e7-bc55-8dbd6078486a",
"FieldId": "452d76be-d269-40b2-a165-5d3017450326",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7d5ae426-824f-46e7-bc55-8dbd6078486a",
"FieldId": "452d76be-d269-40b2-a165-5d3017450326",
"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": "4723fe17-7b31-4b60-82e9-f61eba60e67b",
"Section": {
"FormTypeSectionId": "e053aebb-1623-442a-ab5c-cf50101587ef",
"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": "120b7b25-06c3-4262-a9d1-65d36a9269cc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a7718282-12bb-4fcc-a9d0-e46c8218b40a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b993bff8-0d42-4b7a-b379-ec6b493af086",
"CreateDate": "2026-08-11T22:23:14.2566706-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:23:14.2566706-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7d5ae426-824f-46e7-bc55-8dbd6078486a",
"FieldId": "452d76be-d269-40b2-a165-5d3017450326",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7d5ae426-824f-46e7-bc55-8dbd6078486a",
"FieldId": "452d76be-d269-40b2-a165-5d3017450326",
"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": "7edab3ca-5f12-4703-8b20-ed9d5211c2e9",
"CreateDate": "2026-08-11T22:23:14.2566706-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:23:14.2566706-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": "dfd91b28-bce4-473f-a0ba-cdc158d1f80b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "bc91b2cd-f253-4644-8e47-42adc67ee2b1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "42ff0f1d-ad79-4e4f-ac70-91242aed004a",
"CreateDate": "2026-08-11T22:23:14.2722954-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:23:14.2722954-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-11T22:23:14.2722954-07:00",
"Fields": [
{
"FormTypeFieldId": "6561d06d-3270-4555-a645-51afb8984c0d",
"Section": {
"FormTypeSectionId": "879407f7-1cb3-4ec4-b5b7-99cab9fc006c",
"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": "597a5ef1-4ff9-4074-b820-34cc5da0fc56",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c218dcba-d0c7-4dd7-ab63-e9928a8461c1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1e542ec7-90dc-48e3-a123-b46634fdc84b",
"CreateDate": "2026-08-11T22:23:14.2722954-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:23:14.2722954-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2fd6e97a-c686-46f9-a164-7057a2ef26cc",
"FieldId": "cfcd2672-98e5-47fc-8f5b-707235aca84a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2fd6e97a-c686-46f9-a164-7057a2ef26cc",
"FieldId": "cfcd2672-98e5-47fc-8f5b-707235aca84a",
"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": "6561d06d-3270-4555-a645-51afb8984c0d",
"Section": {
"FormTypeSectionId": "879407f7-1cb3-4ec4-b5b7-99cab9fc006c",
"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": "597a5ef1-4ff9-4074-b820-34cc5da0fc56",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c218dcba-d0c7-4dd7-ab63-e9928a8461c1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1e542ec7-90dc-48e3-a123-b46634fdc84b",
"CreateDate": "2026-08-11T22:23:14.2722954-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:23:14.2722954-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2fd6e97a-c686-46f9-a164-7057a2ef26cc",
"FieldId": "cfcd2672-98e5-47fc-8f5b-707235aca84a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2fd6e97a-c686-46f9-a164-7057a2ef26cc",
"FieldId": "cfcd2672-98e5-47fc-8f5b-707235aca84a",
"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": "836fe0f0-e6e8-40e1-8fa5-acd1b7437412",
"CreateDate": "2026-08-11T22:23:14.2722954-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:23:14.2722954-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}