Below is my requirement,can some one help with solution to handle virtual service
1) I will call 'A' API and send X response
2) Then I will call 'B' API or 'C' API
3) Again I will call 'A' API but I need to send response X or Y based on my earlier call B or C.If my earlier call is 'B' i need to send X response if it is C i need to send Y response
Is their any script or filter I need to use to complete this scenario?