Newer Version Available

This content describes an older version of this product. View Latest

Getting Information for All Batches in a Job

Get information about all batches in a job by sending a GET request to the following URI.

URI
https://instance_name—api.salesforce.com/services/async/APIversion/job/jobid/batch
Method
GET
Example request body
No request body is allowed.
Example response body
1<?xml version="1.0" encoding="UTF-8"?>
2<batchInfoList
3   xmlns="http://www.force.com/2009/06/asyncapi/dataload">
4 <batchInfo>
5  <id>751D0000000004rIAA</id>
6  <jobId>750D0000000002lIAA</jobId>
7  <state>InProgress</state>
8  <createdDate>2009-04-14T18:15:59.000Z</createdDate>
9  <systemModstamp>2009-04-14T18:16:09.000Z</systemModstamp>
10  <numberRecordsProcessed>800</numberRecordsProcessed>
11 </batchInfo>
12 <batchInfo>
13  <id>751D0000000004sIAA</id>
14  <jobId>750D0000000002lIAA</jobId>
15  <state>InProgress</state>
16  <createdDate>2009-04-14T18:16:00.000Z</createdDate>
17  <systemModstamp>2009-04-14T18:16:09.000Z</systemModstamp>
18  <numberRecordsProcessed>800</numberRecordsProcessed>
19 </batchInfo>
20</batchInfoList>