
On my developer edition I am able to use the /services/data/v38.0/composite composite API. I seriously LOVE this API, it cuts down on network time and makes life easy.
There is problem however, recently I was trying to integrate with a new customer and to my surprise the composite REST endpoint was 404 not found. The response from SFDC was:
[
{
"errorCode": "NOT_FOUND",
"message": "The requested resource does not exist"
}
]
Other REST requests on this domain with the same authentication work great... I thought that the composite API was Generally Available. Any ideas? Thanks in advance for the help.
6 respuestas
This resource is available in API version 42.0 and laterhttps://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite.htm../services/data/v42.0/composite/sobjects{ "allOrNone" : false, "records" : [{ "attributes" : {"type" : "Account"}, "Name" : "example.com", "BillingCity" : "San Francisco" },{ "attributes" : {"type" : "Account"}, "Name" : "example2.com", "BillingCity" : "San Francisco" }]}work on 42 and not on 38 if this is help you ;)