extracted place purchase order rest service call out of controller and into a reusable service.