没有收到任何针对易趣的沙盒通知

时间:2016-11-23 17:04:06

标签: ebay ebay-api

使用以下代码,我没有看到任何事件的我们的网址或电子邮件的沙箱通知。我尝试在eBay的开发论坛上发帖,但它似乎是吹过那里飞机的风滚草。

我运行了两组代码来设置通知,然后添加了一个项目,在其上设置反馈,将其标记为已售出。什么都没有引起通知。

这是应用程序设置的代码。

SetNotificationPreferencesCall apiCall = new SetNotificationPreferencesCall(usrApiContext);
var appPref = new ApplicationDeliveryPreferencesType();
appPref.ApplicationEnable = EnableCodeType.Enable;
appPref.ApplicationURL = "http://[ourdomain]/eBay/notification/receive";
appPref.AlertEnable = EnableCodeType.Enable;
appPref.AlertEmail = "mailto:jxxx@ourdomain.com";
appPref.PayloadVersion = "989";
appPref.DeviceType = DeviceTypeCodeType.Platform;
appPref.NotificationPayloadType = NotificationPayloadTypeCodeType.eBLSchemaSOAP;
apiCall.SetNotificationPreferences(appPref);

这是用户的代码。

var usrPref = new NotificationEnableTypeCollection();
#region Setup Notifications
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.AskSellerQuestion });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.AuctionCheckoutComplete });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.BestOffer });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.BestOfferDeclined });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.BestOfferPlaced });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.BidItemEndingSoon });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.BidPlaced });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.BidReceived });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.BulkDataExchangeJobCompleted });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.BuyerCancelRequested });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.BuyerResponseDispute });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.Checkout });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.CheckoutBuyerRequestsTotal });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.CounterOfferReceived });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.EndOfAuction });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.Feedback });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.FeedbackForSeller });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.FeedbackLeft });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.FeedbackReceived });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.FeedbackStarChanged });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.FixedPriceTransaction });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemAddedToBidGroup });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemAddedToWatchList });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemClosed });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemExtended });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemListed });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemLost });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemMarkedPaid });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemMarkedShipped });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemRevised });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemRevisedAddCharity });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemsCanceled });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemSold });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemSuspended });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemUnsold });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ItemWon });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.M2MMessageStatusChange });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.MyMessageseBayMessage });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.OutBid });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.PaymentReminder });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.PlaceOffer });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ReadyForPayout });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ReadyToShip });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.RefundFailure });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.RefundSuccess });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.RemoveFromWatchList });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ReturnClosed });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ReturnCreated });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ReturnDelivered });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ReturnEscalated });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ReturnRefundOverdue });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ReturnSellerInfoOverdue });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ReturnShipped });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ReturnWaitingForSellerInfo });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.SecondChanceOffer });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.SellerClosedDispute });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.SellerOpenedDispute });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.SellerRespondedToDispute });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.ShoppingCartItemEndingSoon });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.TokenRevocation });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.UnmatchedPaymentReceived });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.UserIDChanged });
usrPref.Add(new NotificationEnableType() { EventEnable = EnableCodeType.Enable, EventType = NotificationEventTypeCodeType.WatchedItemEndingSoon });
#endregion
apiCall.SetNotificationPreferences(usrPref);

0 个答案:

没有答案