Trading API Notifications in Sandbox Environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2024 06:40 AM
Hello,
im trying to use the Notifications to sent messages to my email and an azure function.
I managed to use the SetNotificationPreferences call to set up Events and my email/azure function url.
When calling GetNotificationPreferences I can see the values there. This is how the response looks with my events:
<?xml version="1.0" encoding="UTF-8"?>
<GetNotificationPreferencesResponse xmlns="urnapis:eBLBaseComponents">
<Timestamp>2024-07-11T13:24:14.511Z</Timestamp>
<Ack>Success</Ack>
<Version>1173</Version>
<Build>E1173_CORE_APINOTIFY_19146596_R1</Build>
<UserDeliveryPreferenceArray>
<NotificationEnable>
<EventType>EndOfAuction</EventType>
<EventEnable>Enable</EventEnable>
</NotificationEnable>
<NotificationEnable>
<EventType>Feedback</EventType>
<EventEnable>Enable</EventEnable>
</NotificationEnable>
<NotificationEnable>
<EventType>FixedPriceTransaction</EventType>
<EventEnable>Enable</EventEnable>
</NotificationEnable>
<NotificationEnable>
<EventType>AskSellerQuestion</EventType>
<EventEnable>Enable</EventEnable>
</NotificationEnable>
<NotificationEnable>
<EventType>ItemListed</EventType>
<EventEnable>Enable</EventEnable>
</NotificationEnable>
<NotificationEnable>
<EventType>MyMessageseBayMessage</EventType>
<EventEnable>Enable</EventEnable>
</NotificationEnable>
<NotificationEnable>
<EventType>BidPlaced</EventType>
<EventEnable>Enable</EventEnable>
</NotificationEnable>
<NotificationEnable>
<EventType>BidReceived</EventType>
<EventEnable>Enable</EventEnable>
</NotificationEnable>
</UserDeliveryPreferenceArray>
</GetNotificationPreferencesResponse>
And this with my Application data:
<?xml version="1.0" encoding="UTF-8"?>
<GetNotificationPreferencesResponse xmlns="urnapis:eBLBaseComponents">
<Timestamp>2024-07-11T13:25:43.036Z</Timestamp>
<Ack>Success</Ack>
<Version>1173</Version>
<Build>E1173_CORE_APINOTIFY_19146596_R1</Build>
<ApplicationDeliveryPreferences>
<ApplicationURL>myazurefunctionurl</ApplicationURL>
<ApplicationEnable>Enable</ApplicationEnable>
<AlertEmail>mailto://myemail</AlertEmail>
<AlertEnable>Enable</AlertEnable>
<NotificationPayloadType>eBLSchemaSOAP</NotificationPayloadType>
<DeviceType>Platform</DeviceType>
<PayloadEncodingType>SOAP</PayloadEncodingType>
<PayloadVersion>1173</PayloadVersion>
</ApplicationDeliveryPreferences>
</GetNotificationPreferencesResponse>
But when I buy something in the Sandbox, im not receiving anything.
Also I cant make the GetNotificationUsage call work. Im using the standard call from the Sandbox Api and receiving this
<?xml version="1.0" encoding="UTF-8"?>
<GetNotificationsUsageResponse xmlns="urnapis:eBLBaseComponents">
<Timestamp>2024-07-11T13:40:36.929Z</Timestamp>
<Ack>Failure</Ack>
<Errors>
<ShortMessage>Sorry, something went wrong. Please wait a moment and try again.</ShortMessage>
<LongMessage>Sorry, something went wrong. Please wait a moment and try again.</LongMessage>
<ErrorCode>10007</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorParameters ParamID="0">
<Value>Web Service framework internal error.</Value>
</ErrorParameters>
<ErrorClassification>RequestError</ErrorClassification>
</Errors>
<Version>1173</Version>
<Build>E1173_CORE_APINOTIFY_19146596_R1</Build>
</GetNotificationsUsageResponse>
Trading API Notifications in Sandbox Environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2024 03:19 AM - edited ‎07-25-2024 03:19 AM
Are you facing this issue in production environment? or were you able to resolve this issue?
I'm facing this same issue in production environment as well
Trading API Notifications in Sandbox Environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2025 09:26 AM
I am facing the same issue - has anyone managed to get the notification subscription to work?
For further context, using the "Notification API" instead of the "Trading API" I can trigger test notifications, so on our end it is responding with the required 200s. Unfortunatelly, the Notification API has a very limited set of events which are not useful for our particular case
