Create Policy Limits Action

Create insurance policy limit records for policy coverage and root attributes.

This action is available in API version 65.0 and later.

Supported REST HTTP Methods

URI
/services/data/v67.0/actions/standard/createPolicyLimits
Formats
JSON
HTTP Methods
POST
Authentication
Authorization: Bearer token

Inputs

Input Details
createPolicyLimitsInputRep
Type
Apex-defined
Description

Required.

An Apex ConnectApi.CreatePolicyLimitsInputRep record that contains the details to create the policy limits.

Outputs

Output Details
createPolicyLimitsOutputRep
Type
Apex-defined
Description
An Apex ConnectApi.CreatePolicyLimitsOutputRep record that contains the IDs for the insurance policy limit records that are created.

Example

Sample Request

1{
2  "inputs": [
3    {
4      "createPolicyLimitsInputRep": {
5        "attributeScopes": [
6          "Policy",
7          "PolicyCoverage"
8        ],
9        "policyId": "0YTx0000000001qEAA"
10      }
11    }
12  ]
13}

Sample Response

1[
2  {
3    "actionName": "createPolicyLimits",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outcome": null,
8    "outputValues": {
9      "createPolicyLimitsOutputRep": {
10        "policyLimitIds": [
11          "1plS70000004q2kIAA"
12        ]
13      }
14    },
15    "sortOrder": -1,
16    "version": 1
17  }
18]