Composite Request
Returns a RestRequest object that you then use to execute the composite request.
Regardless of the number of subrequests, each composite request counts as one API call.
-
apiVersion
(string) -
requests
-
iOS
requests
(array)—Array of subrequestsrefIds
(array)—Array of reference IDs for the requests. The number of elements should match the number of requests.
-
Android
refIdToRequests
(map)—LinkedHashMap
of reference IDs toRestRequest
objects. Requests are played in the order in which they’re mapped.
-
-
allOrNone
(Boolean)—Flag that indicates whether to treat all requests as a single transactional block in error conditions.
- Swift
- Objective-C
- Kotlin
- Java
- Batch and Composite Requests (iOS)
- Batch and Composite Requests (Android)
- “Composite” in REST API Developer Guide