added get metadata api service call