Discussions

 View Only
  • 1.  Jinja Json Object in Pipeline

    Posted 03-07-2023 10:51

    Good morning, 

    In one of our pipelines we need to make a POST request to business central in order to get the access token needed to created a GET request. I'm having difficulties using jinja to filter my contents response to the just the access token itself to use for my second step.

    Could anyone help me regarding this? 



    ------------------------------
    Christopher Angulo
    ------------------------------


  • 2.  RE: Jinja Json Object in Pipeline

    Posted 03-10-2023 12:16

    Hi Christopher, can you post an example response that needs to be parsed?



    ------------------------------
    Doug Henning
    ------------------------------



  • 3.  RE: Jinja Json Object in Pipeline

    Posted 03-10-2023 19:10

    You need to make a POST to a service like requestbin or something similar so you can get a sample of the schema to use in the 'Iterate over JSON records' step.  Then you will be able to access the values in that response.



    ------------------------------
    Jeff Peterson
    ------------------------------