PUT FormTypes
Updates the given form type.
Request Information
URI Parameters
None.
Body Parameters
Form type to update
FormTypeName | Description | Type | Additional information |
---|---|---|---|
FormTypeId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
AssetType | AssetType |
None. |
|
FrequencyNeeded | integer |
None. |
|
ValueNeededDate | date |
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": "9ff75f26-beb4-4c0e-af3d-009d677644a6", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "cd744164-1d4b-4f2f-a8b4-939be675ba45", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5b7f01b9-71c2-484f-a1a5-1873154ada2e", "CreateDate": "2025-04-30T13:44:34.2979036-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-30T13:44:34.2979036-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-30T13:44:34.2979036-07:00", "Fields": [ { "FormTypeFieldId": "72537c8a-a536-4db3-b646-3ed2229c2c85", "Section": { "FormTypeSectionId": "190ac1fc-10e7-4214-b847-1fd7e0d2cb7f", "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": "2195e05e-52b3-4a54-b1d9-b5da80bd9237", "Name": "sample string 1" }, "Unit": { "UnitId": "d2709263-5af0-47a9-8427-cdfa248c2cb6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "cdc643c5-0c22-4d86-b874-35e9387cda66", "CreateDate": "2025-04-30T13:44:34.2979036-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T13:44:34.2979036-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "107a4c83-c0d1-45b3-87d1-c2208a70d893", "FieldId": "2f85ebf3-8766-440a-ad14-f5525bf7c4fd", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "107a4c83-c0d1-45b3-87d1-c2208a70d893", "FieldId": "2f85ebf3-8766-440a-ad14-f5525bf7c4fd", "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": "72537c8a-a536-4db3-b646-3ed2229c2c85", "Section": { "FormTypeSectionId": "190ac1fc-10e7-4214-b847-1fd7e0d2cb7f", "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": "2195e05e-52b3-4a54-b1d9-b5da80bd9237", "Name": "sample string 1" }, "Unit": { "UnitId": "d2709263-5af0-47a9-8427-cdfa248c2cb6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "cdc643c5-0c22-4d86-b874-35e9387cda66", "CreateDate": "2025-04-30T13:44:34.2979036-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T13:44:34.2979036-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "107a4c83-c0d1-45b3-87d1-c2208a70d893", "FieldId": "2f85ebf3-8766-440a-ad14-f5525bf7c4fd", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "107a4c83-c0d1-45b3-87d1-c2208a70d893", "FieldId": "2f85ebf3-8766-440a-ad14-f5525bf7c4fd", "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 3", "CompanyId": "fd3cfe54-0003-4880-bf03-947b0c9270d9", "CreateDate": "2025-04-30T13:44:34.2979036-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T13:44:34.2979036-07:00", "LastModifiedUser": "sample string 6" }
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": "4968ae83-8a64-4fdd-b009-e1d33ed7bad5", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "3cfe5552-2e89-4839-88af-30f41083da68", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5b299de9-f1d1-4720-afd3-1a314b47e0a1", "CreateDate": "2025-04-30T13:44:34.2979036-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-30T13:44:34.2979036-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-30T13:44:34.2979036-07:00", "Fields": [ { "FormTypeFieldId": "678925bc-b3e1-4cfd-9cce-6254229a0d56", "Section": { "FormTypeSectionId": "f9444b79-636b-49c5-9238-d87da112fce7", "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": "5110046c-8ead-4d52-9888-56a229843b15", "Name": "sample string 1" }, "Unit": { "UnitId": "54a98f84-c479-44b4-9027-093dce78426e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "cc22b5b9-2e76-48b3-b5cb-89ad5a753394", "CreateDate": "2025-04-30T13:44:34.2979036-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T13:44:34.2979036-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "22b97d92-1983-46f3-9017-f16ce32af4e9", "FieldId": "0ef779d7-5e8e-4717-8743-4122fe090af2", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "22b97d92-1983-46f3-9017-f16ce32af4e9", "FieldId": "0ef779d7-5e8e-4717-8743-4122fe090af2", "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": "678925bc-b3e1-4cfd-9cce-6254229a0d56", "Section": { "FormTypeSectionId": "f9444b79-636b-49c5-9238-d87da112fce7", "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": "5110046c-8ead-4d52-9888-56a229843b15", "Name": "sample string 1" }, "Unit": { "UnitId": "54a98f84-c479-44b4-9027-093dce78426e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "cc22b5b9-2e76-48b3-b5cb-89ad5a753394", "CreateDate": "2025-04-30T13:44:34.2979036-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T13:44:34.2979036-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "22b97d92-1983-46f3-9017-f16ce32af4e9", "FieldId": "0ef779d7-5e8e-4717-8743-4122fe090af2", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "22b97d92-1983-46f3-9017-f16ce32af4e9", "FieldId": "0ef779d7-5e8e-4717-8743-4122fe090af2", "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 3", "CompanyId": "fef13ade-f736-47df-a402-6243b373a57a", "CreateDate": "2025-04-30T13:44:34.2979036-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T13:44:34.2979036-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }