Friends,
What I am trying to do: I have an email interaction and from the function below I am trying to attach data to the email interaction. 
Good thing: I do not get any syntax error
Problem: When I check the attached data after this statement is executed I do not see new attached data with the interaction.
I very much appreciate your advise and suggestions!
Thank you!
[code]        protected void MyFunction(string emailInteractionID)
        {
            try
            {
                AttachedData[] allAttachedData = new AttachedData[4];
                AttachedData attachedData0 = new AttachedData();
                attachedData0.key = "voiceCallLengthSufficient";
                attachedData0.value = "true";
                allAttachedData[0] = attachedData0;
                KeyValue[] keyValue = new KeyValue[2];
                keyValue[0] = new KeyValue();
                keyValue[0].key = "interaction:addAttachedData";
                keyValue[0].value = allAttachedData;
                keyValue[1] = new KeyValue();
                keyValue[1].key = "interaction:modifiedAttachedData";
                keyValue[1].value = allAttachedData;
                    com.genesyslab.ail.ws.interaction.InteractionDTO[] ixnDTOs = new InteractionDTO[1];
                    ixnDTOs[0] = new InteractionDTO();
                    ixnDTOs[0].interactionId = emailInteractionID;
                    ixnDTOs[0].data = keyValue;
                    ConnectionLink.InteractionService.setInteractionsDTO(ixnDTOs);
                }
            } catch (Exception ex)
            {
                string errString = string.Format("Interaction.onEmailCallLengthSuficient interactionId({0}). {1}", emailInteractionID, ex);
                CMILogging.Singleton.logger.Write(LogTypes.Error, errString);
                throw (ex);
            }
        }[/code]