DarthVader | Posts: 10

Updating event notification URL

0 votes
I see in your .net SDK documentation that you can setup the push notifications by running this code: eslClient.EventNotificationService.Register(EventNotificationConfigBuilder.NewEventNotificationConfig(URL) .WithKey(APIKEY) .ForEvent(EVENT1) .ForEvent(EVENT2) .ForEvent(EVENT3) .ForEvent(EVENT4) .ForEvent(EVENT5) .ForEvent(EVENT6) .ForEvent(EVENT7) .ForEvent(EVENT8) .ForEvent(EVENT9) .ForEvent(EVENT10) .ForEvent(EVENT11) .ForEvent(EVENT12) .ForEvent(EVENT13) .ForEvent(EVENT14) .ForEvent(EVENT15) .ForEvent(EVENT16) .ForEvent(EVENT17) .ForEvent(EVENT18)); // Get the registered event notifications eventNotificationConfig = eslClient.EventNotificationService.GetEventNotificationConfig(); Say we enter the wrong URL in there. Do you just rerun this command with the new URL? Or is there update code that I am not seeing?

Approved Answer
harishaidary | Posts: 1812

Reply to: Updating event notification URL

1 votes
Yes, you will need to run the EventRegistrationService's Register() method again with the same events you registered previously. There isn't an update functionality for the callback event notifications with the .NET SDK.

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off