<#ftl output_format="JSON"> <#-- newIntegration: The macro for generating view and template metadata for a new Integration --> <#macro newIntegration request recipeObjectId uuid name description ruleFolderUuid httpMethod="GET" isWrite=false connectedSystemUuid="" triggers="" isInheritedUrlOptionSelected=false relativePath="" > { <#-- recipe section --> "version": 2, "objectType": "INTEGRATION", "recipeObjectId": "${recipeObjectId}", "templateForCreate": "ix/v2/createIntegration_v2.ftlx", "selectedObjectIndex": 0, "isVisible": true, <#if triggers?has_content> "triggers": ${triggers}, <#-- the set of new and reused objects --> "objects": [ { "objectStatus": "NEW", "templateObjectId": "${recipeObjectId}-0", "objectIndex": 0, <#-- bindings section --> "uuid": "${uuid}", "parentUuid": "${ruleFolderUuid}", "versionUuids": ["${uuid}"], <#-- Integration specific bindings --> "isInheritedUrlOptionSelected": ${isInheritedUrlOptionSelected?c}, "relativePath": "${relativePath}", "httpMethod": "${httpMethod}", "isWrite": ${isWrite?c}, "connectedSystemUuid": "${connectedSystemUuid}", <#-- i18n section --> "name": "${name?json_string}", "description": "${description?json_string}" } ] }