API Related question

  • Profile Image
    Rappai
    Asked on November 15, 2021 at 01:36 AM

    Hello i am trying to send a JSON request to edit a field in a submission, what should the JSON body request look like

    I was trying this

    {

     "submission[16]": "Dudo"

    }


    but it does not work

  • Profile Image
    Rappai
    Answered on November 15, 2021 at 04:23 AM

    I am using a third party API workflow software called parabola.io and they won't support form-data, so will Jotform API support raw JSON as the body for API edit instead



    thanks

    Anto

  • Profile Image
    gerardw
    Answered on November 15, 2021 at 08:03 AM

    Hello Anto,

    You can edit the submission only using two possible methods:

    1. Within Jotform using your submission page: https://www.jotform.com/help/325-how-to-edit-submissions-made-on-your-forms/.
    2. Using API: https://api.jotform.com/docs/#post-submission-id

    It is not possible to add external JSON data to the form builder.

    I hope that helps.

  • Profile Image
    Rappai
    Answered on November 15, 2021 at 08:21 AM

    Hi, my question was specif to editing the submission via API, while editing the submission using API, is the only way to use ApplicationType - Formdata or can we use ApplicationType JSON. If we can use application type JSON, what would the body format be for editing the Submissions field?


    Thanks

    Anto

  • Profile Image
    Amos_W
    Answered on November 15, 2021 at 10:13 AM

    Hi there,

    In order to get a full detailed response,

    Please contact our API team at
    api@jotform.com

    I believe that they can provide you with all of the information you'll need

    Please let us know if there is anything else we can assist you with,

    Thank you