Salesforce REST API Integration: How to make Rest request from Dot Net to Salesforce

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ค. 2021
  • We @AITechone provide online training on Salesforce, Machine Learning, Python, Data Visualization, and many more technologies along with live projects, case studies, and study material. Training is provided by real-time industry professionals, and they are subject matter experts giving or sharing the best of the knowledge they gained over some time. Along with training we also offer Resume Screening, Resume Preparation, Soft Skills training, Interview Preparation, Remote Support, Job assistance, and many more.
    #SalesforceIntegration #DotNetIntegration
    #DotNetDeveloper
    #SalesforceAPI #SalesforceCoding #CRMIntegration #SalesforceDotNet #DotNetCustomization #DotNetAppDevelopment
    🔍 Explore our videos to:
    🚀 Learn actionable tips and tricks to Salesforce, Power BI, Einstein Analytics, and Many More
    💡 Stay updated on the latest trends and developments in Salesforce, Power BI, and Einstein Analytics.
    💬 Engage with a vibrant community of like-minded individuals.
    🎓 Sharpen your skills and expand your knowledge base.
    Join us on this exciting journey of [describe the journey your channel offers - e.g., exploration, education, entertainment]. Don't forget to hit the subscribe button and turn on notifications so you never miss out on our latest uploads!
    For more information visit: www.aitechone.com
    For Complete Course Details visit: aitechone.com/courses-2/
    Contact us: aitechone.com/contact.php
    Email: support@aitechone.com, info@aitechone.com
    Contact us on Whatsapp: api.whatsapp.com/send?phone=+...
    Linkedin: / 3131. .
    Facebook Page: / aitechone-10. .
    Follow us on Twitter: / atechone
    Contact No: +918118861309, +917080814180(WhatsApp)

ความคิดเห็น • 11

  • @markmidwest7092
    @markmidwest7092 2 ปีที่แล้ว +2

    Thank you for putting this out there. This is very useful for the C# developer who has some familiarity with Salesforce like myself.

  • @omarsebakhi
    @omarsebakhi ปีที่แล้ว +1

    You make a huge and great help for me!!!! How to thank you?

  • @alibutt2646
    @alibutt2646 2 ปีที่แล้ว +2

    Hi,
    Good work.
    just a suggestion, you should place the required code snippets in the description. that would help better mapping on actual.

  • @tttttttt3531
    @tttttttt3531 2 ปีที่แล้ว +2

    What is the url we need to give in api end point
    I am writing this method in web api

  • @AshwinKumar-kc7ly
    @AshwinKumar-kc7ly 8 หลายเดือนก่อน

    I am getting the error "The requested resource does not exist" while querying. Login method works fine. I am a System Administrator and there are nothing in Field Level Security that might cause this. Can someone please let me know a way to address this issue?

    • @aitechone5907
      @aitechone5907  8 หลายเดือนก่อน

      Hi , can you pls send me query which u will be using.

    • @AshwinKumar-kc7ly
      @AshwinKumar-kc7ly 8 หลายเดือนก่อน

      @@aitechone5907 Thanks for responding. These are the three lines I am using for calling the methods in the client -
      var client = CreateClient();
      client.Login();
      Console.WriteLine(client.Query("select Name from Account"));

    • @AshwinKumar-kc7ly
      @AshwinKumar-kc7ly 8 หลายเดือนก่อน

      This is the code for the method "Query" -
      public string Query(string soSQL)
      {
      using(var client =new HttpClient())
      {
      //string restResult = InstanceURL + API_Endpoint + "query?q=" + soSQL;
      string restResult = $"{InstanceURL}{API_Endpoint}query?q={soSQL}";
      Console.WriteLine("restResult --- " + restResult);
      var req = new HttpRequestMessage(HttpMethod.Get, restResult);
      req.Headers.Add("Authorization", "Bearer" + AuthToken);
      req.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
      req.Headers.Add("X-PreetyPrint", "1");
      var res = client.SendAsync(req).Result;
      return res.Content.ReadAsStringAsync().Result;
      }
      }

  • @wahebbenzaid543
    @wahebbenzaid543 ปีที่แล้ว

    Hi, I got an error : unsupported grant type

    • @aitechone5907
      @aitechone5907  ปีที่แล้ว

      pls check your credentials and security token.