added get_batches_in_job and get_batch_result_in_job