Composite requests

From a Cloud API perspective, a composite request is a set of requests that are executed in a single InsuranceSuite bundle (which corresponds to a single database transaction). Composite requests can include subrequests to create or modify data and subselections to query data. You can also have a composite request that only includes subselections or only includes subrequests.

Composite requests support the use of most endpoints and many query parameters, but there are some limitations. For more information, see Composite request limitations.

Composite requests can be submitted asynchronously. For more information, see Asynchronous calls.

subrequests

A composite request can include one or more subrequests that create or modify data. Either all of the subrequests succeed, or none of them are executed. Each subrequest is a separate unit of work.

Subrequests and subresponses are executed serially, in the order they are specified in the composite request payload. PolicyCenter then gathers the response to each subrequest and subselection and returns them in a single response payload. The responses to each subrequest and subselection appear in the same order as the original composite request.

Composite requests are limited to a maximum number of subrequests. For more information, see Configuring the maximum number of subrequests.

subselections

A composite request can include one or more subselections that query for data. For more information, see Composite requests that execute only queries

If the composite request has one or more subrequests, the subselections can also retrieve data created or modified by those subrequests. For more information, see Using variables to share information across subrequests.