Submission ID in Webhook Post Data

  • Profile Image
    truckersamerica
    Asked on July 17, 2013 at 08:38 PM

    I have a web hook for a form and i want to get the submission ID with the data. Is this Possible?

    What I am trying to achieve is import the data into a SQL Database. I want to use the webhook http post as notificagtion  to trigger a call to your API in order to collect the real data.

    From what i can see looking at the http post to my requestb.in, there is no submission ID. Is there a way to get it?

     

    This is the method i'll be calling to retrieve the data (this is your github C# example)

     

             public JObject getSubmission(long sid)

            {

                return executeGetRequest("/submission/" + sid.ToString());

            }

  • Profile Image
    dinesh-it
    Answered on July 17, 2013 at 10:21 PM

    Hi, Refer this guide to get list of all submissions by passing form ID.

    I think in C# it is getSubmissions();  Note that s in last.

    Once you get the Submissions details, it will contain the Submission ID, Created Date, etc..

    Hope this helps you.

    Thank you.

  • Profile Image
    angelinail
    Answered on July 18, 2013 at 10:42 AM

    dinesh-it  Thank you for the response. Is there any way we can get the submission ID in webhook http post to my webiste?

    When the form is submitted, i get the post to my site however the Json does not contain Submission ID. It only has the form fields Ids and their data.  

    You are suggesting a workaround, i'm not interested in that. I want to see the submission ID in the HTTP post that is done with the webhook.

     

    Thanks!

     


  • Profile Image
    Welvin
    Answered on July 18, 2013 at 01:59 PM

    @angelinail,

    We request you to please open a separate thread with your inquiry. You can refer to this guide: http://pastie.org/8113417#1,11.

     

    Thanks

  • Profile Image
    angelinail
    Answered on July 18, 2013 at 03:11 PM

    I know how to Parse out the HTTP header/data. The problem is that that data does NOT include the submission ID of the actual form submission. 

  • Profile Image
    Welvin
    Answered on July 18, 2013 at 04:27 PM

    You should be able to get the submissions ID. Please open a separate thread so we can further help you.

    Thanks

  • Profile Image
    djdemers1
    Answered on July 09, 2016 at 11:52 AM

    This is disappointing. I thought the question was asked very clearly. Hopefully I can find this other thread with the same question.