JSON File - Multiple request for an iteration

Hi,

I have the following data file in JSON:

[
{
“sequence”: “CheckCompany”,
“company”: [“Google”, “Microsoft”]
},
{
“sequence”: “CheckFunction”,
“function”: [ “Func1”, “Func2” ]
}
]

Currently, there are 2 iterations.
For each iteration, where the is an array of values like company and function this should execute a request to call that same API to process items within the array.

Iteration 1: First API call → execute API with company = Google
Iteration 1: Second API call → execute API with company = Microsoft
Iteration 2: Third API call → execute API with function = func1
Iteration 2: Fourth API call → execute API with function = func2

How do I achieve this using JScript ?