Newer Version Available

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

Get Information for a Batch

Get information about an existing batch by sending a GET request to this URI.
URI
/services/async/APIversion/job/jobid/batch/batchId
Example request body
No request body is allowed.
Example XML response body
1<?xml version="1.0" encoding="UTF-8"?>
2<batchInfo
3   xmlns="http://www.force.com/2009/06/asyncapi/dataload">
4 <id>751D0000000004rIAA</id>
5 <jobId>750D0000000002lIAA</jobId>
6 <state>InProgress</state>
7 <createdDate>2009-04-14T18:15:59.000Z</createdDate>
8 <systemModstamp>2009-04-14T18:15:59.000Z</systemModstamp>
9 <numberRecordsProcessed>0</numberRecordsProcessed>
10 <numberRecordsFailed>0</numberRecordsFailed>
11 <totalProcessingTime>0</totalProcessingTime>
12 <apiActiveProcessingTime>0</apiActiveProcessingTime>
13 <apexProcessingTime>0</apexProcessingTime>
14</batchInfo>
Example JSON response body
1{
2   "apexProcessingTime" : 0,
3   "apiActiveProcessingTime" : 0,
4   "createdDate" : "2015-12-15T22:52:49.000+0000",
5   "id" : "751D00000004YGeIAM",
6   "jobId" : "750D00000004SkVIAU",
7   "numberRecordsFailed" : 0,
8   "numberRecordsProcessed" : 0,
9   "state" : "InProgress",
10   "systemModstamp" : "2015-12-15T22:52:49.000+0000",
11   "totalProcessingTime" : 0
12}