Podio API - Filter items

Answered

Comments

5 comments

  • Andreas Garnæs

    Hi Andrey,

    Please share the exact request you're making (URL, HTTP method and post body). Also, what type of field are you trying to filter on?

    Best,
    Andreas

    0
    Comment actions Permalink
  • System Admin

    Hi, Andreas.

    Thanks for reply. Request is below.

    POST /item/app/{app_id}/filter/ HTTP/1.1
    Host: api.podio.com:443
    Authorization: OAuth2 tokenhere
    Cache-Control: no-cache

    Content-Disposition: form-data; name="filters"
    { filters: { title: '160103' }, limit: 500, offset: 0 }

    Request returns an item with title 160132, but 160103 exists.

    Andrey

    0
    Comment actions Permalink
  • Andreas Garnæs

    What type of field is title?

    0
    Comment actions Permalink
  • System Admin

    Sorry, it's Text field

    0
    Comment actions Permalink
  • Andreas Garnæs

    You need to use the search API to query on text fields: https://developers.podio.com/doc/search

    Filters are documented here: https://developers.podio.com/doc/filters

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk