Job insert function returns results
API modified to support results