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

  • Profile Image
    Shadwise
    Asked on January 18, 2017 at 01: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 :

    but when I use the ID above it return this.

     

    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

  • Profile Image
    KadeJM
    Answered on January 18, 2017 at 02: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.

  • Profile Image
    Shadwise
    Answered on January 18, 2017 at 02: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!