Added rest api calls (these have to be written on Oracle)