Solved! Go to Solution.
var mService = MarketoService; var paramsListOperation = new ParamsListOperation() { listKey = new ListKey() { keyType = ListKeyType.MKTOLISTNAME, keyValue = "Test List" }, listMemberList = new LeadKey[] { new LeadKey() { keyType = LeadKeyRef.IDNUM, keyValue = "12", }, new LeadKey() { keyType = LeadKeyRef.IDNUM, keyValue = "13", } }, listOperation = ListOperationType.ADDTOLIST, }; var listOperationResult = mService.ListOperation(paramsListOperation);
var mService = MarketoService; var paramsListOperation = new ParamsListOperation() { listKey = new ListKey() { keyType = ListKeyType.MKTOLISTNAME, keyValue = "Test List" }, listMemberList = new LeadKey[] { new LeadKey() { keyType = LeadKeyRef.IDNUM, keyValue = "12", }, new LeadKey() { keyType = LeadKeyRef.IDNUM, keyValue = "13", } }, listOperation = ListOperationType.ADDTOLIST, }; var listOperationResult = mService.ListOperation(paramsListOperation);