How Bulk API Works
Install cURL
Find Field Names
Valid Date Format in Records
Relationship Fields in Records
Valid XML and JSON Records
Sample XML File
Sample JSON File
Limits
Map Data Fields
Bulk API End-of-Life Policy
Previous PDF Versions
This XML sample includes two records for the Account object. Each record contains three fields. You can include any field for an object that you’re processing. If you use this file to update existing accounts, any fields that aren’t defined in the XML file are ignored during the update. You must include all required fields when you create a record.
1<?xml version="1.0" encoding="UTF-8"?>
2<sObjects xmlns="http://www.force.com/2009/06/asyncapi/dataload">
3 <sObject>
4 <Name>Xytrex Co.</Name>
5 <Description>Industrial Cleaning Supply Company</Description>
6 <Account Number>ABC15797531</Account Number>
7 </sObject>
8 <sObject>
9 <Name>Watson and Powell, Inc.</Name>
10 <Description>Law firm. New York Headquarters</Description>
11 <Account Number>ABC24689753</Account Number>
12 </sObject>
13</sObjects>See Also