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. |
|
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": "e68386d7-ddb1-4466-8d79-1e4d067911c9", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "b9b811a0-78e9-4e7e-87a3-d37ae3f4a040", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "82ebf586-d674-4fdd-9161-1295927cb188", "CreateDate": "2025-09-14T21:45:06.2102014-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-14T21:45:06.2102014-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-09-14T21:45:06.2102014-07:00", "Active": true, "Fields": [ { "FormTypeFieldId": "150b7f11-8b40-48e7-96ca-13e5e62180d6", "Section": { "FormTypeSectionId": "06029d7c-9bee-4cf7-9cf5-dde47e0dd727", "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": "ca7ebb19-65bd-470d-bba0-f14fdcc56863", "Name": "sample string 1" }, "Unit": { "UnitId": "d4b049c2-1bc2-4272-8115-074ab9ad77f9", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0c1e140d-20ff-4ccd-a1aa-d38e25defd5e", "CreateDate": "2025-09-14T21:45:06.2102014-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-14T21:45:06.2102014-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "e9db1989-3348-437a-992b-e169bfbbd573", "FieldId": "e86de495-bda1-481a-a08e-373dfd899f5e", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "e9db1989-3348-437a-992b-e169bfbbd573", "FieldId": "e86de495-bda1-481a-a08e-373dfd899f5e", "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": "150b7f11-8b40-48e7-96ca-13e5e62180d6", "Section": { "FormTypeSectionId": "06029d7c-9bee-4cf7-9cf5-dde47e0dd727", "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": "ca7ebb19-65bd-470d-bba0-f14fdcc56863", "Name": "sample string 1" }, "Unit": { "UnitId": "d4b049c2-1bc2-4272-8115-074ab9ad77f9", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0c1e140d-20ff-4ccd-a1aa-d38e25defd5e", "CreateDate": "2025-09-14T21:45:06.2102014-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-14T21:45:06.2102014-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "e9db1989-3348-437a-992b-e169bfbbd573", "FieldId": "e86de495-bda1-481a-a08e-373dfd899f5e", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "e9db1989-3348-437a-992b-e169bfbbd573", "FieldId": "e86de495-bda1-481a-a08e-373dfd899f5e", "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": "7ffcbba1-cc1b-41ff-b781-dfe702507ca8", "CreateDate": "2025-09-14T21:45:06.2102014-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-14T21:45:06.2102014-07: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": "4a96176b-d147-483d-a68a-7152ceddc967", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0ddda2fd-e98a-4c85-94bf-4629fee5cf9c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6d516cba-b89c-4b15-a09e-902c520f2546", "CreateDate": "2025-09-14T21:45:06.2102014-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-14T21:45:06.2102014-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-09-14T21:45:06.2102014-07:00", "Active": true, "Fields": [ { "FormTypeFieldId": "42c8cc9e-0bb7-459f-933c-863cc0605b20", "Section": { "FormTypeSectionId": "c24606d5-0739-4baa-b4fc-48c74a8fb7a6", "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": "72c4de04-3767-4e2d-844a-2ef91a210e75", "Name": "sample string 1" }, "Unit": { "UnitId": "2e3f10ad-055b-46a7-a8b4-3f9c9f445124", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bcdc2823-c0c7-49b8-819f-222e2c472897", "CreateDate": "2025-09-14T21:45:06.2102014-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-14T21:45:06.2102014-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "6b434709-d7df-419f-abe0-825f13cda4af", "FieldId": "b968758d-f7ec-48c9-b0bf-992c848e9565", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "6b434709-d7df-419f-abe0-825f13cda4af", "FieldId": "b968758d-f7ec-48c9-b0bf-992c848e9565", "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": "42c8cc9e-0bb7-459f-933c-863cc0605b20", "Section": { "FormTypeSectionId": "c24606d5-0739-4baa-b4fc-48c74a8fb7a6", "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": "72c4de04-3767-4e2d-844a-2ef91a210e75", "Name": "sample string 1" }, "Unit": { "UnitId": "2e3f10ad-055b-46a7-a8b4-3f9c9f445124", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bcdc2823-c0c7-49b8-819f-222e2c472897", "CreateDate": "2025-09-14T21:45:06.2102014-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-14T21:45:06.2102014-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "6b434709-d7df-419f-abe0-825f13cda4af", "FieldId": "b968758d-f7ec-48c9-b0bf-992c848e9565", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "6b434709-d7df-419f-abe0-825f13cda4af", "FieldId": "b968758d-f7ec-48c9-b0bf-992c848e9565", "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": "694816a1-5b0b-4efa-a4d2-9da21ef6a047", "CreateDate": "2025-09-14T21:45:06.2102014-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-14T21:45:06.2102014-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }