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": "0e7eb800-b44b-4e55-a2c6-48322b83ca04", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "a258a286-5d57-414b-a2b8-cd8f71be7732", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "68ea52ef-5a09-4225-bac3-6bbc7e55fd49", "CreateDate": "2025-02-05T06:14:43.9712207-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:14:43.9712207-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-05T06:14:43.9712207-08:00", "Fields": [ { "FormTypeFieldId": "11396fbf-b7b7-4596-b1d7-9c47e829bb0e", "Section": { "FormTypeSectionId": "a05b5218-10fd-48f6-a27c-48a537cf5aa1", "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": "b1d3969b-c842-4ba6-aa24-4b09dcdc46ad", "Name": "sample string 1" }, "Unit": { "UnitId": "7c4c829c-a868-4ad9-a4e5-3beb829a9e39", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7fca49fa-e082-40e4-82cf-11f80de15970", "CreateDate": "2025-02-05T06:14:43.9712207-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:14:43.9712207-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d9e50cd5-0da8-407f-a7a3-c29dc5cdeac7", "FieldId": "06b44798-3b24-4b47-b0af-63c061c556b9", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d9e50cd5-0da8-407f-a7a3-c29dc5cdeac7", "FieldId": "06b44798-3b24-4b47-b0af-63c061c556b9", "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": "11396fbf-b7b7-4596-b1d7-9c47e829bb0e", "Section": { "FormTypeSectionId": "a05b5218-10fd-48f6-a27c-48a537cf5aa1", "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": "b1d3969b-c842-4ba6-aa24-4b09dcdc46ad", "Name": "sample string 1" }, "Unit": { "UnitId": "7c4c829c-a868-4ad9-a4e5-3beb829a9e39", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7fca49fa-e082-40e4-82cf-11f80de15970", "CreateDate": "2025-02-05T06:14:43.9712207-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:14:43.9712207-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d9e50cd5-0da8-407f-a7a3-c29dc5cdeac7", "FieldId": "06b44798-3b24-4b47-b0af-63c061c556b9", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d9e50cd5-0da8-407f-a7a3-c29dc5cdeac7", "FieldId": "06b44798-3b24-4b47-b0af-63c061c556b9", "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": "a5bb0788-e67c-43bf-9543-72a85375250b", "CreateDate": "2025-02-05T06:14:43.9712207-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:14:43.9712207-08: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": "e92a565d-f1ca-4e56-84e3-260360f60213", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f1b88694-07a7-4c02-ad0d-c422736ac2c6", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "31dc501f-5eed-401b-87ec-54d78237d416", "CreateDate": "2025-02-05T06:14:43.9712207-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:14:43.9712207-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-05T06:14:43.9712207-08:00", "Fields": [ { "FormTypeFieldId": "fffc7de6-cdca-4b54-9aa3-9a8c556192b8", "Section": { "FormTypeSectionId": "5190217c-5000-41a2-9dfe-a7fcefb548c1", "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": "c7929c7c-e758-4f50-8151-c619c05a5a1e", "Name": "sample string 1" }, "Unit": { "UnitId": "ea97f6fe-9855-45ad-86cd-9b0bcf498b46", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9b95037b-0331-4c66-b350-a47f6487bcef", "CreateDate": "2025-02-05T06:14:43.9712207-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:14:43.9712207-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "af6e32a2-05f2-4192-b986-5dd1ea32672d", "FieldId": "232834e7-cc47-47e9-9cdd-332bdecd9d89", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "af6e32a2-05f2-4192-b986-5dd1ea32672d", "FieldId": "232834e7-cc47-47e9-9cdd-332bdecd9d89", "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": "fffc7de6-cdca-4b54-9aa3-9a8c556192b8", "Section": { "FormTypeSectionId": "5190217c-5000-41a2-9dfe-a7fcefb548c1", "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": "c7929c7c-e758-4f50-8151-c619c05a5a1e", "Name": "sample string 1" }, "Unit": { "UnitId": "ea97f6fe-9855-45ad-86cd-9b0bcf498b46", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9b95037b-0331-4c66-b350-a47f6487bcef", "CreateDate": "2025-02-05T06:14:43.9712207-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:14:43.9712207-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "af6e32a2-05f2-4192-b986-5dd1ea32672d", "FieldId": "232834e7-cc47-47e9-9cdd-332bdecd9d89", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "af6e32a2-05f2-4192-b986-5dd1ea32672d", "FieldId": "232834e7-cc47-47e9-9cdd-332bdecd9d89", "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": "55454d12-33d1-4f56-815d-7bad0aa6c156", "CreateDate": "2025-02-05T06:14:43.9712207-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:14:43.9712207-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }