Skip to main content
Group

Official: Composite API

This group is the official discussion forum for customers and partners who are using the Composite API. The Composite API will be GA for the Spring '17. It's a forum for customers to provide feedback, requirements and share ideas. Customers may also leverage this group to collaborate with each other on best practices. This group is maintained and moderated by a salesforce.com employee(s). The content received in this group falls under the official Safe Harbor. Please also see our official Salesforce Customer Community Terms of Use

Hello API enthusiasts,

Dreamforce 2024 is approaching, and I am looking for customers and partners who would be excited to share their Salesforce API journey on the Dreamforce stage together with me.  If this is something that excites you, please reach out to me.

Thanks,

Jeremy

0/9000
0/9000
0/9000

Salesforce Platform APIs: Ask Me Anything January 2024

 

Join our experts @Jeremy Westerman and @Kris Harrison hosted by Developer Advocate @Philippe Ozil for the January edition of our Salesforce Developers Ask Me Anything series to get all the details you need to succeed.

 

Date: Wednesday January 31, 2024

Time: 9am PT

Theme: Salesforce APIs

Registration: https://bit.ly/sfdevsamajan2024

Salesforce Platform APIs: Ask Me Anything January 2024 Join our experts and hosted by Developer Advocate for the January edition of our Salesforce Developers Ask Me Anything series to get all the deta #API #Platform Developer #Salesforce Platform

 

@Official: Bulk API 2.0 @Official: Composite API @Official: TreeSave API @OpenAPI Specs for Salesforce REST APIs @* Salesforce Platform *

0/9000

This past weekend I had the opportunity to present at Midwest Dreamin in Chicago, August 10-11, 2017. My session was titled “Tour of Salesforce REST APIs for Multiple DML in Single Request”. Although the sessions were not recorded, I did make my own screen cast a few days prior and have since uploaded it to YouTube. You can watch the video and check out the code from my new blog post linked below.

Tour of Salesforce REST APIs for Multiple DML operations in Single API Request

1 comment
0/9000

Hi ,

Today I got an opportunity to test the composite API in our Sandbox . The idea is great , I love the roll-back feature which will make integration platform using Salesforce for process orchestration more efficient. Composite API will certainly minimize api call outs & avoid junk records being created during a process failure in a integration with the rollback feature . 

One good use case that I can think during the first trial is to enable a conditional execution of a subRequest especially for write operations (POST,PUT,DELETE ) to

 

  • skip records being created/updated  based on the reference-record created from another subRequest
  • avoid roll-back or composite API failure in case of an expected validation error message in one of the subRequest based on the reference-record

Please help with the below question as well ;

  1. Can a SF custom rest API be invoked from Composite API request ?
  2. Is RESP APIs provided by managed package supported ?
  3. What is the maximum timeout 
  4. What is the order of execution ? I believe the approval process,flows, WF email ,field updates ,apex triggers will be kicked-off only on successful execution of composite API .

Great job team , eagerly waiting for the release  . 

Thanks

Sathish

1 comment
  1. Nov 7, 2016, 7:17 PM

    1. No, currently you cannot include custom Apex REST APIs. There is a fine line here, as we do not want to build a programming language out of composite. for advanced operations, you would want to use pure Apex

    2. No, since managed package APIs would be custom APIs, they would fall into #1. Now, if you are talking about accessing Objects in managed packages, then that will be possible, as they are exposed as SObjects

    3. This is the same as the REST API timeout, and varies per call.

    4. The order of execution is the same as any API call when involved with platform logic -

    https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm

    Keep the feedback coming!

0/9000