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": "68f1ddf5-3d6d-42d7-8f91-0944371d5861",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b4355906-f0ac-4087-a090-bd8941b54f07",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5252abc6-cdfd-4076-970c-41dcd2e99f02",
"CreateDate": "2026-06-22T01:37:05.2807908-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:37:05.2807908-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-22T01:37:05.2807908-07:00",
"Fields": [
{
"FormTypeFieldId": "eb709c82-177c-4bcb-937a-946280f736f9",
"Section": {
"FormTypeSectionId": "82cfc041-b67e-4c44-997a-dc5d85e51636",
"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": "f4567078-6f9d-4074-b0fe-5549c2c1e256",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "94fdd3ce-fbb0-4675-a8e5-c6a10f81912d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "407c2da6-759c-47cc-a559-0d74a57079a7",
"CreateDate": "2026-06-22T01:37:05.2807908-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:37:05.2807908-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0fe3dd8c-9a76-426f-8ee1-785829ff8fea",
"FieldId": "999790ca-b72b-4abc-baf4-a33bade60c83",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0fe3dd8c-9a76-426f-8ee1-785829ff8fea",
"FieldId": "999790ca-b72b-4abc-baf4-a33bade60c83",
"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": "eb709c82-177c-4bcb-937a-946280f736f9",
"Section": {
"FormTypeSectionId": "82cfc041-b67e-4c44-997a-dc5d85e51636",
"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": "f4567078-6f9d-4074-b0fe-5549c2c1e256",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "94fdd3ce-fbb0-4675-a8e5-c6a10f81912d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "407c2da6-759c-47cc-a559-0d74a57079a7",
"CreateDate": "2026-06-22T01:37:05.2807908-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:37:05.2807908-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0fe3dd8c-9a76-426f-8ee1-785829ff8fea",
"FieldId": "999790ca-b72b-4abc-baf4-a33bade60c83",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0fe3dd8c-9a76-426f-8ee1-785829ff8fea",
"FieldId": "999790ca-b72b-4abc-baf4-a33bade60c83",
"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": "c802416d-0b88-41c9-b3fe-bf05793c3c3a",
"CreateDate": "2026-06-22T01:37:05.2807908-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:37:05.2807908-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": "83eaec25-cf71-4e54-b3ae-94b18f6c5820",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8444cef0-4ae7-4580-893f-d82f58252185",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "15111ed8-4b2d-471d-9eb4-ba89b062a2d8",
"CreateDate": "2026-06-22T01:37:05.2807908-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T01:37:05.2807908-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-22T01:37:05.2807908-07:00",
"Fields": [
{
"FormTypeFieldId": "7be15cb6-a2c3-4e4d-a568-b9690173db8f",
"Section": {
"FormTypeSectionId": "4814a1cd-0dc8-4f07-b374-9203013212d0",
"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": "119367ec-de05-45bd-b559-bdaf51e51ab7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "26bfe4ae-6fd7-4cd8-a9de-bc7cc56c1948",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5ad05504-23e8-465f-8ee2-425acaeb4f93",
"CreateDate": "2026-06-22T01:37:05.2807908-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:37:05.2807908-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9ad73b7a-7055-492c-9d0d-4eae8dd1cf49",
"FieldId": "6e3a1cf3-22ad-4a7f-994b-05856b675669",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9ad73b7a-7055-492c-9d0d-4eae8dd1cf49",
"FieldId": "6e3a1cf3-22ad-4a7f-994b-05856b675669",
"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": "7be15cb6-a2c3-4e4d-a568-b9690173db8f",
"Section": {
"FormTypeSectionId": "4814a1cd-0dc8-4f07-b374-9203013212d0",
"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": "119367ec-de05-45bd-b559-bdaf51e51ab7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "26bfe4ae-6fd7-4cd8-a9de-bc7cc56c1948",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5ad05504-23e8-465f-8ee2-425acaeb4f93",
"CreateDate": "2026-06-22T01:37:05.2807908-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:37:05.2807908-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9ad73b7a-7055-492c-9d0d-4eae8dd1cf49",
"FieldId": "6e3a1cf3-22ad-4a7f-994b-05856b675669",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9ad73b7a-7055-492c-9d0d-4eae8dd1cf49",
"FieldId": "6e3a1cf3-22ad-4a7f-994b-05856b675669",
"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": "43d6bfa6-bbfa-4905-a1e7-20ecc8d63adc",
"CreateDate": "2026-06-22T01:37:05.2807908-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T01:37:05.2807908-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}