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": "d32742a4-cf5a-4270-ba1e-2da233c97e63",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "329908ce-6f84-4a29-9a92-4e1cc0e4f237",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d2c26673-88fa-4191-8228-b48e17a41977",
"CreateDate": "2026-08-04T17:24:57.4033192-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:24:57.4033192-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-04T17:24:57.4033192-07:00",
"Fields": [
{
"FormTypeFieldId": "2f19ac1c-7fd7-4913-a37e-8a58148b6af0",
"Section": {
"FormTypeSectionId": "a07d1299-0fad-4595-8f50-b7d57829131e",
"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": "2032691c-ee1d-4ff2-b841-12cc8de0a579",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fd583220-8051-4db5-ba8d-ea361a364771",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "08675ebd-b13b-41c2-9cad-e92b333a2405",
"CreateDate": "2026-08-04T17:24:57.4033192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:24:57.4033192-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "efd9a7c3-032f-40fc-a2f3-49ac6ca8d802",
"FieldId": "9af6a50b-f9dc-401c-ae84-2ebd0ea025c4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "efd9a7c3-032f-40fc-a2f3-49ac6ca8d802",
"FieldId": "9af6a50b-f9dc-401c-ae84-2ebd0ea025c4",
"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": "2f19ac1c-7fd7-4913-a37e-8a58148b6af0",
"Section": {
"FormTypeSectionId": "a07d1299-0fad-4595-8f50-b7d57829131e",
"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": "2032691c-ee1d-4ff2-b841-12cc8de0a579",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fd583220-8051-4db5-ba8d-ea361a364771",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "08675ebd-b13b-41c2-9cad-e92b333a2405",
"CreateDate": "2026-08-04T17:24:57.4033192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:24:57.4033192-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "efd9a7c3-032f-40fc-a2f3-49ac6ca8d802",
"FieldId": "9af6a50b-f9dc-401c-ae84-2ebd0ea025c4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "efd9a7c3-032f-40fc-a2f3-49ac6ca8d802",
"FieldId": "9af6a50b-f9dc-401c-ae84-2ebd0ea025c4",
"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": "922e25fe-1728-4510-9b6f-a70aa0901df4",
"CreateDate": "2026-08-04T17:24:57.4033192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:24:57.4033192-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": "aca27719-e2f1-4d65-9498-e8fa80872f99",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "fcd01e04-3ad7-42c2-9431-1a2a2adc1b65",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b3214b9b-470c-4a56-9bca-fc6ed1719300",
"CreateDate": "2026-08-04T17:24:57.4033192-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:24:57.4033192-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-04T17:24:57.4033192-07:00",
"Fields": [
{
"FormTypeFieldId": "8d5a3510-d1e9-4231-ad6f-17aba92907df",
"Section": {
"FormTypeSectionId": "c3768634-7f70-4368-b111-ccaab7989b04",
"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": "2bc0c7c3-70e5-4996-bd9a-f0606436c28b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6635ce0c-7502-4b45-ac97-1bd0d8d27744",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a1d72361-2d9c-46f5-96be-3c64bb841969",
"CreateDate": "2026-08-04T17:24:57.4033192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:24:57.4033192-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "02b6c4e1-201b-4f80-97c6-0ab3348d993b",
"FieldId": "13bd9809-6fdd-4153-9a8c-86e956baa30c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "02b6c4e1-201b-4f80-97c6-0ab3348d993b",
"FieldId": "13bd9809-6fdd-4153-9a8c-86e956baa30c",
"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": "8d5a3510-d1e9-4231-ad6f-17aba92907df",
"Section": {
"FormTypeSectionId": "c3768634-7f70-4368-b111-ccaab7989b04",
"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": "2bc0c7c3-70e5-4996-bd9a-f0606436c28b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6635ce0c-7502-4b45-ac97-1bd0d8d27744",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a1d72361-2d9c-46f5-96be-3c64bb841969",
"CreateDate": "2026-08-04T17:24:57.4033192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:24:57.4033192-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "02b6c4e1-201b-4f80-97c6-0ab3348d993b",
"FieldId": "13bd9809-6fdd-4153-9a8c-86e956baa30c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "02b6c4e1-201b-4f80-97c6-0ab3348d993b",
"FieldId": "13bd9809-6fdd-4153-9a8c-86e956baa30c",
"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": "980d7b24-d5b4-41c5-9461-87bce1571cb3",
"CreateDate": "2026-08-04T17:24:57.4033192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:24:57.4033192-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}