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": "82dd1be3-d943-4e3e-8bc1-9400a2b7f803", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0cf57fc3-a03c-47fb-9b18-86851fcb2fc6", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f3687875-4258-4cc8-9648-7fc2fe111751", "CreateDate": "2024-10-10T13:31:40.2503215-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T13:31:40.2503215-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T13:31:40.2503215-07:00", "Fields": [ { "FormTypeFieldId": "a6967377-6255-47cb-aee2-d287b14e8158", "Section": { "FormTypeSectionId": "cd4fc0aa-eb92-4daf-b32e-3412ec52fdbd", "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": "5a865ddd-448e-431e-b80d-d15266b2bd8f", "Name": "sample string 1" }, "Unit": { "UnitId": "53bc689e-7f48-4bac-8188-cda204d530fc", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d8a0b644-1dd9-4d28-b0a8-dffa195c0bd5", "CreateDate": "2024-10-10T13:31:40.2503215-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T13:31:40.2503215-07: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": "a6967377-6255-47cb-aee2-d287b14e8158", "Section": { "FormTypeSectionId": "cd4fc0aa-eb92-4daf-b32e-3412ec52fdbd", "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": "5a865ddd-448e-431e-b80d-d15266b2bd8f", "Name": "sample string 1" }, "Unit": { "UnitId": "53bc689e-7f48-4bac-8188-cda204d530fc", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d8a0b644-1dd9-4d28-b0a8-dffa195c0bd5", "CreateDate": "2024-10-10T13:31:40.2503215-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T13:31:40.2503215-07: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": "64e93b6e-ab01-47ff-b399-061555ab3e7b", "CreateDate": "2024-10-10T13:31:40.2503215-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T13:31:40.2503215-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": "ab0f10b5-5484-437d-84ff-0fe380814d67", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "16440e95-a4b1-46b9-b51f-c2c75da4dd52", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c3e4c48e-b8a5-45cd-94f9-653a6c448c56", "CreateDate": "2024-10-10T13:31:40.2503215-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T13:31:40.2503215-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T13:31:40.2503215-07:00", "Fields": [ { "FormTypeFieldId": "ef4e054b-3066-4bba-a7c6-b599369f845e", "Section": { "FormTypeSectionId": "cb4293a6-c828-4d65-a85d-1797287b355f", "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": "91ea3c94-8eff-41df-9040-f5e73f12066b", "Name": "sample string 1" }, "Unit": { "UnitId": "d93e5991-95e3-4d6b-a5b8-6fdfaa6485dd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0a016a9d-8cfd-497b-bc91-a94fba8c49e7", "CreateDate": "2024-10-10T13:31:40.2503215-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T13:31:40.2503215-07: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": "ef4e054b-3066-4bba-a7c6-b599369f845e", "Section": { "FormTypeSectionId": "cb4293a6-c828-4d65-a85d-1797287b355f", "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": "91ea3c94-8eff-41df-9040-f5e73f12066b", "Name": "sample string 1" }, "Unit": { "UnitId": "d93e5991-95e3-4d6b-a5b8-6fdfaa6485dd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0a016a9d-8cfd-497b-bc91-a94fba8c49e7", "CreateDate": "2024-10-10T13:31:40.2503215-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T13:31:40.2503215-07: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": "e2d64dde-b522-406b-8387-7aa2a9bef9ff", "CreateDate": "2024-10-10T13:31:40.2503215-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T13:31:40.2503215-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }