Save many records into tables using the workbench UI
Last updated
Last updated
In this exercise we will add a few records to each of the tables created above by invoicing API using Trillo Workbench. In normal development, you will invoke these APIs from a client program after reading a file from the source system such as a file or API.
After creating the Customer table in the previous steps, navigate to the table.
Access the "API" section and select the "Save Many" endpoint.
Enter the data in the request body as an array of JSON objects for insertion. For example:
Click on the "Test" button. In the response, check the status of each record. If "inserted": true is present, the record was successfully inserted.
Repeat the same process for the Order and LineItem tables, following the steps mentioned above for each table.