Created
April 14, 2016 19:29
-
-
Save Mozu-CS/69ef85842b5ec61bb09d52f3f5dfadfc to your computer and use it in GitHub Desktop.
Some event resources
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TestMethod] | |
public void Static_Event_Data() | |
{ | |
var eventNotificationResource = new Mozu.Api.Resources.Event.EventNotificationResource(_apiContext); | |
var eventSubscriptionResource = new Mozu.Api.Resources.Event.Push.SubscriptionResource(_apiContext); | |
var eventDeliveryResource = new Mozu.Api.Resources.Event.Push.Subscriptions.EventDeliverySummaryResource(_apiContext); | |
var eventCollection = eventNotificationResource.GetEventsAsync(filter: "topic ne order.abandoned").Result; | |
var subscriptions = eventSubscriptionResource.GetSubscriptionsAsync().Result; | |
var eventDeliveries = eventDeliveryResource.GetDeliveryAttemptSummariesAsync("c5bad72df8564ff08b2da5c4013ba6c9").Result; | |
var eventDelivery = eventDeliveryResource.GetDeliveryAttemptSummaryAsync("c5bad72df8564ff08b2da5c4013ba6c9").Result; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment