API Inquiry: Get pending submission records?

  • habitat_emarsys
    Asked on December 2, 2014 at 10:41 PM

    I'm trying to get all the submission records by use API. I find out there only available on completed submissions by use this: http://api.jotform.com/docs/#form-id-submissions. But i can not find any AIP to get the pending submissions.

    Please advise. Thanks.

     

  • Charlie
    Replied on December 3, 2014 at 8:15 AM

    Hi,

    Are you referring to the pending submissions under incomplete payments done by a user? Upon checking the API documentation, unfortunately, it seems that it is not stated there. But I can forward this to our developers and technical team so that they can properly advise us. We will receive a notification when they have an update for us.

    Thank you.

     

     

  • Steve VP of Sales Operations
    Replied on December 4, 2014 at 3:11 AM

    Hello,

    I haven't tested pending submissions before, but this solution may work.

    1) Use a webhook to notify your server that a submission has been sent. I'm not 100% sure when the hook is sent, in regards to pending submissions though. I *think* it's sent even if the submission is still pending.

    http://www.jotform.com/help/245-How-to-Setup-Webhook-with-JotForm

    2) Use this API call, if necessary, to check the submission

    http://api.jotform.com/docs/#submission-id

    Potentially you could use the timing of when the web hook fires, and the existing API calls to determine which submissions are pending.

    Let us know if you have further questions.

    Thanks