Salesforce Apex REST Callouts POST Request (Perform Apex Callout from Trigger)

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2022
  • In this video, we go over how to perform an Apex REST POST Callout (from a Trigger)
    Get the code here:
    gist.github.com/chrismarquezd...
    Video on Visual Studio Code Dev Setup:
    • Salesforce Setup Visua...
    Salesforce Documentation:
    trailhead.salesforce.com/cont...
    developer.salesforce.com/docs...
    Feel free to leave a comment if you have any questions and/or make a suggestion on what kind of video you would like to see next.
    Submit your questions here:
    docs.google.com/forms/d/e/1FA...
    Subscribe to my Salesforce Newsletter:
    www.posts.chrismarquez.com/su...

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

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

    also in the video you mention handling payload error? have you created a video on it? thanks

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

    amazing video. Can you post an example call out using Queueable? Also for apex web services i always use webhooks to push data from external system to salesforce? What's your two cents on that Chris?

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

      Hi Massimo, here's a video I did that covers Callouts and Queueables: th-cam.com/video/ok8OUkC_rOw/w-d-xo.html
      I haven't had much of a chance to use webhooks when working with Salesforce. Sounds interesting though, I'll have to look into that.

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

    Hey Chris, How do you handle if the api accept single record? how does it work when there is bulk data load? Thank you

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

    Chris make some video on how to write test class for this POST/Get request

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

      Sure, I'll post a video on this in a few days.

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

      Here you go: th-cam.com/video/uD8G4y1avBw/w-d-xo.html

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

    Can u do a video using rest api callouts in postman

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

      Hey Fathima, here's a video I made awhile ago that shows how to use Postman to make a request to an SF web service:
      th-cam.com/video/F8ePYhOy9UI/w-d-xo.html
      Here's a playlist that goes over the basics of Web Services:
      th-cam.com/play/PLL3Iw8hs1Qkq5-feSfNvYUytNe6pl1OEV.html
      Let me know if you have any questions.

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

      @@ChrisMarquez this is for call in ryt (salesforce )

  • @Juan-ez7qv
    @Juan-ez7qv ปีที่แล้ว

    gist no longer works

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

      Here's a working gist: gist.github.com/chrismarquezdev/7f8d70ddc72b76f137f38cf2b497047c

    • @Juan-ez7qv
      @Juan-ez7qv ปีที่แล้ว

      @@ChrisMarquez Thanks !