Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to get notification message telemetry #32

Closed
askramana opened this issue Sep 18, 2017 · 1 comment
Closed

Support to get notification message telemetry #32

askramana opened this issue Sep 18, 2017 · 1 comment

Comments

@askramana
Copy link

Standard tier notification hubs provides an additional API to get telemetry on the finished state of outgoing push notifications. This enables the user to monitor push notifications sent from the hub. Input to this API is the Notification ID that we get from the HTTP Location header included in the response of the REST API used to send the notification (i.e. NotificationOutcome in our code). More about this API here.

Through this issue, I expect this project to have support for the PMT.
Thanks!

@mpodwysocki
Copy link
Contributor

@askramana closing as per now supported:

NotificationOutcome outcome = client.sendNotification(n);
System.out.println("Tracking ID: " + outcome.getTrackingId());

NotificationTelemetry telemetry = client.getNotificationTelemetry(outcome.getNotificationId());
System.out.println("Telemetry Location " + telemetry.getLocation());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants