How can I get Score of a quiz through webhook ?

  • Profile Image
    thilina.chandrathilaka
    Asked on March 24, 2020 at 07:33 AM

    Hi Support, 

    Is it possible to get the score of a quiz through webhook ?

    When we try,  we only get the Questions and answers (also no answer id, full text answer)


    Best Regards,

    Thilina

  • Profile Image
    Carlos_C
    Answered on March 24, 2020 at 09:24 AM

    Hello Thilina,

    Thank you for contacting us.

    After checking your account I can see that you don't have a form yet, but right now the Jotform Quizzes results are just accessible via https://quizform.jotform.io/.

    Guide: How-to-Setup-a-Webhook-with-JotForm.

    Guide: Turn-Your-Form-into-a-Quiz-or-Exam-

    If you need any further assistance, please let us know. We will be happy to help.

  • Profile Image
    thilina.chandrathilaka
    Answered on March 24, 2020 at 09:55 PM

    Hi Carlos, 


    Thanks for the Quick response.  This is the for I'm using to test (its a form created by a colleague of mine)


    https://form.jotform.com/200783042566050


    But the Webhook content does not have the Score in it. Please check below. 

    Can you help me on how we can get the score of the Quiz through the webhook ?

    1585101260Jotform webhook.png

  • Profile Image
    gerardw
    Answered on March 24, 2020 at 11:43 PM

    From this form URL, I can see that you have integrated with Webhooks.

    Also, your screenshot shows the questions and the corresponding answers received for the Quiz form.

    It shows the full answer as per the options set up in the form. Hence please let us know what exactly is the issue so that we could check?

  • Profile Image
    thilina.chandrathilaka
    Answered on March 24, 2020 at 11:49 PM

    Hi Jotform Team, 


    We were looking for a way to get the Score of the Quiz through the webhook. 

    Is there a way tp get this score with webhooks OR another API where we can get the score of this submission ?

    1585108166Jotfoem Score.png


    Best Regards,

    Thilina

  • Profile Image
    jherwin
    Answered on March 25, 2020 at 12:45 AM

    Hello @Thilina - It looks like there's no way to send the total/results in webhook integration. I tried sending the custom result in through email webhook as well and it did not work.

    The workaround for your requirement is to calculate the answers and put the total in the form calculation widget. You can hide this field so your users will not see it.
    1585111803hiden.png
    Guide: How-to-Perform-Form-Calculation-Using-a-Widget