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/vXX.X/actions/standard/createPolicyLimits

Where XX.X is the latest API version.

Formats: JSON

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

Inputs 

InputTypeDescription
createPolicyLimitsInputRepApex-definedRequired. An Apex ConnectApi.CreatePolicyLimitsInputRep record that contains the details to create the policy limits.

Outputs 

OutputTypeDescription
createPolicyLimitsOutputRepApex-definedAn 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]