@Aravind_Shankar I recently came across a similar question around this on SO -
I wrote an answer there, you can use that answer as a step towards solving your problem.
You can dynamically generate request body / params using a variable and the pre-request script.