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
| Input | Type | Description |
|---|---|---|
| createPolicyLimitsInputRep | Apex-defined | Required. An Apex ConnectApi.CreatePolicyLimitsInputRep record that contains the details to create the policy limits. |
Outputs
| Output | Type | Description |
|---|---|---|
| createPolicyLimitsOutputRep | Apex-defined | An Apex ConnectApi.CreatePolicyLimitsOutputRep record that contains the IDs for the insurance policy limit records that are created. |
Example
Sample Request
{
"inputs": [
{
"createPolicyLimitsInputRep": {
"attributeScopes": [
"Policy",
"PolicyCoverage"
],
"policyId": "0YTx0000000001qEAA"
}
}
]
}
Sample Response
[
{
"actionName": "createPolicyLimits",
"errors": null,
"invocationId": null,
"isSuccess": true,
"outcome": null,
"outputValues": {
"createPolicyLimitsOutputRep": {
"policyLimitIds": [
"1plS70000004q2kIAA"
]
}
},
"sortOrder": -1,
"version": 1
}
]