As per the documentation i understood that we can create account in the following way.
Example for creating a new Account
curl https://na1.salesforce.com/services/data/v20.0/sobjects/Account/ -H "Authorization: Bearer token -H "Content-Type: application/json" -d "@newaccount.json"
Example request body newaccount.json file for creating a new Account
{
"Name" : "Express Logistics and Transport"
}
Example response body after successfully creating a new Account
{
"id" : "001D000000IqhSLIAZ",
"errors" : [ ],
"success" : true
}
Is there a way to create multiple accounts in one shot and if it is possible what could be the JSON structure? Please suggest.