Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Initiates a process in which the Hub identifies new Events (from Publishers that the caller is subscribed to) and then posts those events to the caller’s LearningBuilder instance using API/WorkflowImportQueue/CreateBatch.

Requires that the Event Subscription record contains a translation template that maps the Publisher’s Activity Type to the Workflow Import Queue process that should be performed.

Info

The “Events” in DynamoDb are retrieved thru the GSI “GSI_EventsByDate”

The GSI is retrieving data using “Events” “EventDateBucket” field as a Partition Key,

Then using the “Events” “CreatedUtc” field as the Sort key, queries between the Subscriptions “LastSyncTime” to the current date time.

Querystring parameters

Parameter

Description

programId

The Program to sync.

Info

The specified API Key must have write access to this Program, or be a system-level key.

...

Response Code

Headers and Body

200 (Ok)

A Workflow Import Queue batch was successfully created on the Subscriber’s LearningBuilder instance.

This does NOT mean that the data is valid, just that the batch was accepted and will begin processing in the background.

Postman Collection for this Endpoint

View file
nameProcessEvent.postman_environment.json
View file
nameProcess Event.postman_collection.json