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": "b88b01c4-cf2f-4805-86c3-0ef953263fba", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "1e36ef9b-c626-4398-bfbb-89cee331485e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "74a6398a-1e0b-4e91-8f05-ddc0c2d060e8", "CreateDate": "2024-12-21T19:25:26.5718483-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:25:26.5718483-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T19:25:26.5718483-08:00", "Fields": [ { "FormTypeFieldId": "137342d9-4e0f-4d4b-81ba-827a055eac8a", "Section": { "FormTypeSectionId": "9f89cbed-99cf-4ea7-b3a2-bd935b60f012", "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": "0529c95d-8d26-465b-bf08-497a35aff959", "Name": "sample string 1" }, "Unit": { "UnitId": "730f2902-534e-4d45-9c9e-4eaab4ac0524", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b37504ab-c5e9-4628-8b67-48faebc5ad03", "CreateDate": "2024-12-21T19:25:26.5718483-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:25:26.5718483-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "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": "137342d9-4e0f-4d4b-81ba-827a055eac8a", "Section": { "FormTypeSectionId": "9f89cbed-99cf-4ea7-b3a2-bd935b60f012", "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": "0529c95d-8d26-465b-bf08-497a35aff959", "Name": "sample string 1" }, "Unit": { "UnitId": "730f2902-534e-4d45-9c9e-4eaab4ac0524", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b37504ab-c5e9-4628-8b67-48faebc5ad03", "CreateDate": "2024-12-21T19:25:26.5718483-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:25:26.5718483-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "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": "c7dafc58-9569-4890-bd02-fef0b7ea7ed6", "CreateDate": "2024-12-21T19:25:26.5718483-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:25:26.5718483-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": "0bc33f07-2790-429c-a09f-4c46fdef0346", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c8fb56fc-7fd2-48c3-8096-b9d1b93bc6d2", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "2fdbf621-4071-4a96-a411-195289f91640", "CreateDate": "2024-12-21T19:25:26.5718483-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:25:26.5718483-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T19:25:26.5718483-08:00", "Fields": [ { "FormTypeFieldId": "dd44d21b-4224-4d65-b3eb-53b6f0cdd8a6", "Section": { "FormTypeSectionId": "50791282-3ba5-4941-8ee1-26e81067ec7a", "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": "1a49e356-d23b-44e8-96e5-d44debff436c", "Name": "sample string 1" }, "Unit": { "UnitId": "7dbbf43b-0f87-4788-a558-2db0956ad301", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4de2ca5e-3416-43e5-9881-a5326d2e436e", "CreateDate": "2024-12-21T19:25:26.5718483-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:25:26.5718483-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "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": "dd44d21b-4224-4d65-b3eb-53b6f0cdd8a6", "Section": { "FormTypeSectionId": "50791282-3ba5-4941-8ee1-26e81067ec7a", "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": "1a49e356-d23b-44e8-96e5-d44debff436c", "Name": "sample string 1" }, "Unit": { "UnitId": "7dbbf43b-0f87-4788-a558-2db0956ad301", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4de2ca5e-3416-43e5-9881-a5326d2e436e", "CreateDate": "2024-12-21T19:25:26.5718483-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:25:26.5718483-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "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": "5fec2af1-24f0-4cd2-94c1-dd3bd351372b", "CreateDate": "2024-12-21T19:25:26.5874603-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:25:26.5874603-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }