Skip to main content
Solved

Search cards by a customized field

  • August 28, 2020
  • 1 reply
  • 465 views

keylamacharet

Hello!

I´m new on the community and I want to know if I can search cards via API using my customized field.

I added a “Document Number” field, so I need to get the lead information based on the document number the person is going to inform.

 

Is that possible?

 

Thanks,

 

Keyla

Best answer by Luan de Araujo

Hi Keyla

 

How are you doing today?

 

Unfortunately, filtering data inside API is not possible. You’ll need to get all card’s data and then filter it using your application code.

 

You can get all card’s data using the following API syntax:

{

  card(id: <CARD ID HERE>) {

    title

    assignees {

      id

    }

    comments {

      text

    }

    comments_count

    current_phase {

      name

    }

    done

    due_date

    fields {

      name

      value

    }

    labels {

      name

    }

    phases_history {

      phase {

      name

    }

      firstTimeIn

      lastTimeOut

    }

    url

  }

}

 

If there’s any additional question, don’t hesitate to contact us :grinning:  

View original
Did this topic help you find an answer to your question?

1 reply

Luan de Araujo
Pipefy Staff
Forum|alt.badge.img
  • Pipefy Staff
  • 5 replies
  • Answer
  • September 1, 2020

Hi Keyla

 

How are you doing today?

 

Unfortunately, filtering data inside API is not possible. You’ll need to get all card’s data and then filter it using your application code.

 

You can get all card’s data using the following API syntax:

{

  card(id: <CARD ID HERE>) {

    title

    assignees {

      id

    }

    comments {

      text

    }

    comments_count

    current_phase {

      name

    }

    done

    due_date

    fields {

      name

      value

    }

    labels {

      name

    }

    phases_history {

      phase {

      name

    }

      firstTimeIn

      lastTimeOut

    }

    url

  }

}

 

If there’s any additional question, don’t hesitate to contact us :grinning:  


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings