CreateActivitiesListRequest request = new CreateActivitiesListRequest() { Activity = activityEntity, ListId = marketingListId, OwnershipOptions = ownershipOption, Propagate = isPropagate, TemplateId = Guid.Empty, FriendlyName = "Quick Campaign for My List" /*+ _uniqStringForThisRun*/, Owner = new EntityReference("systemuser", _currentUser) }; //Execute the request CreateActivitiesListResponse response = (CreateActivitiesListResponse)_serviceProxy.Execute(request); //The response has BulkOperationId. This is the Id of the bulkoperation that mimics QuickCampaign in CRM Guid BOId = response.BulkOperationId;
Rechercher dans ce blog
samedi 28 juillet 2012
API : CreateActivitiesListRequest
Crée une campagne rapide en distribuant les activités aux membres d'une liste marketing
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire