SAM REST service getFlows Implementation