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": "f06f9dcb-983a-4b90-bdb7-5bbf5131e9cd",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f717bb70-ee4a-4327-9e45-41efd36a050c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f219f4f7-8c89-48d4-b2f4-c5b2177ebb16",
"CreateDate": "2026-03-30T16:53:02.9671583-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:53:02.9671583-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-30T16:53:02.9671583-07:00",
"Fields": [
{
"FormTypeFieldId": "056c00a5-18b8-46d0-a68d-7761da376531",
"Section": {
"FormTypeSectionId": "2ad06f53-2b31-4e6b-b8de-6d2953e8c249",
"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": "1e543366-9506-483e-ad29-bae1bc26a873",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "121b1be7-21dd-4803-9857-418507c307ef",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f87a35f1-c370-424f-b4b4-6f2831b9f919",
"CreateDate": "2026-03-30T16:53:02.9671583-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:53:02.9671583-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "29bcf1fc-1632-4734-bd74-f62168199e20",
"FieldId": "aeb9fba4-8486-483e-b7f7-72bc820927c0",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "29bcf1fc-1632-4734-bd74-f62168199e20",
"FieldId": "aeb9fba4-8486-483e-b7f7-72bc820927c0",
"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": "056c00a5-18b8-46d0-a68d-7761da376531",
"Section": {
"FormTypeSectionId": "2ad06f53-2b31-4e6b-b8de-6d2953e8c249",
"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": "1e543366-9506-483e-ad29-bae1bc26a873",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "121b1be7-21dd-4803-9857-418507c307ef",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f87a35f1-c370-424f-b4b4-6f2831b9f919",
"CreateDate": "2026-03-30T16:53:02.9671583-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:53:02.9671583-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "29bcf1fc-1632-4734-bd74-f62168199e20",
"FieldId": "aeb9fba4-8486-483e-b7f7-72bc820927c0",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "29bcf1fc-1632-4734-bd74-f62168199e20",
"FieldId": "aeb9fba4-8486-483e-b7f7-72bc820927c0",
"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": "61846f66-dbc3-44ac-a2bf-e299d12769da",
"CreateDate": "2026-03-30T16:53:02.9671583-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:53:02.9671583-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": "7078af6e-44c7-45b3-93d2-2f97b1d4bdc4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2321134e-4497-4e59-82eb-196410d63a5d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1d612e74-a35a-4233-9c5c-c4fefcdd5b8a",
"CreateDate": "2026-03-30T16:53:02.9671583-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:53:02.9671583-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-30T16:53:02.9671583-07:00",
"Fields": [
{
"FormTypeFieldId": "6bd412ba-e549-4649-bf96-c7428238c049",
"Section": {
"FormTypeSectionId": "0e0277c9-cfc4-45e2-8404-dbe11810071a",
"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": "15037542-e8a0-417f-9807-91dd560880a7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e4914c75-86b3-4a43-893b-8f68e803a1e9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3b1c72ec-47c5-4573-b2cb-9251e10dfd2c",
"CreateDate": "2026-03-30T16:53:02.9671583-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:53:02.9671583-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4579439f-3997-499b-952c-1482af1bcbbd",
"FieldId": "5e2cc542-4c88-44e7-953d-b300fbd4118a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4579439f-3997-499b-952c-1482af1bcbbd",
"FieldId": "5e2cc542-4c88-44e7-953d-b300fbd4118a",
"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": "6bd412ba-e549-4649-bf96-c7428238c049",
"Section": {
"FormTypeSectionId": "0e0277c9-cfc4-45e2-8404-dbe11810071a",
"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": "15037542-e8a0-417f-9807-91dd560880a7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e4914c75-86b3-4a43-893b-8f68e803a1e9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3b1c72ec-47c5-4573-b2cb-9251e10dfd2c",
"CreateDate": "2026-03-30T16:53:02.9671583-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:53:02.9671583-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4579439f-3997-499b-952c-1482af1bcbbd",
"FieldId": "5e2cc542-4c88-44e7-953d-b300fbd4118a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4579439f-3997-499b-952c-1482af1bcbbd",
"FieldId": "5e2cc542-4c88-44e7-953d-b300fbd4118a",
"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": "26a81753-49ca-4bb9-a1e9-00be4fe6f02b",
"CreateDate": "2026-03-30T16:53:02.9671583-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:53:02.9671583-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}