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": "b5a51d98-3d89-41f5-a697-844cf1db8bc2", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9aaa754a-628c-4b68-95d1-73cde03fc09b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e2691c70-5fe5-46d4-8fa4-1314826539a9", "CreateDate": "2024-11-21T05:21:46.5276959-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:21:46.5276959-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:21:46.5276959-08:00", "Fields": [ { "FormTypeFieldId": "31869dea-572d-4ab6-b5f0-f551ca883919", "Section": { "FormTypeSectionId": "3ffce466-2153-41bd-a0aa-84ec6f63cfe8", "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": "a70268a5-8223-4f48-af96-5eb2c2f33930", "Name": "sample string 1" }, "Unit": { "UnitId": "031011fe-4695-4d78-bbbd-ef9ae69c3642", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "47c13909-d9b5-414b-867c-e4d4a3cefb1f", "CreateDate": "2024-11-21T05:21:46.5276959-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:21:46.5276959-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "86bbebf8-552a-4b6b-959c-65dde18fc629", "FieldId": "250203d1-9bbd-4d73-86d0-a8901070931e", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "86bbebf8-552a-4b6b-959c-65dde18fc629", "FieldId": "250203d1-9bbd-4d73-86d0-a8901070931e", "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": "31869dea-572d-4ab6-b5f0-f551ca883919", "Section": { "FormTypeSectionId": "3ffce466-2153-41bd-a0aa-84ec6f63cfe8", "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": "a70268a5-8223-4f48-af96-5eb2c2f33930", "Name": "sample string 1" }, "Unit": { "UnitId": "031011fe-4695-4d78-bbbd-ef9ae69c3642", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "47c13909-d9b5-414b-867c-e4d4a3cefb1f", "CreateDate": "2024-11-21T05:21:46.5276959-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:21:46.5276959-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "86bbebf8-552a-4b6b-959c-65dde18fc629", "FieldId": "250203d1-9bbd-4d73-86d0-a8901070931e", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "86bbebf8-552a-4b6b-959c-65dde18fc629", "FieldId": "250203d1-9bbd-4d73-86d0-a8901070931e", "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": "9b1f1992-f313-4512-b295-cbd008152ccf", "CreateDate": "2024-11-21T05:21:46.5276959-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:21:46.5276959-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": "cdb88da2-060f-46a7-adc2-04ae997edda5", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "a6092bab-63a8-4234-8adb-bfa4670fdef5", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "562083af-aa18-4b51-9fcf-d0378fb4ac35", "CreateDate": "2024-11-21T05:21:46.5276959-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:21:46.5276959-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:21:46.5276959-08:00", "Fields": [ { "FormTypeFieldId": "2d9ac6c8-e953-4242-9b5c-91e215a51b59", "Section": { "FormTypeSectionId": "167a3c94-8a41-416c-a65b-15a370b7bbcc", "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": "b9a462cd-ec88-4137-ab96-834a91882c12", "Name": "sample string 1" }, "Unit": { "UnitId": "40243e28-3274-46c2-8b8b-81b1fa5bc1c3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c6a8b720-451f-4e94-ac77-70b109d47a84", "CreateDate": "2024-11-21T05:21:46.5276959-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:21:46.5276959-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a015e04d-ee70-4b74-b83a-2d7a464731e1", "FieldId": "38c3ad32-22c8-45f1-8e78-b725e8854baf", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a015e04d-ee70-4b74-b83a-2d7a464731e1", "FieldId": "38c3ad32-22c8-45f1-8e78-b725e8854baf", "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": "2d9ac6c8-e953-4242-9b5c-91e215a51b59", "Section": { "FormTypeSectionId": "167a3c94-8a41-416c-a65b-15a370b7bbcc", "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": "b9a462cd-ec88-4137-ab96-834a91882c12", "Name": "sample string 1" }, "Unit": { "UnitId": "40243e28-3274-46c2-8b8b-81b1fa5bc1c3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c6a8b720-451f-4e94-ac77-70b109d47a84", "CreateDate": "2024-11-21T05:21:46.5276959-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:21:46.5276959-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a015e04d-ee70-4b74-b83a-2d7a464731e1", "FieldId": "38c3ad32-22c8-45f1-8e78-b725e8854baf", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a015e04d-ee70-4b74-b83a-2d7a464731e1", "FieldId": "38c3ad32-22c8-45f1-8e78-b725e8854baf", "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": "274e4569-c9f5-48eb-aa30-a4a6b8e444b6", "CreateDate": "2024-11-21T05:21:46.5276959-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:21:46.5276959-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }