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": "f6125cc4-597d-4885-b134-c4897e98504a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "bfac2392-b14e-4ca0-b2f2-c824f1d6abad",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "87371988-8a32-4cf6-a312-8214f906b0ba",
"CreateDate": "2026-02-14T23:50:27.0929719-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-14T23:50:27.0929719-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-14T23:50:27.0929719-08:00",
"Fields": [
{
"FormTypeFieldId": "d8c0eec2-e569-4fce-9b0f-92f5e9477e81",
"Section": {
"FormTypeSectionId": "c1e13da9-5fab-4c57-b249-aacd6f561a42",
"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": "f0ea783b-e59d-4bc6-96b8-1434a8f69fec",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0482d077-293c-4b6a-bb67-43f5c207a156",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b4d19150-48a1-4c49-8620-44de43a77268",
"CreateDate": "2026-02-14T23:50:27.0929719-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-14T23:50:27.0929719-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4c8d815f-5821-4262-bdb8-381ed8d747e7",
"FieldId": "87e9cb79-dcfc-4a9c-9134-20a59be5942c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4c8d815f-5821-4262-bdb8-381ed8d747e7",
"FieldId": "87e9cb79-dcfc-4a9c-9134-20a59be5942c",
"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": "d8c0eec2-e569-4fce-9b0f-92f5e9477e81",
"Section": {
"FormTypeSectionId": "c1e13da9-5fab-4c57-b249-aacd6f561a42",
"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": "f0ea783b-e59d-4bc6-96b8-1434a8f69fec",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0482d077-293c-4b6a-bb67-43f5c207a156",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b4d19150-48a1-4c49-8620-44de43a77268",
"CreateDate": "2026-02-14T23:50:27.0929719-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-14T23:50:27.0929719-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4c8d815f-5821-4262-bdb8-381ed8d747e7",
"FieldId": "87e9cb79-dcfc-4a9c-9134-20a59be5942c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4c8d815f-5821-4262-bdb8-381ed8d747e7",
"FieldId": "87e9cb79-dcfc-4a9c-9134-20a59be5942c",
"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": "1a4c3c3f-57d0-4bf8-a3db-6ee2fc91d6a9",
"CreateDate": "2026-02-14T23:50:27.0929719-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-14T23:50:27.0929719-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": "1b8014b5-0104-4d59-a7b6-6e5939c5fe5d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4ff32c36-ec4b-487c-9771-53c09460cb0c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a39e82a4-a074-4143-943d-427811e4eea3",
"CreateDate": "2026-02-14T23:50:27.1242297-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-14T23:50:27.1242297-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-14T23:50:27.1242297-08:00",
"Fields": [
{
"FormTypeFieldId": "6eb63dd0-df78-4b7c-ab38-cf78a110080d",
"Section": {
"FormTypeSectionId": "278d24a7-3bea-4204-ad12-a173c9d7f598",
"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": "3b9b9ded-b665-4265-ba97-243e3edb2b71",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2e74fbde-7cd2-4557-a648-b6e19dbf6ed8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0fef7d85-d666-46c4-8aa7-f903bc0db0eb",
"CreateDate": "2026-02-14T23:50:27.1242297-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-14T23:50:27.1242297-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e64204eb-b87b-4e12-8b22-39264da2fb16",
"FieldId": "3d62c798-ee18-419a-9520-28e35262bf17",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e64204eb-b87b-4e12-8b22-39264da2fb16",
"FieldId": "3d62c798-ee18-419a-9520-28e35262bf17",
"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": "6eb63dd0-df78-4b7c-ab38-cf78a110080d",
"Section": {
"FormTypeSectionId": "278d24a7-3bea-4204-ad12-a173c9d7f598",
"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": "3b9b9ded-b665-4265-ba97-243e3edb2b71",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2e74fbde-7cd2-4557-a648-b6e19dbf6ed8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0fef7d85-d666-46c4-8aa7-f903bc0db0eb",
"CreateDate": "2026-02-14T23:50:27.1242297-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-14T23:50:27.1242297-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e64204eb-b87b-4e12-8b22-39264da2fb16",
"FieldId": "3d62c798-ee18-419a-9520-28e35262bf17",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e64204eb-b87b-4e12-8b22-39264da2fb16",
"FieldId": "3d62c798-ee18-419a-9520-28e35262bf17",
"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": "119a6a3d-07e3-422d-81c7-2672c1306646",
"CreateDate": "2026-02-14T23:50:27.1242297-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-14T23:50:27.1242297-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}