Steve-3PO
7 years agoNew Contributor
Transfering values from a REST API response into a list for later use
I’m trying to store a multiple values into a list that is sent back in the response each time I call a "Create Employee" REST API - POST.
Example:
I want to create X amount of employees and store the employee ID found in the API response for each employee that is created.
I am currently using a Datasource with a list of employees in an excel file and then calling the API for each employee using the DataSourceLoop until all employees are created.
Each time the API is called, I would like to take the EmployeeID from the response and store into a list for later user.
I can’t seem to find a way of storing multiple values without having to have a property predefined to store it against.
As always, any help is very much appreciated. Thank you