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": "61cacee4-5628-44cd-8fcd-6c182c8fc81c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9f6bb74a-7d4d-45be-af48-4765224350e3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "82802e4a-4e1d-44fb-bafe-b5e1e4a4e77b",
"CreateDate": "2026-06-17T17:24:26.4260397-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:24:26.4260397-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-17T17:24:26.4260397-07:00",
"Fields": [
{
"FormTypeFieldId": "9b5f1472-8a98-4414-85c1-c9da27ac7859",
"Section": {
"FormTypeSectionId": "f6be26b0-7dbd-4d8d-80ca-837f32cf5588",
"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": "011cf6d7-7a6c-4af0-bac4-df7a1de09e9b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4811cbed-bebe-491a-9942-aa57c529fd6d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7848f45f-0559-409b-94e9-606526480743",
"CreateDate": "2026-06-17T17:24:26.4260397-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:24:26.4260397-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4de4e41f-ec77-4009-88f3-6f91e2f455c0",
"FieldId": "c2f20560-67f7-4933-b9d7-e3bd4b64834e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4de4e41f-ec77-4009-88f3-6f91e2f455c0",
"FieldId": "c2f20560-67f7-4933-b9d7-e3bd4b64834e",
"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": "9b5f1472-8a98-4414-85c1-c9da27ac7859",
"Section": {
"FormTypeSectionId": "f6be26b0-7dbd-4d8d-80ca-837f32cf5588",
"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": "011cf6d7-7a6c-4af0-bac4-df7a1de09e9b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4811cbed-bebe-491a-9942-aa57c529fd6d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7848f45f-0559-409b-94e9-606526480743",
"CreateDate": "2026-06-17T17:24:26.4260397-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:24:26.4260397-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4de4e41f-ec77-4009-88f3-6f91e2f455c0",
"FieldId": "c2f20560-67f7-4933-b9d7-e3bd4b64834e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4de4e41f-ec77-4009-88f3-6f91e2f455c0",
"FieldId": "c2f20560-67f7-4933-b9d7-e3bd4b64834e",
"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": "76a2b995-d449-4bba-9d0e-31c7a20977f8",
"CreateDate": "2026-06-17T17:24:26.4260397-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:24:26.4260397-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": "ca67ef80-bc8b-4210-9358-69963e0b5913",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6f2bc80d-84f5-4fc2-8d03-6feeabc609bf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7593e402-2170-4b9b-8101-a6e34cb8fb78",
"CreateDate": "2026-06-17T17:24:26.4260397-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:24:26.4260397-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-17T17:24:26.4260397-07:00",
"Fields": [
{
"FormTypeFieldId": "8d6a38a2-b3f2-4eda-89e2-1dee04f3c73c",
"Section": {
"FormTypeSectionId": "28f7ef0a-9011-4079-af96-6864debae276",
"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": "7defd670-27e1-407c-90ac-d11fef5c6a3a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d3929289-6c5c-4a52-9079-79b064fae46d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f907b8d4-bf1e-45c9-bd3f-591111ddd28c",
"CreateDate": "2026-06-17T17:24:26.4260397-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:24:26.4260397-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1ca57c7d-cc04-47ec-94c9-b21bf91e2f7b",
"FieldId": "ef752674-107b-49ce-9839-26d9c9bc799c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1ca57c7d-cc04-47ec-94c9-b21bf91e2f7b",
"FieldId": "ef752674-107b-49ce-9839-26d9c9bc799c",
"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": "8d6a38a2-b3f2-4eda-89e2-1dee04f3c73c",
"Section": {
"FormTypeSectionId": "28f7ef0a-9011-4079-af96-6864debae276",
"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": "7defd670-27e1-407c-90ac-d11fef5c6a3a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d3929289-6c5c-4a52-9079-79b064fae46d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f907b8d4-bf1e-45c9-bd3f-591111ddd28c",
"CreateDate": "2026-06-17T17:24:26.4260397-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:24:26.4260397-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1ca57c7d-cc04-47ec-94c9-b21bf91e2f7b",
"FieldId": "ef752674-107b-49ce-9839-26d9c9bc799c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1ca57c7d-cc04-47ec-94c9-b21bf91e2f7b",
"FieldId": "ef752674-107b-49ce-9839-26d9c9bc799c",
"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": "c5578bf2-4c1a-49b1-a4e8-4db03f159af0",
"CreateDate": "2026-06-17T17:24:26.4260397-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:24:26.4260397-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}