API json array of numbers

I have to send the parameter”employees”:[1,5,14…] via API Rest . How to replace numbers with assigned variable that represent string of numbers to get correct response from Json?

Solved

How did you solve it?