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": "35125369-88f9-4779-839d-a5212cb68198",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c50b3316-c8d3-4744-8a99-767c77597e4a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4957391c-edd6-4e63-b7bd-b8e204e7c75b",
"CreateDate": "2025-12-08T15:39:23.3404852-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-08T15:39:23.3404852-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-08T15:39:23.3404852-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "4ba8a777-c68e-4f13-a112-39babf57b3f4",
"Section": {
"FormTypeSectionId": "f4262cf1-8ae2-4de5-9f87-b066b94665d3",
"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": "63b0f743-36c0-4b13-8214-4370311c3fda",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b586a7b8-225d-478b-ad04-d6326d04eb92",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6514e1a8-56d3-4962-81fa-0f435fbccb8d",
"CreateDate": "2025-12-08T15:39:23.3404852-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-08T15:39:23.3404852-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "71dc00dc-8963-4e64-8de2-25b80469de6a",
"FieldId": "3c1781e7-4a8b-41b9-9842-b0bd6d2e8d3f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "71dc00dc-8963-4e64-8de2-25b80469de6a",
"FieldId": "3c1781e7-4a8b-41b9-9842-b0bd6d2e8d3f",
"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": "4ba8a777-c68e-4f13-a112-39babf57b3f4",
"Section": {
"FormTypeSectionId": "f4262cf1-8ae2-4de5-9f87-b066b94665d3",
"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": "63b0f743-36c0-4b13-8214-4370311c3fda",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b586a7b8-225d-478b-ad04-d6326d04eb92",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6514e1a8-56d3-4962-81fa-0f435fbccb8d",
"CreateDate": "2025-12-08T15:39:23.3404852-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-08T15:39:23.3404852-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "71dc00dc-8963-4e64-8de2-25b80469de6a",
"FieldId": "3c1781e7-4a8b-41b9-9842-b0bd6d2e8d3f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "71dc00dc-8963-4e64-8de2-25b80469de6a",
"FieldId": "3c1781e7-4a8b-41b9-9842-b0bd6d2e8d3f",
"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": "e30ad010-7759-4138-8c29-6fb2c77fdb75",
"CreateDate": "2025-12-08T15:39:23.3404852-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-08T15:39:23.3404852-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": "f115c30f-2181-42fd-a967-c4e190d0f84f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8abbfe8a-7d8a-47c2-be8d-581fcc098a9e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "39c23ea7-78a2-45f2-a786-2424583f5377",
"CreateDate": "2025-12-08T15:39:23.3404852-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-08T15:39:23.3404852-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-08T15:39:23.3404852-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "0a33e8f2-d487-441b-a271-149925b67b16",
"Section": {
"FormTypeSectionId": "3d81cb0f-7c85-451c-959f-f53a280926c2",
"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": "5d606eee-0478-46e3-a08f-4412797027e5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "57fb5e56-8789-409a-9a8d-97f626360d3d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f49e6e9e-39ea-403b-967a-8cfb55d38134",
"CreateDate": "2025-12-08T15:39:23.3404852-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-08T15:39:23.3404852-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "dc7d3dd4-12e1-488e-9d57-cc012b88f2e7",
"FieldId": "2bb2a6a4-8364-480c-ad04-89f5ab567aee",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "dc7d3dd4-12e1-488e-9d57-cc012b88f2e7",
"FieldId": "2bb2a6a4-8364-480c-ad04-89f5ab567aee",
"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": "0a33e8f2-d487-441b-a271-149925b67b16",
"Section": {
"FormTypeSectionId": "3d81cb0f-7c85-451c-959f-f53a280926c2",
"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": "5d606eee-0478-46e3-a08f-4412797027e5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "57fb5e56-8789-409a-9a8d-97f626360d3d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f49e6e9e-39ea-403b-967a-8cfb55d38134",
"CreateDate": "2025-12-08T15:39:23.3404852-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-08T15:39:23.3404852-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "dc7d3dd4-12e1-488e-9d57-cc012b88f2e7",
"FieldId": "2bb2a6a4-8364-480c-ad04-89f5ab567aee",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "dc7d3dd4-12e1-488e-9d57-cc012b88f2e7",
"FieldId": "2bb2a6a4-8364-480c-ad04-89f5ab567aee",
"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": "f643accb-0064-4c47-b4e1-dda0f22cc1ad",
"CreateDate": "2025-12-08T15:39:23.3404852-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-08T15:39:23.3404852-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}