+ Start a Discussion
Krati RajpurohitKrati Rajpurohit 

can i update all my Lead records in single request , if i pass them as json string

Hey
can anyone suggest me a appropriate way via which i can update all my Lead records in single request .
I using java, and wana pass all records as json string
Is  there any technique is salesforce using which a json string with all records can be updated in a single request
Shashikant SharmaShashikant Sharma
You could use Bulk_API : https://developer.salesforce.com/page/Bulk_API

Let me know if you have any issues using it.

Thanks
Shashikant
Krati RajpurohitKrati Rajpurohit
Bulk api uploads data through xml/csv file. my application aims at updating data(or all records) in various sales force accounts using cron job,in such scenario maintaining a file for every update shall be difficult. Therefore can you suggest me a better alternative