Webservices saas - Account aggregation - Response mappings for roles

Hi All,

Could someone help me with the response mapping for roles that are in an array?

I have tried root path: $.results.Edge[*] attibute path: Role[*] and root path: $.results.Edge[*] attibute path: Role in response mapping for account aggregation operation. When I export the accounts data, I do see its reading the whole array instead of individual roles.

image

API response:

{
    "results": {
        "Edge": [
            {
                "First Name": "",
                "Last Name": "",
                "Full Name": "",
                "Role": [
                    "Role 1",
                    "Role 2",
                    "Role 3",
                    "Role 4"
                ],
                "Role Description": [
                    "Full write access in [Deals, Maps, Tools, Reports, Strategy, Legal]",
                    "Full write access to all modules"
                ],
                "Application Name": "",
                "Employer": "",
                "Unique Identifier": "",
                "Account ID": "",
                "Account Status": "Active",
                "Lockout Status": "N/A"
            },
			]
	}
}

Hi @JackSparrow I take it the Account attribute is marked as multi-valued?

HI @j_place , My bad, I didn’t mark it as multivalued. It worked now. Good catch, though! Thanks so much!

1 Like