Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.89 KB

PushNotificationsApi.md

File metadata and controls

59 lines (40 loc) · 1.89 KB

Telstra_EventDetection.PushNotificationsApi

All URIs are relative to https://tapi.telstra.com

Method HTTP request Description
push_notifications POST /v1/eventdetection/events/notifications Push event notifications

push_notifications

PushNotificationObj push_notifications(content_type, body)

Push event notifications

Push event notifications to the notification URL configured during the MSISDN registration process

Example

from __future__ import print_function
import time
import Telstra_EventDetection
from Telstra_EventDetection.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = Telstra_EventDetection.PushNotificationsApi()
content_type = 'content_type_example' # str | application/json
body = Telstra_EventDetection.NotificationPayload() # NotificationPayload | Application Id, MSISDN, Event Id and Event Date

try:
    # Push event notifications
    api_response = api_instance.push_notifications(content_type, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PushNotificationsApi->push_notifications: %s\n" % e)

Parameters

Name Type Description Notes
content_type str application/json
body NotificationPayload Application Id, MSISDN, Event Id and Event Date

Return type

PushNotificationObj

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]