The excellent thing about this is that you can change the order of the JSON fields. So what I think is happening here is that you put in the table code, and the table headers just like you would expect.īut for the table rows, you get to use this magic loop to format the JSON data This is the part I had the most trouble with because I am definitely not a programmer. I added a parameter of length=10000 because FOLIO's default parameter is 10, so it needs to be tons longer in order to get all the results back. In this case, I'm going to set up a call to the Permissions API to get a list of the permissions available in the dev environment. Step 1: Set up an API call in Postman that successfully returns the data you want to visualize. So I'm just going to detail an example of how I used this tool to output permissions information in tabular format, which I could then copy/paste super easy into an excel spreadsheet. Postman offers training and info on it on the page above, but their examples are more than a little complicated for what we might want to do. You essentially add extra javascript code to the tests that you can run in the Postman tool to output it in different formats. Postman Visualizer is a tool in Postman that allows you to render the JSON responses from FOLIO in easier to understand visual formats, like tables and bar charts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |