Search a form by Id doesn't work with C# API

  • Shadwise
    Asked on January 18, 2017 at 1:01 PM

    Hi,

     

        I'm trying to search a form by his id but it returns nothing. I'm using the c# library and the function getForms. if I search with the title it return :Search a form by Id doesnt work with C# API Image 1 Screenshot 30

    but when I use the ID above it return this.Search a form by Id doesnt work with C# API Image 2 Screenshot 41

     

    Here is the code i'm using (in VB.net)

                Dim JFApiClient As New JotForm.APIClient(cntstrAPiKey, True)

                Dim dicFilter As New Dictionary(Of String, String)

                dicFilter.Add("id", "70174013902243")

                Dim strAnswer As string = JFApiClient.getForms(filter:=dicFilter).ToString

  • KadeJM
    Replied on January 18, 2017 at 2:00 PM

    I see your having some problems with using our C# API to search a form by ID.

    You mentioned you're looking at " his Form ID " so are you referring to viewing a form submission that was sent to you? or did you maybe mean something else?

    I do see your code has a null in it.

    Have you had a chance to check out our API Documentation on getting the form id with C#? 

    Please see http://api.jotform.com/docs/#form-id 

    If you need further assistance though just let us know.

  • Shadwise
    Replied on January 18, 2017 at 2:10 PM

    I was looking for the form itself but I found a function that does it. The function is : getForm who takes an FormID and return the form information.

    Thank you for your help!