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": "b422d124-880c-4737-8bdf-c6f1910cb1af",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7097e510-5486-4a61-a799-3a6dde9cb25a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9bc01f4c-5f44-45ca-bc7f-fc5956a492dc",
"CreateDate": "2025-11-04T17:16:02.684546-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:16:02.684546-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-04T17:16:02.684546-08:00",
"Fields": [
{
"FormTypeFieldId": "8598465a-55cd-477c-bc5a-a635e3cc59e0",
"Section": {
"FormTypeSectionId": "cfded0df-80b9-4d75-a176-0a435695eee0",
"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": "fe5eef08-e19e-4a5e-b34e-c12bc4258465",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3aebc9df-9dd0-4f03-a952-2c4080904ca5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "30c73e42-a006-42ff-aa1b-7909bd6eaafd",
"CreateDate": "2025-11-04T17:16:02.684546-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:16:02.684546-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "512372c7-45eb-43aa-af36-d75ee632a5b7",
"FieldId": "ca8bbc10-836e-4e1b-8243-db3d6ddf3e8e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "512372c7-45eb-43aa-af36-d75ee632a5b7",
"FieldId": "ca8bbc10-836e-4e1b-8243-db3d6ddf3e8e",
"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": "8598465a-55cd-477c-bc5a-a635e3cc59e0",
"Section": {
"FormTypeSectionId": "cfded0df-80b9-4d75-a176-0a435695eee0",
"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": "fe5eef08-e19e-4a5e-b34e-c12bc4258465",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3aebc9df-9dd0-4f03-a952-2c4080904ca5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "30c73e42-a006-42ff-aa1b-7909bd6eaafd",
"CreateDate": "2025-11-04T17:16:02.684546-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:16:02.684546-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "512372c7-45eb-43aa-af36-d75ee632a5b7",
"FieldId": "ca8bbc10-836e-4e1b-8243-db3d6ddf3e8e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "512372c7-45eb-43aa-af36-d75ee632a5b7",
"FieldId": "ca8bbc10-836e-4e1b-8243-db3d6ddf3e8e",
"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": "72082ef1-340d-4fc7-8b59-a4f341c825d7",
"CreateDate": "2025-11-04T17:16:02.684546-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:16:02.684546-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": "3d1c8141-1516-4498-a661-8e2829c1c091",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6cddb68d-fdc0-49b2-aa4a-e68f5020e89e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c5b0656a-07fc-490b-b836-bfed00a8a6e5",
"CreateDate": "2025-11-04T17:16:02.684546-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:16:02.684546-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-04T17:16:02.684546-08:00",
"Fields": [
{
"FormTypeFieldId": "c4b3a353-6537-422f-b5b6-d2ae1e351a9c",
"Section": {
"FormTypeSectionId": "d36a8660-60ef-4623-a6b4-7c747fa126a9",
"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": "46642099-836c-4302-8932-6d206e13737f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "cf0a5146-5fa1-4416-922c-7bc64661ed04",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "63d95d5c-46cd-4b9e-bb3f-ec2795d48329",
"CreateDate": "2025-11-04T17:16:02.684546-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:16:02.684546-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ccfa61d2-c85e-48d2-9917-ddd9bb09ab8f",
"FieldId": "fe9970fc-e387-47a1-8f92-b2519b3a1cc5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ccfa61d2-c85e-48d2-9917-ddd9bb09ab8f",
"FieldId": "fe9970fc-e387-47a1-8f92-b2519b3a1cc5",
"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": "c4b3a353-6537-422f-b5b6-d2ae1e351a9c",
"Section": {
"FormTypeSectionId": "d36a8660-60ef-4623-a6b4-7c747fa126a9",
"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": "46642099-836c-4302-8932-6d206e13737f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "cf0a5146-5fa1-4416-922c-7bc64661ed04",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "63d95d5c-46cd-4b9e-bb3f-ec2795d48329",
"CreateDate": "2025-11-04T17:16:02.684546-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:16:02.684546-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ccfa61d2-c85e-48d2-9917-ddd9bb09ab8f",
"FieldId": "fe9970fc-e387-47a1-8f92-b2519b3a1cc5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ccfa61d2-c85e-48d2-9917-ddd9bb09ab8f",
"FieldId": "fe9970fc-e387-47a1-8f92-b2519b3a1cc5",
"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": "fa666b88-7326-4006-9fb6-5e941c758fb6",
"CreateDate": "2025-11-04T17:16:02.684546-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:16:02.684546-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}