Newer Version Available

This content describes an older version of this product. View Latest

FetchAccountMasterDetails

This Omnistudio Data Mapper is used to fetch account details for a custom account.

Sample Input

1{
2    "userId": "0054W00000CRfy1QAD"
3}

Parameter

Required/Optional

userId

Required

Sample Output

1{
2  "Account": {
3    "shipping": {
4      "street": "Kullu",
5      "state": "Himachal Pradesh",
6      "postalCode": "175105",
7      "country": "India",
8      "city": "Kasol"
9    },
10    "billing": {
11      "street": "Kullu",
12      "state": "Himachal Pradesh",
13      "postalCode": "175105",
14      "formattedAddress": "Kasol, Himachal Pradesh 175105, India",
15      "country": "India",
16      "city": "Kasol"
17    }
18  },
19  "Asset": [
20    {
21      "AssetCreatedDate": "2020-11-10T05:21:11.000Z"
22    }
23  ],
24  "Case": [
25    {
26      "Subject": "Testing",
27      "Status": "New",
28      "CreatedDate": "2020-11-11T14:38:37.000Z",
29      "CaseReason": "User didn't attend training",
30      "CaseNumber": "00001030"
31    }
32  ],
33  "Payment": [
34    {
35      "PaymentId": "a3Q4W000000gXHDUA2",
36      "ExpirationYear": "2034",
37      "ExpirationMonth": "9",
38      "CardNumber": "4242424242424242"
39    }
40  ],
41  "User": {
42    "lastName": "Jay1",
43    "firstName": "Manju1",
44    "email": "manju2@gmail.com",
45    "Id": "0054W00000CRfy1QAD",
46    "ContactId": "0034W00002GdStUQAV",
47    "AccountId": "0014W000029yRBAQA2"
48  }
49}

Called By

  • Flows:

    • Webshop: Post User registration

    • SelfCare: Selfcare landing page

  • Components:

    • LWC: vplS360AccountSignup.js

    • LWC: vplS360SelfCareAccountDetails.js

    • LWC: vplS360SelfCareConfirmOtc.js

    • Integration Procedure: VPL360_ExtractAccountForUser