Insurance Person Accounts and Users Creation Response

Output representation of the person account and user creation process.

JSON Example 

This is a sample JSON example for a successful API request.

1{
2  "accountsAndUsersDetails": [
3    {
4      "groupCensusId": "0rfxx00000001Qv",
5      "groupCensusMemberId": "0r6xx00000002uR",
6      "personAccountId": "001xx000003GeCV"
7    },
8    {
9      "groupCensusId": "0rfxx00000001Qv",
10      "groupCensusMemberId": "0r6xx00000002uU",
11      "personAccountId": "001xx000003GeCW"
12    }
13  ],
14  "errors": [],
15  "isSuccess": true
16}

This is a sample JSON example with error.

1{
2  "accountsAndUsersDetails": [
3    {
4      "groupCensusId": "0rfxx00000001Qr",
5      "groupCensusMemberId": "0r6xx00000002sB",
6      "personAccountId": "001xx000003GeE7"
7    },
8    {
9      "groupCensusId": "0rfxx00000001Qr",
10      "groupCensusMemberId": "0r6xx00000002sC",
11      "personAccountId": "001xx000003GeE8"
12    }
13  ],
14  "errors": [
15    {
16      "additionalInfo": {},
17      "code": "SF-0004-0047",
18      "message": "Ensure to set the isPortalUser flag to true for group census members 0r6xx00000002sB,0r6xx00000002sC."
19    }
20  ],
21  "isSuccess": true
22}
Property NameTypeDescriptionFilter Group and VersionAvailable Version
accountsAnd​UsersDetailsInsurance Member Account and User Details[]Details of the objects that contain the IDs of the person accounts and users that are created and mapped to their source group census members.Small, 65.065.0
errorsInsurance Error[]Details of errors that occurred during the operation. Each error includes details about why a specific group census member failed to process.Small, 65.065.0
groupCensusIdStringID of the group census that’s processed.Small, 65.065.0
isSuccessBooleanIndicates whether the overall operation was successful (true) or not (false). If any member fails to process, this value is false.Small, 65.065.0