You need to sign in to do that
Don't have an account?
Firaus Odeh
C# Case updates
I need help getting this to work. I've followed all API documentation and can't get anything to happen. There are no errors, just nothing happens when it's run:
Case c = new Case();
Case[] cases = new Case[1];
c.Id = id;
c.Subject = "Test";
cases[0] = c;
SaveResult[] check = binding.update(cases);
Any ideas would be great. I can successfully login and pull data, but update() and create() do nothing.
Case c = new Case();
Case[] cases = new Case[1];
c.Id = id;
c.Subject = "Test";
cases[0] = c;
SaveResult[] check = binding.update(cases);
Any ideas would be great. I can successfully login and pull data, but update() and create() do nothing.
Greetings to you!
Please refer to the below links which might help you further with the above requirement.
http://www.ashishblog.com/integrating-salesforce-soap-api-using-c-net/
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_create.htm
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_update.htm
https://stackoverflow.com/questions/31079195/adding-a-new-case-comment-via-salesforce-api-c-sharp
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas
But i had another question if you could help. Is there any documentation on how to create a case? That's the next thing i need to do and i can't find examples of using create() on a case. I don't know which fields are required and if there are any other calls to make.