Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Filter within API Request

Hello,

 

i want to set a filter within a JSON Request. The code seems to be ok but i am not seeing the filtered data.

for example

 

 

Does someone has a tip for me how i can get the filtered data shown? This filter works with another API Tool.

Thanks in advance

  • Anonymous's avatar
    Anonymous
    6 years ago

    I have found the mistake. Some braces were missing.

     

    filter = [type="C__OBJTYPE__APPLIKATIONSLISTE"], category = "C__CATG__CONTACT",

     --> category = {"C......"}

     

    Neverthless, thank you for your input !

6 Replies

Replies have been turned off for this discussion
    • Anonymous's avatar
      Anonymous
      Not applicable

      im sorry, it makes me feel uncomfortable but i dont understand this. is there an example available ? like adding the filter into the json request?

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Anonymous ,

         

        This does not look like a valid JSON... Is this something you put inside a valid JSON as string parameter?

        Can you share the context: the actual JSON being sent (please do not forget to remove any private/confidential data) and the query code that you use to fetch data?

         

        Thanks,

        JB