• s0mbra
  • NEWBIE
  • 25 Points
  • Member since 2013

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

Does anybody know how to vote for a poll using rest api in C#?

Thanks,

Does anybody know how to vote for a poll using rest api in C#?

Thanks,

Hi all,

I'm new here.

I'm coding a C# project to update data in Salesforce. When making a request of type HttpWebRequest, I get a sample to set session ID with code  "request.Headers.Add("X-SFDC-Session", sessionID);"

I've no idea why it is "X-SFDC-Session" or where can I find the mapping of header names and key words.

Now I want to set AllOrNoneHeader to be "true". Which key word should I use in HttpWebRequest instance?

 

Any suggestions?

Thank you very much!