Added error checking to rest endpoint, with test cases for each exception thrown.
Renamed returned entity from export job “Export Entity”