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": "a4d55e63-3413-4935-aa22-c34436933ee3", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bd02a49c-2298-4777-80d9-b24f0ce7acad", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "162a129f-68c4-4774-b104-20048faa65e9", "CreateDate": "2025-04-03T15:13:31.7018834-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:13:31.7018834-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-03T15:13:31.7018834-07:00", "Fields": [ { "FormTypeFieldId": "742d06d5-b100-4d3c-b3eb-f6dfe30e20b1", "Section": { "FormTypeSectionId": "14a01bc8-a969-4898-8c15-2fc3df9db237", "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": "73f8d98f-7cbd-42d1-83f1-7c27798cc2ca", "Name": "sample string 1" }, "Unit": { "UnitId": "770979fb-7b71-4054-9e5f-9b11e337b5da", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e556e1b5-b50c-4e8b-9ba1-8c6cfb535d89", "CreateDate": "2025-04-03T15:13:31.7018834-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:13:31.7018834-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "e3e0072d-9ff2-476e-a2af-2d909fc5016c", "FieldId": "e14c8d6d-58fe-4e3d-a92b-c954504df871", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "e3e0072d-9ff2-476e-a2af-2d909fc5016c", "FieldId": "e14c8d6d-58fe-4e3d-a92b-c954504df871", "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": "742d06d5-b100-4d3c-b3eb-f6dfe30e20b1", "Section": { "FormTypeSectionId": "14a01bc8-a969-4898-8c15-2fc3df9db237", "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": "73f8d98f-7cbd-42d1-83f1-7c27798cc2ca", "Name": "sample string 1" }, "Unit": { "UnitId": "770979fb-7b71-4054-9e5f-9b11e337b5da", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e556e1b5-b50c-4e8b-9ba1-8c6cfb535d89", "CreateDate": "2025-04-03T15:13:31.7018834-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:13:31.7018834-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "e3e0072d-9ff2-476e-a2af-2d909fc5016c", "FieldId": "e14c8d6d-58fe-4e3d-a92b-c954504df871", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "e3e0072d-9ff2-476e-a2af-2d909fc5016c", "FieldId": "e14c8d6d-58fe-4e3d-a92b-c954504df871", "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": "7e8908fd-65c0-4801-9816-17e61247fced", "CreateDate": "2025-04-03T15:13:31.7018834-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:13:31.7018834-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": "bc7b44da-70f0-48cc-9069-80ad570291cf", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "20be4343-e066-427f-9a75-225bce5f999e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "cb6b2750-6c79-4e17-8d03-30ffeb396373", "CreateDate": "2025-04-03T15:13:31.7018834-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:13:31.7018834-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-03T15:13:31.7018834-07:00", "Fields": [ { "FormTypeFieldId": "f52f6a76-58da-45ae-b337-a205fdfb6830", "Section": { "FormTypeSectionId": "7aa442c2-9473-419a-a635-beb8cf7dcef6", "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": "90954a40-1d8d-49f6-9e2c-85979afa3393", "Name": "sample string 1" }, "Unit": { "UnitId": "d05a3d66-3227-4164-bdb3-6f24ae476ee0", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "fa422512-480b-4310-b895-197bdaeb4faf", "CreateDate": "2025-04-03T15:13:31.7018834-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:13:31.7018834-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "72e2fe75-8779-4f40-b1fb-5051a24c4d6a", "FieldId": "aac9a8b6-d080-478b-918f-07200dc92f99", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "72e2fe75-8779-4f40-b1fb-5051a24c4d6a", "FieldId": "aac9a8b6-d080-478b-918f-07200dc92f99", "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": "f52f6a76-58da-45ae-b337-a205fdfb6830", "Section": { "FormTypeSectionId": "7aa442c2-9473-419a-a635-beb8cf7dcef6", "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": "90954a40-1d8d-49f6-9e2c-85979afa3393", "Name": "sample string 1" }, "Unit": { "UnitId": "d05a3d66-3227-4164-bdb3-6f24ae476ee0", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "fa422512-480b-4310-b895-197bdaeb4faf", "CreateDate": "2025-04-03T15:13:31.7018834-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:13:31.7018834-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "72e2fe75-8779-4f40-b1fb-5051a24c4d6a", "FieldId": "aac9a8b6-d080-478b-918f-07200dc92f99", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "72e2fe75-8779-4f40-b1fb-5051a24c4d6a", "FieldId": "aac9a8b6-d080-478b-918f-07200dc92f99", "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": "3cfab8a7-16e8-4fa0-8ccf-1c525b0c9164", "CreateDate": "2025-04-03T15:13:31.7018834-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:13:31.7018834-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }