Finally i got the solution by implementing pipeline with help of several activities .Just posting here so that it can be help others if have same requirement (i just temporary stored data on blob storage and deleted on execution of pipelines get completed ) Activities
- Copy Data activity - Fetch and store data into blob storage (SINK) in CSV format (not json because csv option provide way of specifying max rows which help to store files in chunks of data inside a temporary created folder ex:Input_1234 that can be operated easily by metadata activity as used in next steps )
- Used metadata activity with childitems value in fields list option for fetching detail of CSV files as generated by step1
- Used foreach loop on basis on copy activity output
@if(greater(activity('Copyactivity1').output.rowsCopied,0) , activity('MetadataActivity').output.childItems,variables('varEmptyArr'))
*varEmptyArr is a declared variable contain blank value , used in case of no record received form source
- Inside foreach i linked step3 to new copy activity for converting CSV data into Json and restored in blob storage on different folder (ex: output_1234)
- Then next activity added after step4 is lookup , which pick records from json file and tat can be used in next Web activity body option
- Add Web activity for posting data into rest api , used out put of step5 inside body option
- Use delete activity for deleting first json file whose records has been pushed to rest api in step 6
- Outside of foreach finally again used deleted activity for deleting csv all files from blob
- It;s done , but used couple of variables for holding values of parameters which are upto you how to use it in pipeines.
- So finally i could say that using data factory you can transfer data from one SAP API/REST api to another restapi. :)