Info |
---|
This document contains a high level guide to developing an integration that puts data into the Learning Hub. |
Overview
This document contains a high level guide to developing an integration as a Publisher into the Learning Hub.
Step 1 - Preparation
1 | Determine how to represent the “participant” in the payloadThere is no guarantee that a person will be identified the same way in the Publisher and Subscriber systems. For instance, a Practitioner might use their personal email address in one system and a work email address in another. In order for those two systems to integrate, they will need to agree on a shared identifier that is the same in both systems. That value must be included in the You should NOT use an internal identifier (such as a |
2 | Obtain an API Key to access the Learning HubYou will need to contact Heuristic Solutions Technical Support to obtain credentials to access the Hub. You will be assigned a Program Id, which is your identifier to the Hub, and an API Key that authenticates you as that Program. |
Step 2 - Use the Event Store API
1 | Prepare a JSON structure representing your dataThis can be whatever makes sense for your use case, as long as it is valid JSON syntax. The Learning Hub does not require you to publish or adhere to a specific schema, but you will need to share this with your Subscriber(s) so that they can configure their part of the exchange. The sharing of that data occurs outside of the Learning Hub. |
2 | Send an event to the HubUsing the POST /api/events API, send your event to the Hub. See the documentation for a full explanation of the payload structure, but here are some quick pointers:
|
3 | Confirm the event details were correctly recordedThe Event Store APIs can also be used to retrieve data from the hub. |
Step 3 - Share data with Subscribers
1 | Document your event schemaIn order to use your data, Subscribers will need to know at least two things:
The sharing of that data occurs outside of the Learning Hub. |