Newer Version Available
Group Operations for Fewer Round Trips with SObject Collections
Executes actions on multiple records in one request. Use SObject
Collections to reduce the number of round-trips between the client and server. This
resource is available in API version 45.0 and later.
- URI
- The URI to use depends on the operation.
- Create
- POST /vXX.X/tooling/composite/sobjects
- Retrieve
- GET /vXX.X/tooling/composite/sobjects/SobjectName?ids=recordId1,recordId2&fields=fieldname1,fieldname2
- Update
- PATCH /vXX.X/tooling/composite/sobjects
- Delete
- DELETE /vXX.X/tooling/composite/sobjects?ids=recordId1,recordId2
- Formats
- JSON, XML
- HTTP method
- GET, DELETE, PATCH, POST
- Authentication
- Authorization: Bearer token
The parameters, request body, and response body you use depend on the operation. For details, see the specific operation.