Implementation of Metlin REST webservice part II.