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": "f549ffa3-9626-4dd1-8e20-4f11ad80e052",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "65928b93-250a-49d2-a1a2-699e65d95034",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f0e6e947-598a-45c4-871d-6c2d241d04b5",
"CreateDate": "2025-12-23T08:47:15.2203081-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-23T08:47:15.2203081-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-23T08:47:15.2203081-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "63ba0a82-103d-4656-a5c9-f23c5057b865",
"Section": {
"FormTypeSectionId": "41e169fd-e3c0-45a4-8354-690dbe06f5ba",
"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": "7944965e-7f1a-4257-9115-29c5f2860f2b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8df18247-b8e6-4246-a186-f6f47e55d450",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "67a83197-b6ce-4692-96dc-2abd1c500635",
"CreateDate": "2025-12-23T08:47:15.2203081-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-23T08:47:15.2203081-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8f72822f-fd12-4a49-992d-46503a3facce",
"FieldId": "eb311c2e-a916-4d23-986d-49c462083f4f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8f72822f-fd12-4a49-992d-46503a3facce",
"FieldId": "eb311c2e-a916-4d23-986d-49c462083f4f",
"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": "63ba0a82-103d-4656-a5c9-f23c5057b865",
"Section": {
"FormTypeSectionId": "41e169fd-e3c0-45a4-8354-690dbe06f5ba",
"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": "7944965e-7f1a-4257-9115-29c5f2860f2b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8df18247-b8e6-4246-a186-f6f47e55d450",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "67a83197-b6ce-4692-96dc-2abd1c500635",
"CreateDate": "2025-12-23T08:47:15.2203081-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-23T08:47:15.2203081-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8f72822f-fd12-4a49-992d-46503a3facce",
"FieldId": "eb311c2e-a916-4d23-986d-49c462083f4f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8f72822f-fd12-4a49-992d-46503a3facce",
"FieldId": "eb311c2e-a916-4d23-986d-49c462083f4f",
"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": "0a612eb9-19cc-4082-9b56-aebc0017c291",
"CreateDate": "2025-12-23T08:47:15.2203081-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-23T08:47:15.2203081-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": "8070bf8d-9f02-4637-bb1a-3d27c409e61f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ff1729df-f4b5-4044-9dc8-d698e97d4037",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "74509eaf-0267-4b88-8f43-9faacea7a2cc",
"CreateDate": "2025-12-23T08:47:15.2203081-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-23T08:47:15.2203081-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-23T08:47:15.2203081-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "75943343-6c92-4b7c-8da5-ae6c5717156c",
"Section": {
"FormTypeSectionId": "14eaf706-9fdb-4cc9-97eb-695730b52ceb",
"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": "45674766-511f-416e-b784-423fbb467811",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "23d318e0-3dc7-451b-b6bc-0c97f0c92095",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9c627a29-1bbf-49f7-96eb-bf6cbfff5e7f",
"CreateDate": "2025-12-23T08:47:15.2203081-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-23T08:47:15.2203081-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1cc42b24-6e41-4821-8ec0-de2a92468e82",
"FieldId": "dac70309-224c-470f-9b4b-ec3f4b31bf39",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1cc42b24-6e41-4821-8ec0-de2a92468e82",
"FieldId": "dac70309-224c-470f-9b4b-ec3f4b31bf39",
"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": "75943343-6c92-4b7c-8da5-ae6c5717156c",
"Section": {
"FormTypeSectionId": "14eaf706-9fdb-4cc9-97eb-695730b52ceb",
"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": "45674766-511f-416e-b784-423fbb467811",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "23d318e0-3dc7-451b-b6bc-0c97f0c92095",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9c627a29-1bbf-49f7-96eb-bf6cbfff5e7f",
"CreateDate": "2025-12-23T08:47:15.2203081-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-23T08:47:15.2203081-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1cc42b24-6e41-4821-8ec0-de2a92468e82",
"FieldId": "dac70309-224c-470f-9b4b-ec3f4b31bf39",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1cc42b24-6e41-4821-8ec0-de2a92468e82",
"FieldId": "dac70309-224c-470f-9b4b-ec3f4b31bf39",
"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": "679a6ac6-7c79-49e9-ac43-d50a9e7e845a",
"CreateDate": "2025-12-23T08:47:15.2203081-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-23T08:47:15.2203081-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}