All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
create_subscription_notification_event | POST /configs/notifications/events/{eventName} | Subscribe For Notification Event |
delete_subscribed_notification_event | DELETE /configs/notifications/events/{eventName} | Delete Notification Subscription |
get_public_encryption_key | GET /configs/publicKey | Get Public Key |
get_subscribed_notification_events | GET /configs/notifications/events | Get Subscribed Notification Events |
update_subscribed_notification_event | PUT /configs/notifications/events/{eventName} | Update Notification Subscription |
create_subscription_notification_event(event_name, event_request)
Subscribe For Notification Event
The subscribe events service is used to subscribe to an event for receiving notifications.
The callback URL, where the notification will be posted should be provided to this service.
If the callback URL is invalid or inaccessible, the subscription will be unsuccessful, and an error will be thrown.
Customers can subscribe to REFRESH,DATA_UPDATES,AUTO_REFRESH_UPDATE and LATEST_BALANCE_UPDATES.
Notes:
from __future__ import print_function
import time
import yodlee
from yodlee.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = yodlee.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with yodlee.ApiClient() as api_client:
# Create an instance of the API class
api_instance = yodlee.ConfigsApi(api_client)
event_name = 'event_name_example' # str | eventName
event_request = yodlee.CreateConfigsNotificationEventRequest() # CreateConfigsNotificationEventRequest | eventRequest
try:
# Subscribe For Notification Event
api_instance.create_subscription_notification_event(event_name, event_request)
except ApiException as e:
print("Exception when calling ConfigsApi->create_subscription_notification_event: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
event_name | str | eventName | |
event_request | CreateConfigsNotificationEventRequest | eventRequest |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
Status code | Description | Response headers |
---|---|---|
201 | OK | - |
400 | Y803 : eventName required<br>Y803 : callbackUrl required<br>Y800 : Invalid value for callbackUrl<br>Y901 : Service not supported<br> | - |
401 | Unauthorized | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_subscribed_notification_event(event_name)
Delete Notification Subscription
The delete events service is used to unsubscribe from an events service.
from __future__ import print_function
import time
import yodlee
from yodlee.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = yodlee.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with yodlee.ApiClient() as api_client:
# Create an instance of the API class
api_instance = yodlee.ConfigsApi(api_client)
event_name = 'event_name_example' # str | eventName
try:
# Delete Notification Subscription
api_instance.delete_subscribed_notification_event(event_name)
except ApiException as e:
print("Exception when calling ConfigsApi->delete_subscribed_notification_event: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
event_name | str | eventName |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=UTF-8
Status code | Description | Response headers |
---|---|---|
400 | Y803 : eventName required | - |
401 | Unauthorized | - |
204 | OK | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ConfigsPublicKeyResponse get_public_encryption_key()
Get Public Key
The get public key service provides the public key that should be used to encrypt user credentials while invoking POST /providerAccounts and PUT /providerAccounts endpoints.
This service will only work if the PKI (public key infrastructure) feature is enabled for the customer.
Note:
from __future__ import print_function
import time
import yodlee
from yodlee.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = yodlee.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with yodlee.ApiClient() as api_client:
# Create an instance of the API class
api_instance = yodlee.ConfigsApi(api_client)
try:
# Get Public Key
api_response = api_instance.get_public_encryption_key()
pprint(api_response)
except ApiException as e:
print("Exception when calling ConfigsApi->get_public_encryption_key: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=UTF-8
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
401 | Unauthorized | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ConfigsNotificationResponse get_subscribed_notification_events(event_name=event_name)
Get Subscribed Notification Events
The get events service provides the list of events for which consumers subscribed to receive notifications.
from __future__ import print_function
import time
import yodlee
from yodlee.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = yodlee.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with yodlee.ApiClient() as api_client:
# Create an instance of the API class
api_instance = yodlee.ConfigsApi(api_client)
event_name = 'event_name_example' # str | eventName (optional)
try:
# Get Subscribed Notification Events
api_response = api_instance.get_subscribed_notification_events(event_name=event_name)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConfigsApi->get_subscribed_notification_events: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
event_name | str | eventName | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=UTF-8
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
401 | Unauthorized | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update_subscribed_notification_event(event_name, event_request)
Update Notification Subscription
The update events service is used to update the callback URL.
If the callback URL is invalid or inaccessible, the subscription will be unsuccessful, and an error will be thrown.
Note:
from __future__ import print_function
import time
import yodlee
from yodlee.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = yodlee.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with yodlee.ApiClient() as api_client:
# Create an instance of the API class
api_instance = yodlee.ConfigsApi(api_client)
event_name = 'event_name_example' # str | eventName
event_request = yodlee.UpdateConfigsNotificationEventRequest() # UpdateConfigsNotificationEventRequest | eventRequest
try:
# Update Notification Subscription
api_instance.update_subscribed_notification_event(event_name, event_request)
except ApiException as e:
print("Exception when calling ConfigsApi->update_subscribed_notification_event: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
event_name | str | eventName | |
event_request | UpdateConfigsNotificationEventRequest | eventRequest |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json;charset=UTF-8
Status code | Description | Response headers |
---|---|---|
400 | Y803 : eventName required<br>Y803 : callbackUrl required<br>Y800 : Invalid value for callbackUrl | - |
401 | Unauthorized | - |
204 | OK | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]