Forum Discussion
PhillipDennis
Qrew Cadet
Hi Laszlo. It's not very well documented, but the Quickbase API channel actually returns a JSON object that you can easily access with Jinja if you know how. If you make the call in step A of your pipeline, for example, you can access the result with {{a.json.qdbapi.value}}. Give that a try.
PHILLIP DENNIS
Principal | Watkyn LLC
Quickbase Partner
(954) 900-6690 | hello@watkyn.com
www.watkyn.com
------------------------------
Phillip Dennis
------------------------------
PHILLIP DENNIS
Principal | Watkyn LLC
Quickbase Partner
(954) 900-6690 | hello@watkyn.com
www.watkyn.com
------------------------------
Phillip Dennis
------------------------------
DamonWalls
3 years agoQrew Member
What would channel/step would come after the Quickbase Make Request channel step that would accept the {{a.json.qdbapi.value}} response?
------------------------------
Damon Walls
------------------------------
------------------------------
Damon Walls
------------------------------
- MalcolmMcDonald3 years agoQrew CadetFor my use, I did another make request as the second request depended on the the result of the first.
https://xxx.quickbase.com/db/xxx?a=API_SendInvitation&userid={{b.json.qdbapi.userid}}&usertext="Welcome."
I can definitely see use cases where you would want to create a record to store the request and result, or update a record with new information etc.
------------------------------
Malcolm McDonald
------------------------------- DamonWalls3 years agoQrew MemberThank. I'm looking to make a second as well depending on the result of the first. I'm making a GetUserRole call and need to check the response to see if the user is in specific roles already, if not make another request call to AddUserToRole.
Anyone have any insight on how the expression should look to check the response via {{b.json.qdbapi.value}}? Definitely a Jinja newbie.
------------------------------
Damon Walls
------------------------------ - DanielBewley3 years agoQrew TraineeI'm trying to follow how to use this information but am stumped. I have posted my question in detail here: (Pipelines) Get Users in Role / Process XML from HTTP API. Any help would be appreciated.
------------------------------
Daniel
------------------------------