I am creating a VS which saves an array of values in a filter and then asynchronously it needs to send a dynamic response. Example: filter_orderItem_id : ["ON0001","ON0002,"ON0003","ON0004"]
I need to insert the values into 4 new rows along with timestamp Later on, a test case will fetch all the records based on time-stamp and send individual responses as below:
{
"event": "statusNotification",
"OrderId": "ON0001",
"Timestamp": "20-02-2018"
}
{ "event": "statusNotification",
"OrderId": "ON0002",
"Timestamp": "20-02-2018"
}