Questions tagged [composite]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
41 views

What is performance gain of using Composite API over Custom Apex REST API?

I want to know whether using Salesforce Composite API will give me any performance gain or not in my scenario. I am not expert in Salesforce and don't know much about Composite API. So, before I move ...
0
votes
1answer
16 views

Invalid entity type provided in the request on composite/tree/customObject

I'm trying to receive a POST call with multiple records of a custom object. I don't know if that's the best choice but i'm using /services/data/v47.0/composite/tree/CSVEnergyLead__c/ When i try to do ...
0
votes
1answer
33 views

Composite REST Resource Not Found

I created a composite REST to insert opportunity for existing account, but all the GET method return error resource not found.. someone help { "allOrNone" : true, "compositeRequest" : [{ "method" ...
0
votes
1answer
33 views

How to limit response from Attachment endpoint using SOQL (LIMIT not working)

We're working on a data driven application at the moment and are attempting to return a list of Attachment Id's. Right now our SOQL query is effectively: SELECT Id FROM Attachment WHERE ...
1
vote
1answer
38 views

Difference between Batch and Sobject Collection composite resources

How are these two Composite API's different? From the documentation, with Batch, 25 unrelated subrequests can be passed into a single Batch Composite API and with Collections, it is 200. Both the API'...
1
vote
0answers
39 views

Using composite API is it possible to pass all Id's from a GET operation to another GET operation without knowing how many objects are being returned?

With composite we can use the results from a previous operation in the next operation by using the @{ref.records[0].} syntax as so: { "compositeRequest": [ { "method": "GET", "url": "/...
3
votes
1answer
53 views

Multiple REST requests in parallel?

Can we make request to Salesforce REST API's (i.e. insert or even composite) in parallel? If yes, is there a total number of requests we can make in any given time?
5
votes
1answer
229 views

Can you upsert using Composite SObject Tree?

As the title suggests, using the Composite SOjbect Tree request, can you upsert records using External IDs?
4
votes
2answers
208 views

Composite API: Create Person Account and Community User in a single call

Background I'm currently trying to create a User and PersonAccount at the same time. In order to do that I send the following Payload to the composite API Endpoint: { "compositeRequest":[ ...
4
votes
1answer
41 views

How Composite subrequests count toward ConnectAPI limits

I´m using Salesforce batch composite API { "batchRequests" : [ { "method" : "PATCH", "url" : "v34.0/sobjects/account/001D000000K0fXOIAZ", "richInput" : {"Name" : "NewName"} },{ ...
1
vote
1answer
128 views

How do I use parameterized search API with POST, to search for multiple values

I need to remotely query salesforce for 1000 records using REST, via POST (I can't be passing my external IDs over a GET query: they'd get logged in salesforce's web log files bad practice). Using ...
0
votes
2answers
144 views

Rest API Composite - Error 302

I am using Composite API to get the opportunity record but facing 302 error { "compositeRequest" : [ { "method" : "GET", "url" : "/services/data/v42.0/query/?q=select+id,...