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. |
|
| Active | boolean |
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": "0f52a755-92cb-4799-b163-c10252eabe74",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "da96adb1-b1fc-4df8-b542-c2d544a1312c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "891206a1-6929-413a-8e77-f19c6b9f4672",
"CreateDate": "2025-12-31T16:38:10.2041439-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T16:38:10.2041439-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-31T16:38:10.2041439-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "337f2007-fc51-4795-98eb-012477fcf8bc",
"Section": {
"FormTypeSectionId": "88a73ce5-1244-435d-8e32-3ea8776c9e55",
"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": "0be2c4c8-181e-432a-8958-d0b665151e3c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f0835afa-d6c7-4fac-9a8d-096a928bd719",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "114482e5-4036-4b8d-be50-34c3e40a0102",
"CreateDate": "2025-12-31T16:38:10.2041439-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T16:38:10.2041439-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "33ec9f20-0f57-4df5-b552-377646645f31",
"FieldId": "bc9a3131-aa9c-4d2b-ba6d-2c970993dc03",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "33ec9f20-0f57-4df5-b552-377646645f31",
"FieldId": "bc9a3131-aa9c-4d2b-ba6d-2c970993dc03",
"FieldName": "sample string 1",
"FieldLabel": "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": "337f2007-fc51-4795-98eb-012477fcf8bc",
"Section": {
"FormTypeSectionId": "88a73ce5-1244-435d-8e32-3ea8776c9e55",
"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": "0be2c4c8-181e-432a-8958-d0b665151e3c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f0835afa-d6c7-4fac-9a8d-096a928bd719",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "114482e5-4036-4b8d-be50-34c3e40a0102",
"CreateDate": "2025-12-31T16:38:10.2041439-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T16:38:10.2041439-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "33ec9f20-0f57-4df5-b552-377646645f31",
"FieldId": "bc9a3131-aa9c-4d2b-ba6d-2c970993dc03",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "33ec9f20-0f57-4df5-b552-377646645f31",
"FieldId": "bc9a3131-aa9c-4d2b-ba6d-2c970993dc03",
"FieldName": "sample string 1",
"FieldLabel": "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 4",
"CompanyId": "cb1b2ba9-3750-42c1-86ff-c2f4cef7aa9b",
"CreateDate": "2025-12-31T16:38:10.2041439-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T16:38:10.2041439-08:00",
"LastModifiedUser": "sample string 7"
}
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": "4a1ac1ef-dd1c-4131-b3d4-9290ba2b73ee",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ea71e312-ec33-452e-9f88-a490f71d7888",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "02b85ac8-2194-4b49-81a8-884d7a876fa4",
"CreateDate": "2025-12-31T16:38:10.2041439-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T16:38:10.2041439-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-31T16:38:10.2041439-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "11d227b9-a2cc-496c-8fed-1636992bd67f",
"Section": {
"FormTypeSectionId": "ccea85cb-6c07-4a51-b7de-96eae63f9789",
"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": "70ddf657-86da-497b-936c-8e619e764e89",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5ef1be9e-d006-4b41-b08e-0c4203a668e4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e6e9b689-a841-4b80-8838-bdf40b911153",
"CreateDate": "2025-12-31T16:38:10.2041439-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T16:38:10.2041439-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c465dec5-64b8-4fa0-8433-ba9ec0e3ce48",
"FieldId": "6e53702c-7453-4a71-acf0-0bf18a679602",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c465dec5-64b8-4fa0-8433-ba9ec0e3ce48",
"FieldId": "6e53702c-7453-4a71-acf0-0bf18a679602",
"FieldName": "sample string 1",
"FieldLabel": "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": "11d227b9-a2cc-496c-8fed-1636992bd67f",
"Section": {
"FormTypeSectionId": "ccea85cb-6c07-4a51-b7de-96eae63f9789",
"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": "70ddf657-86da-497b-936c-8e619e764e89",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5ef1be9e-d006-4b41-b08e-0c4203a668e4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e6e9b689-a841-4b80-8838-bdf40b911153",
"CreateDate": "2025-12-31T16:38:10.2041439-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T16:38:10.2041439-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c465dec5-64b8-4fa0-8433-ba9ec0e3ce48",
"FieldId": "6e53702c-7453-4a71-acf0-0bf18a679602",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c465dec5-64b8-4fa0-8433-ba9ec0e3ce48",
"FieldId": "6e53702c-7453-4a71-acf0-0bf18a679602",
"FieldName": "sample string 1",
"FieldLabel": "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 4",
"CompanyId": "a2a7dd7e-5952-471f-b882-6c464fc52749",
"CreateDate": "2025-12-31T16:38:10.2041439-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T16:38:10.2041439-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}