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": "4c1b3312-172e-4a50-95b0-22f0ed9d526e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "56b09e80-3616-4bd2-9df6-5af8291a2213",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "39193f69-b269-4b01-ad60-e78fbc8c8633",
"CreateDate": "2025-12-12T16:07:45.0187415-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-12T16:07:45.0187415-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-12T16:07:45.0187415-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "20f64d4c-c603-4d6b-9656-457c3c2be91c",
"Section": {
"FormTypeSectionId": "60a770f1-f07f-4a71-9355-a2e6be71fb94",
"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": "ebe75920-665f-4920-9ec5-c6411168554b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "186f6d73-3aa4-4195-ab76-db4344a543c3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e6f3d2a6-5529-49e1-b24a-9146604e628b",
"CreateDate": "2025-12-12T16:07:45.0187415-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-12T16:07:45.0187415-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "cf998331-b8c7-4cde-a7f8-85d7c787e364",
"FieldId": "35b3a370-345c-44b5-80c4-6a19c704237f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "cf998331-b8c7-4cde-a7f8-85d7c787e364",
"FieldId": "35b3a370-345c-44b5-80c4-6a19c704237f",
"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": "20f64d4c-c603-4d6b-9656-457c3c2be91c",
"Section": {
"FormTypeSectionId": "60a770f1-f07f-4a71-9355-a2e6be71fb94",
"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": "ebe75920-665f-4920-9ec5-c6411168554b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "186f6d73-3aa4-4195-ab76-db4344a543c3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e6f3d2a6-5529-49e1-b24a-9146604e628b",
"CreateDate": "2025-12-12T16:07:45.0187415-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-12T16:07:45.0187415-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "cf998331-b8c7-4cde-a7f8-85d7c787e364",
"FieldId": "35b3a370-345c-44b5-80c4-6a19c704237f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "cf998331-b8c7-4cde-a7f8-85d7c787e364",
"FieldId": "35b3a370-345c-44b5-80c4-6a19c704237f",
"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": "cbf409de-5f36-4efb-b303-5ec74d511c07",
"CreateDate": "2025-12-12T16:07:45.0187415-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-12T16:07:45.0187415-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": "59cef254-0159-488e-8ec2-ee921a9a4087",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e1859479-4562-4769-8254-b3c4104466e7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "360441ea-87ee-496e-8857-9454fc25aa51",
"CreateDate": "2025-12-12T16:07:45.0187415-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-12T16:07:45.0187415-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-12T16:07:45.0187415-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "fb91c31a-1979-43a3-9abf-ba2bb73d8d07",
"Section": {
"FormTypeSectionId": "5df706d1-8c22-45be-9b35-c8ef5cae425a",
"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": "430a1c04-564c-4ed1-9548-31d0bd95405b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "536231ac-0ff5-4903-8b9d-30e408d50b65",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9e8ef9b5-823f-416d-a59a-aa2d72efcafc",
"CreateDate": "2025-12-12T16:07:45.0187415-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-12T16:07:45.0187415-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4f5bbe01-4dd0-4e51-8df5-5b8af5ec3482",
"FieldId": "129b2e0c-d036-4031-8ac2-b8856e3e2aa1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4f5bbe01-4dd0-4e51-8df5-5b8af5ec3482",
"FieldId": "129b2e0c-d036-4031-8ac2-b8856e3e2aa1",
"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": "fb91c31a-1979-43a3-9abf-ba2bb73d8d07",
"Section": {
"FormTypeSectionId": "5df706d1-8c22-45be-9b35-c8ef5cae425a",
"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": "430a1c04-564c-4ed1-9548-31d0bd95405b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "536231ac-0ff5-4903-8b9d-30e408d50b65",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9e8ef9b5-823f-416d-a59a-aa2d72efcafc",
"CreateDate": "2025-12-12T16:07:45.0187415-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-12T16:07:45.0187415-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4f5bbe01-4dd0-4e51-8df5-5b8af5ec3482",
"FieldId": "129b2e0c-d036-4031-8ac2-b8856e3e2aa1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4f5bbe01-4dd0-4e51-8df5-5b8af5ec3482",
"FieldId": "129b2e0c-d036-4031-8ac2-b8856e3e2aa1",
"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": "c2143a94-a665-4a30-9c64-f583f12556ac",
"CreateDate": "2025-12-12T16:07:45.0187415-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-12T16:07:45.0187415-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}