Pull data from API

Domande sulle funzionalità di backend: amministrazione utenti e corsi, certificati, iscrizioni, report, ...
Post Reply
Posts: 4
Joined: Thu Sep 29, 2022 3:12 pm

Pull data from API

Post by nand.kishore »


I want to show the user who completed the given courses on our internal portal. Is there a way I can pull this data from Forma in realtime and show it on my customized portal?
Senior Boarder
Posts: 1742
Joined: Fri Nov 24, 2017 8:45 am

Re: Pull data from API

Post by alfa24 »

What does realtime mean to you?

If you want Forma to send a result to another service in the istant a user completes a course, you have to:

1) develop a webservice on the other side to be called with data posted from Forma
2) integrate the call in the point of Forma that handle the course completion

If you can't develop the webservice, you could follow another way. You should know the idst of the user in forma, then call the api/user/userCourses passing the idst. If you don't know the idst, you should retrieve it by username (api/user/checkUsername).
The API should be called cron, maybe hourly... but this is your task.

If you need help with integrations, you can write me privately.
I'm Jasmines, the One. If you need, you can contact me.
Post Reply