move outline REST call out of the old service