Apply Member Overrides Action
Apply member-specific overrides that differ from the member’s group class default
configuration on a group insurance quote. Use this action to apply plan, coverage, or
attribute overrides, or to clone an override configuration from one group census member to
one or more target group census members on the same root plan. Cloning replaces each target
member’s existing override configuration.
This action is available in API version 68.0 and later.
Supported REST HTTP Methods
URI: /services/data/v68.0/actions/standard/applyMemberOverrides
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer token
Inputs
| Input | Type | Description |
|---|---|---|
| contextId | string | Transaction context ID. If specified, it takes precedence over the inline overrides input. |
| memberOverrides | Apex-defined | An Apex ConnectApi.MemberOverridesContainerInputRepresentation record containing the per-member override action to apply. |
| rootQliId | string | Required. ID of the root plan quote line item to which the member overrides are applied. |
| sourceMemberId | string | ID of the group census member whose override configuration is copied to the target members. If specified, the action clones the source member's overrides onto the target members instead of applying the inline overrides. |
| targetMemberIds | string | IDs of the group census members to receive the copied override configuration from the source member. Required if sourceMemberId is specified. |
Outputs
| Output | Type | Description |
|---|---|---|
| resultMessage | string | Message describing the result of the operation. |
Example
POST
This sample request is for the Apply Member Overrides action.
1{
2 "input": [
3 {
4 "contextId": "1cuxx0000004C92EAA",
5 "rootQliId": "0QLxx0000004CtoCAE",
6 "memberOverrides": [
7 {
8 "contextId": "1cuxx0000004C92EAA",
9 "rootQliId": "0QLxx0000004CtoCAE",
10 "overrides": {
11 "memberId": "0r6xx000000001aEAA",
12 "overrideAction": "UPSERT",
13 "productId": "01txx0000004C92AAE",
14 "quoteLineItemId": "0QLxx0000004CtoCAE",
15 "attributes": [
16 {
17 "attributeId": "a0Axx0000004C92EAA",
18 "attributeValue": "1500"
19 }
20 ]
21 }
22 }
23 ],
24 "sourceMemberId": "0r6xx000000003cEAA",
25 "targetMemberIds": [
26 "0r6xx000000002bEAA"
27 ]
28 }
29 ]
30}This sample response is for the Apply Member Overrides action.
1[
2 {
3 "actionName": "applyMemberOverrides",
4 "errors": null,
5 "invocationId": null,
6 "isSuccess": true,
7 "outcome": null,
8 "outputValues": {
9 "resultMessage": "The operation succeeded successfully."
10 },
11 "sortOrder": -1,
12 "version": 1
13 }
14]