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": "f522e060-41fb-45a1-977e-3833277abfb7",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b8df3139-a262-4bc7-af80-b52c4272b69c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cf78fb52-314b-4ed8-815d-e899d125127b",
"CreateDate": "2025-11-08T04:59:40.3773558-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-08T04:59:40.3773558-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-08T04:59:40.3773558-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "8f574e70-4d90-4734-94d0-6a8827ee28e7",
"Section": {
"FormTypeSectionId": "a5090a9b-339e-449d-9176-3f07f782df50",
"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": "dffe2436-2dea-47e9-9833-c2fe2aee6571",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "069c011c-485f-47cd-87fb-0b1f95a06af0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "58cc88f6-0f72-445d-84cf-b7eb73699932",
"CreateDate": "2025-11-08T04:59:40.3773558-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-08T04:59:40.3773558-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d9258816-e9c0-4379-953b-4f708dfdc6e0",
"FieldId": "10a133d7-156e-4944-8c9e-d3cf08b9ac9c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d9258816-e9c0-4379-953b-4f708dfdc6e0",
"FieldId": "10a133d7-156e-4944-8c9e-d3cf08b9ac9c",
"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": "8f574e70-4d90-4734-94d0-6a8827ee28e7",
"Section": {
"FormTypeSectionId": "a5090a9b-339e-449d-9176-3f07f782df50",
"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": "dffe2436-2dea-47e9-9833-c2fe2aee6571",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "069c011c-485f-47cd-87fb-0b1f95a06af0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "58cc88f6-0f72-445d-84cf-b7eb73699932",
"CreateDate": "2025-11-08T04:59:40.3773558-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-08T04:59:40.3773558-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d9258816-e9c0-4379-953b-4f708dfdc6e0",
"FieldId": "10a133d7-156e-4944-8c9e-d3cf08b9ac9c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d9258816-e9c0-4379-953b-4f708dfdc6e0",
"FieldId": "10a133d7-156e-4944-8c9e-d3cf08b9ac9c",
"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": "dc756cf3-fbd7-4962-bb21-085c47464a16",
"CreateDate": "2025-11-08T04:59:40.3773558-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-08T04:59:40.3773558-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": "cd13091d-e538-4536-8932-ef946feb50e8",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7bc925c2-c94a-4ef5-809c-683383d247cf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cef3657d-eafb-47ad-bb93-cf106f9014a6",
"CreateDate": "2025-11-08T04:59:40.3773558-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-08T04:59:40.3773558-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-08T04:59:40.3773558-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "f71af315-d609-450f-9f85-ad1322db3756",
"Section": {
"FormTypeSectionId": "4244613c-c718-4fa0-8f19-003d055869b7",
"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": "95b1dd7a-fb4d-43fc-a793-d6f6e42c425a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bfc42441-aded-47a3-b767-c706c7329a88",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4d273f71-9221-48ec-9850-7211bb731229",
"CreateDate": "2025-11-08T04:59:40.3773558-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-08T04:59:40.3773558-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "441a191e-fd95-4e57-8614-261c05f245ee",
"FieldId": "2c537000-ef7e-4af0-9db3-d8f4f1d12dba",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "441a191e-fd95-4e57-8614-261c05f245ee",
"FieldId": "2c537000-ef7e-4af0-9db3-d8f4f1d12dba",
"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": "f71af315-d609-450f-9f85-ad1322db3756",
"Section": {
"FormTypeSectionId": "4244613c-c718-4fa0-8f19-003d055869b7",
"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": "95b1dd7a-fb4d-43fc-a793-d6f6e42c425a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bfc42441-aded-47a3-b767-c706c7329a88",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4d273f71-9221-48ec-9850-7211bb731229",
"CreateDate": "2025-11-08T04:59:40.3773558-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-08T04:59:40.3773558-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "441a191e-fd95-4e57-8614-261c05f245ee",
"FieldId": "2c537000-ef7e-4af0-9db3-d8f4f1d12dba",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "441a191e-fd95-4e57-8614-261c05f245ee",
"FieldId": "2c537000-ef7e-4af0-9db3-d8f4f1d12dba",
"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": "5db5979f-8e37-4d2a-942e-85bd90615056",
"CreateDate": "2025-11-08T04:59:40.3773558-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-08T04:59:40.3773558-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}