Skip to main content
Solved

API call to list all fields in a pipe & which phase each is in

  • July 20, 2020
  • 1 reply
  • 557 views

jaco6
Forum|alt.badge.img+1
  • Participating Frequently
  • 7 replies

Hi, I would like to do an API call to return all the fields in a pipe and and the phase where each of them are. I have the call that just lists all the fields, but not which phase they are in

Best answer by lais_lot

jaco6 wrote:

Hi, I would like to do an API call to return all the fields in a pipe and and the phase where each of them are. I have the call that just lists all the fields, but not which phase they are in

 

Helo @jaco6 , how are you doing today?

You can use the query below:

{   pipe(id:1234567){     start_form_fields{       id       label       type       options       phase{         id         name       }     }     phases{       id       name       fields{         id         label         type         options       }     }   } }

 

Hope it helps. If you have any questions, let me know! 

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

1 reply

lais_lot
Pipefy Staff
  • Pipefy Staff
  • 16 replies
  • Answer
  • July 20, 2020
jaco6 wrote:

Hi, I would like to do an API call to return all the fields in a pipe and and the phase where each of them are. I have the call that just lists all the fields, but not which phase they are in

 

Helo @jaco6 , how are you doing today?

You can use the query below:

{   pipe(id:1234567){     start_form_fields{       id       label       type       options       phase{         id         name       }     }     phases{       id       name       fields{         id         label         type         options       }     }   } }

 

Hope it helps. If you have any questions, let me know! 


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