All Collections
API
Completed Simulation Data
Completed Simulation Data

How to send completion data to your endpoint

Nils Hellberg avatar
Written by Nils Hellberg
Updated over a week ago

If you need to integrate Virti with your own system or an LMS, you can set up an incoming web URL to receive completion data from Virti. This way, Virti can send data to your system or LMS to indicate that specific content has been completed within Virti. Scoring data is also sent allowing you to see who completed content and their scores.

This help article will explain how to set up the integration.

API Endpoint

All completion data will be sent to this URL.

To test your integration, complete a Simulation and a new notification should turn up in the Event Log.

Data Format

At the moment all data is sent as JSON but we're happy to discuss adding other formats if needed, please get in touch.

The following data is sent with each completion:

  • email: The email address of the user.

  • userid: A unique User ID from Virti.

  • simulationid: The Simulation ID that was completed.

  • completiondate: The date and time the notification was sent.

  • totaltimespent: Time spent in the simulation, in milliseconds.

  • completed: Whether the user fully completed the Simulation or not.

  • score: The score as a percentage of correct answers.

Event Log

You can use this to see when data is being sent from Virti. Each entry can be opened to see the raw data and server response. Use this to double-check if your LMS is receiving the events we’re sending. Individual events can also be sent again if needed. Failed notifications will stay failed and won't be re-sent automatically.

Did this answer your question?