Forum Discussion
Hi SyedSa
Thanks for the response. I'd like to know how to call these custom profile attributes to our data warehouse so we can see that data using the BI tool/Looker. We managed to handle custom tags, but how to do the same with profile attributes?
bstojadinovic, this should grab you the custom profile attribute:
curl --location --request POST '{hostname}/restapi/vc/users/id/{user id}/settings/name/{profile attribute}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'li-api-session-key: {session key}'
This call will return this response:
<response status="success">
<value type="string">{payload}</value>
</response>
You can obtain a li-api-session-key value from:
curl --location --request POST '{hostname}/restapi/vc/authentication/sessions/login' \
--header 'Content-Type: application/x-www-form-urlencoded' \
Related Content
- 2 months ago
- 3 years ago