You need to sign in to do that
Don't have an account?

Bulk API Sample app using C#
Does anyone know how to use Bulk API in C#?
the Web Service API can only update max 200 records at once.
Bulk API can update 10,000 records at once.
I only find sample code using Java.
Thanks.
Hi,
I would recommend you to download the SalesForce Data Loader from SalesForce I believe and study that.
Although it is java it can easily be translated into C#.
Regards,
Kos
The bulk API is rest-based, so all you need to do is write C# code that can send and receive HTTP requests to our servers. Porting DataLoader to C# would not be trivial.
Any more recent code samples for the BULK API using C#? Still needed.
Thanks.
I tried to create a job but request.GetResponse() line returns error message - (400) Bad Request. Below is the code, any help is much appreciated.
Try this code to see more info about the error that's getting returned. The responseFromServer string should contain more details about the error.
Thank you Longhorn94. That helps.
Hi Lane,
What did you do to resolve your issue with this line below:
Please let me know. I am getting the same issue.
Thanks,
NK
I am getting below response
Error code: BadRequest
<?xml version="1.0" encoding="UTF-8"?>
<error xmlns="http://www.force.com/2009/06/asyncapi/dataload">
<exceptionCode>InvalidUrl</exceptionCode>
<exceptionMessage>unknown version: 10.0</exceptionMessage>
</error>
Sorry but I am new in this