Add API versioning and service params in url. Refs. #1740