If any errors are encountered during the course of processing in the Transaction Restore API, an error code can be passed to the callback program along with any error text that is appropriate. Also, when the API is called, it immediately returns the "JobID" of the job submitted if it was able to schedule successfully (a positive integer). If the schedule is not successful, it returns negative 1 (-1).