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": "6cb12543-1da0-4584-8b82-01f32c43ee4c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "72a4a121-3ffb-4fac-965c-7e20733f90ae",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4f8700b8-4405-46fd-9d20-a9ddc8e204dd",
"CreateDate": "2025-12-24T06:50:26.4319158-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-24T06:50:26.4319158-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-24T06:50:26.4319158-08:00",
"Fields": [
{
"FormTypeFieldId": "70034ee2-f037-4845-9fa1-610c5e605bcd",
"Section": {
"FormTypeSectionId": "e2cc9cc6-2c30-441e-b14b-c98955c89af2",
"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": "af253cf2-cfbc-4470-9e88-1936e0cb7ba0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "59c830ea-53a6-401f-bb00-e23263e75fb8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "66e6785d-d37d-4259-8bc1-1377af023c93",
"CreateDate": "2025-12-24T06:50:26.4319158-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-24T06:50:26.4319158-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e879e0a9-6769-475a-a2c8-c1b0d3c666a7",
"FieldId": "3c9f8828-5761-4c7b-9bd3-8ed0fa48a296",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e879e0a9-6769-475a-a2c8-c1b0d3c666a7",
"FieldId": "3c9f8828-5761-4c7b-9bd3-8ed0fa48a296",
"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": "70034ee2-f037-4845-9fa1-610c5e605bcd",
"Section": {
"FormTypeSectionId": "e2cc9cc6-2c30-441e-b14b-c98955c89af2",
"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": "af253cf2-cfbc-4470-9e88-1936e0cb7ba0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "59c830ea-53a6-401f-bb00-e23263e75fb8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "66e6785d-d37d-4259-8bc1-1377af023c93",
"CreateDate": "2025-12-24T06:50:26.4319158-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-24T06:50:26.4319158-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e879e0a9-6769-475a-a2c8-c1b0d3c666a7",
"FieldId": "3c9f8828-5761-4c7b-9bd3-8ed0fa48a296",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e879e0a9-6769-475a-a2c8-c1b0d3c666a7",
"FieldId": "3c9f8828-5761-4c7b-9bd3-8ed0fa48a296",
"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": "1a31d925-6561-4f60-84f1-ca45fead600f",
"CreateDate": "2025-12-24T06:50:26.4319158-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-24T06:50:26.4319158-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": "c58d9edb-2a19-46bc-8891-1f69d6ccc2aa",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "184c2d0c-425a-4158-8134-3977b170dd2a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c8e044de-5ef1-4959-9a05-daf8c87074ac",
"CreateDate": "2025-12-24T06:50:26.4319158-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-24T06:50:26.4319158-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-24T06:50:26.4319158-08:00",
"Fields": [
{
"FormTypeFieldId": "34c74afa-7ba3-48c5-9f0e-de9814d57451",
"Section": {
"FormTypeSectionId": "0872352e-d3f5-40de-90b6-2f1808ff2783",
"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": "b6c29547-60f7-4280-b294-6c1fc13de717",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "24d550e2-6905-42d7-8de1-54b46cb9fc7f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b83848a7-26c2-4ab7-bb53-a179e75443fb",
"CreateDate": "2025-12-24T06:50:26.4319158-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-24T06:50:26.4319158-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c962a1bf-c9ca-434e-bdd2-26ae4c9fc615",
"FieldId": "cbced617-03bb-42ce-89f6-6c3725893509",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c962a1bf-c9ca-434e-bdd2-26ae4c9fc615",
"FieldId": "cbced617-03bb-42ce-89f6-6c3725893509",
"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": "34c74afa-7ba3-48c5-9f0e-de9814d57451",
"Section": {
"FormTypeSectionId": "0872352e-d3f5-40de-90b6-2f1808ff2783",
"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": "b6c29547-60f7-4280-b294-6c1fc13de717",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "24d550e2-6905-42d7-8de1-54b46cb9fc7f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b83848a7-26c2-4ab7-bb53-a179e75443fb",
"CreateDate": "2025-12-24T06:50:26.4319158-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-24T06:50:26.4319158-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c962a1bf-c9ca-434e-bdd2-26ae4c9fc615",
"FieldId": "cbced617-03bb-42ce-89f6-6c3725893509",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c962a1bf-c9ca-434e-bdd2-26ae4c9fc615",
"FieldId": "cbced617-03bb-42ce-89f6-6c3725893509",
"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": "e6d265a1-7422-48f6-99b6-8b2d045b235c",
"CreateDate": "2025-12-24T06:50:26.4319158-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-24T06:50:26.4319158-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}