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": "8ebe3d59-d133-4d18-88ae-15de02240751",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7149c5e7-b96d-49c6-a62a-ca871a0686ce",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fb5816a0-bd28-4980-9aa3-ef9018686111",
"CreateDate": "2025-11-17T18:49:21.7317251-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:49:21.7317251-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-17T18:49:21.7317251-08:00",
"Fields": [
{
"FormTypeFieldId": "38929ad2-91c6-4c89-a040-6e468fc48d9e",
"Section": {
"FormTypeSectionId": "942c7c33-8d6b-498f-a608-5e2d5efeb8f9",
"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": "272a2958-952d-40f4-a2b8-7d89d6749d1d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e6e9189a-ebd0-42cd-bb91-b2ec7ee22a8e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6185d377-b0d6-42a6-91c9-8c3bc45d57f4",
"CreateDate": "2025-11-17T18:49:21.7317251-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:49:21.7317251-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "80e73cff-fb47-48e6-86c4-e4cd0728d2c6",
"FieldId": "2148cc7d-070f-4890-a9cc-e660defe3796",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "80e73cff-fb47-48e6-86c4-e4cd0728d2c6",
"FieldId": "2148cc7d-070f-4890-a9cc-e660defe3796",
"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": "38929ad2-91c6-4c89-a040-6e468fc48d9e",
"Section": {
"FormTypeSectionId": "942c7c33-8d6b-498f-a608-5e2d5efeb8f9",
"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": "272a2958-952d-40f4-a2b8-7d89d6749d1d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e6e9189a-ebd0-42cd-bb91-b2ec7ee22a8e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6185d377-b0d6-42a6-91c9-8c3bc45d57f4",
"CreateDate": "2025-11-17T18:49:21.7317251-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:49:21.7317251-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "80e73cff-fb47-48e6-86c4-e4cd0728d2c6",
"FieldId": "2148cc7d-070f-4890-a9cc-e660defe3796",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "80e73cff-fb47-48e6-86c4-e4cd0728d2c6",
"FieldId": "2148cc7d-070f-4890-a9cc-e660defe3796",
"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": "9f9ab9cb-845d-43ec-beda-4aeacbc1fd6a",
"CreateDate": "2025-11-17T18:49:21.7317251-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:49:21.7317251-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": "885925e3-7334-4f6d-be31-f9e75ed9254c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "bd3953ff-4c15-4532-b0b0-9269ac09b4ed",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7535ebab-99da-48f0-a6b5-bbc35b8942cf",
"CreateDate": "2025-11-17T18:49:21.7317251-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:49:21.7317251-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-17T18:49:21.7317251-08:00",
"Fields": [
{
"FormTypeFieldId": "358c58ca-9efe-4f67-9b9d-0726f21e16b5",
"Section": {
"FormTypeSectionId": "487cf95b-f43a-4470-b7e0-6f8158ba5966",
"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": "003a55ad-5769-4136-ad41-cf9b017470c2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "621812db-8314-40cf-99bf-757ee7a9dc3f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "448e84d7-61f7-4364-b448-54626a567f16",
"CreateDate": "2025-11-17T18:49:21.7317251-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:49:21.7317251-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "859f3f79-3890-475c-b387-db557ddf0bf5",
"FieldId": "2a1642d7-988f-4be8-b11e-3dc9a5b6a8a1",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "859f3f79-3890-475c-b387-db557ddf0bf5",
"FieldId": "2a1642d7-988f-4be8-b11e-3dc9a5b6a8a1",
"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": "358c58ca-9efe-4f67-9b9d-0726f21e16b5",
"Section": {
"FormTypeSectionId": "487cf95b-f43a-4470-b7e0-6f8158ba5966",
"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": "003a55ad-5769-4136-ad41-cf9b017470c2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "621812db-8314-40cf-99bf-757ee7a9dc3f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "448e84d7-61f7-4364-b448-54626a567f16",
"CreateDate": "2025-11-17T18:49:21.7317251-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:49:21.7317251-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "859f3f79-3890-475c-b387-db557ddf0bf5",
"FieldId": "2a1642d7-988f-4be8-b11e-3dc9a5b6a8a1",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "859f3f79-3890-475c-b387-db557ddf0bf5",
"FieldId": "2a1642d7-988f-4be8-b11e-3dc9a5b6a8a1",
"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": "fa94044d-5ca1-4c01-b631-ddc0b04ddcc9",
"CreateDate": "2025-11-17T18:49:21.7317251-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:49:21.7317251-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}