function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pratap R ReddyPratap R Reddy 

How can i executing apex job in C#


How can i execute a apex job using either of REST, Bulk or Partner API with C#?

Thanks,
Pratap
SandhyaSandhya (Salesforce Developers) 
Hi Pratap R Reddy,

Below are some useful links which will help you.

http://murthyvvr.blogspot.sg/2015/08/salesforce-bulkapi-example-in-c.html
 
https://developer.salesforce.com/forums/?id=906F00000008sZ7IAI
 
http://stackoverflow.com/questions/4326598/connecting-to-salesforce-bulk-api-using-c-sharp
 
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_create.htm
 
Hope this helps you!

Please mark it as Best Answer if my reply was helpful. It will make it available for other as the proper solution. 
 
Thanks and Regards
Sandhya

 
Pratap R ReddyPratap R Reddy
Hi Sandhya,
Thank you for your reply. The lilnks you provided are very useful but i could not get the actual answer that i was looking for. Let me try to put my question in more simple manner.

If we login to salesforce and go to Setp | Jobs | Apex Jobs, we will see a number of apex jobs. We have one of the apex job that go through all the leads meeting some business criteria and then we are updating some fields for those leads. That is the process of apex job and i am not worried about it. I just want to trigger the apex job through .NET.

Thanks,
​Pratap
Vishnu ViharVishnu Vihar
Hi Pratap R reddy,

Did you find what you are looking for, I am also looking for the same. Please provide any solution if you found.

Thanks
Vishnu