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": "25c748d2-97f6-4820-9b84-db4c70460be1", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c5c87bfe-e117-4cb9-bada-96033ec82222", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "079a1cfa-b11e-4c84-ae2e-bef04f3d50cb", "CreateDate": "2025-04-24T13:36:24.5477722-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T13:36:24.5477722-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-24T13:36:24.5477722-07:00", "Fields": [ { "FormTypeFieldId": "0b3cd24c-0830-4333-a42f-c0f016fea43f", "Section": { "FormTypeSectionId": "17071e40-4f59-4e5c-8e48-4e0f87d89fef", "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": "b290c49d-107e-4ae1-912f-446f6765cbaa", "Name": "sample string 1" }, "Unit": { "UnitId": "008f52b8-f948-45cf-9b54-ad859f129003", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "88a16f1a-67b0-4986-8428-aa28b3746e94", "CreateDate": "2025-04-24T13:36:24.5477722-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:36:24.5477722-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d23555b5-43d2-4191-a779-8337810fb0e6", "FieldId": "8232d60c-2547-42ed-9795-efcdede52749", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d23555b5-43d2-4191-a779-8337810fb0e6", "FieldId": "8232d60c-2547-42ed-9795-efcdede52749", "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": "0b3cd24c-0830-4333-a42f-c0f016fea43f", "Section": { "FormTypeSectionId": "17071e40-4f59-4e5c-8e48-4e0f87d89fef", "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": "b290c49d-107e-4ae1-912f-446f6765cbaa", "Name": "sample string 1" }, "Unit": { "UnitId": "008f52b8-f948-45cf-9b54-ad859f129003", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "88a16f1a-67b0-4986-8428-aa28b3746e94", "CreateDate": "2025-04-24T13:36:24.5477722-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:36:24.5477722-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d23555b5-43d2-4191-a779-8337810fb0e6", "FieldId": "8232d60c-2547-42ed-9795-efcdede52749", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d23555b5-43d2-4191-a779-8337810fb0e6", "FieldId": "8232d60c-2547-42ed-9795-efcdede52749", "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": "7b8383ce-f02a-42aa-8784-e9e138bcce82", "CreateDate": "2025-04-24T13:36:24.5477722-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:36:24.5477722-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": "2a25cb3f-278d-45c3-9e01-d567054af525", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "98c5320f-3bcd-4446-b3ee-70314086f827", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f34caf78-93a9-4df4-9a95-7116d199b35a", "CreateDate": "2025-04-24T13:36:24.5477722-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T13:36:24.5477722-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-24T13:36:24.5477722-07:00", "Fields": [ { "FormTypeFieldId": "94d68666-a632-4ef9-87fc-27002b1bd567", "Section": { "FormTypeSectionId": "2324b51e-d93e-426e-a393-2201cb24ab45", "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": "918eb8e2-9bb3-430b-bc5e-ea78b8773183", "Name": "sample string 1" }, "Unit": { "UnitId": "d9ad13af-5654-4f87-9ffa-283bc8a5b916", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d61f60ec-a501-46e4-8305-2938ba3c279b", "CreateDate": "2025-04-24T13:36:24.5477722-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:36:24.5477722-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "455b68ea-415a-4edb-9a03-2cb0ff82f861", "FieldId": "ad589158-8ac7-4efd-be05-343f7fc217bd", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "455b68ea-415a-4edb-9a03-2cb0ff82f861", "FieldId": "ad589158-8ac7-4efd-be05-343f7fc217bd", "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": "94d68666-a632-4ef9-87fc-27002b1bd567", "Section": { "FormTypeSectionId": "2324b51e-d93e-426e-a393-2201cb24ab45", "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": "918eb8e2-9bb3-430b-bc5e-ea78b8773183", "Name": "sample string 1" }, "Unit": { "UnitId": "d9ad13af-5654-4f87-9ffa-283bc8a5b916", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d61f60ec-a501-46e4-8305-2938ba3c279b", "CreateDate": "2025-04-24T13:36:24.5477722-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:36:24.5477722-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "455b68ea-415a-4edb-9a03-2cb0ff82f861", "FieldId": "ad589158-8ac7-4efd-be05-343f7fc217bd", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "455b68ea-415a-4edb-9a03-2cb0ff82f861", "FieldId": "ad589158-8ac7-4efd-be05-343f7fc217bd", "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": "20422b8d-4d03-4a96-9644-1d8882e67271", "CreateDate": "2025-04-24T13:36:24.5477722-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:36:24.5477722-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }