Manage exposures in batch

Creates, updates, or deletes exposures in batch. Multiple portfolio, account, location, and policy exposures may be managed in a single request.

The request body defines an object that consists of five arrays: a portfolios array, accounts array, locations array, policies, and treaties array. Where parent-child relationships exist between exposures (e.g. between a portfolio and associated accounts), child exposures may be defined within the definition of the parent exposure.

{
    "portfolios": [
        {
            "operationType": "UPDATE",
            "label": "Port_LocationBatch_01_Label",
            "accounts": [
                {
                    "operationType": "UPDATE",
                    "label": "Acct_LocationBatch_01_Label",
                    "id": 23,                    
                    "policies": [...],
                    "locations": [...],
                },
                {...}
            ],
            "id": 24,
            "name": "Port_5_Name_Update",
            "number": "Port_5_Num_Update",
            "description": "Test_Location_Batch_Update",
            "createDate": "2022-06-21T23:47:58.076Z",
            "stampDate": null
        }
    ]
}

Each array defines one or more operations that creates, edits, or deletes an exposure. An operation is defined by an optional operationType, a required label, and a required request body. The operationType specifies the action performed (INSERT, UPDATE, or DELETE). By default, INSERT. The label uniquely identifies an operation enabling you refer to that operation or the output of that operation in user-defined workflows. For details, see Process user-defined workflow. The request body specifies exposure attribute values:

  • The porfolios array defines operations for creating, updating, or deleting portfolios. The array defines one or more portfolios and associated accounts. Required parameters depend on the operation type. For details, see Create portfolio, Update portfolio, or Delete portfolio.
  • The accounts array defines operations for creating, updating, or deleting accounts. The array defines one or more accounts and the associated locations and policies. Required parameters depend on the operation type. For details, see Create account, Update account, or Delete account.
  • The locations array defines operations for creating, updating, or deleting locations The array defines location attributes. Required parameters depend on the operation type. For details, see Create location, Update location, or Delete location.
  • The policies defines an array of operations for creating, updating, or deleting policies The array defines one or more policies. Required parameters depend on the operation type. For details, see Create policy, Update policy, or Delete policy.
  • The treaties defines an array of operations for creating, updating, or deleting treaties. The array defines one or more treaties. Required parameters depend on the operation type. For details, see Create treaty, Update treaty, or Delete treaty.

This service supports the processing of large number of exposures in a single request. Consequently, the size of the request package may be quite large. Maximum supported payload: 5MB. Request packages that define up to 1000 exposures may be submitted in JSON format: Content-Type: application/json

Language
Authorization
URL