Forum Discussion
Hi bstojadinovic , is the question here that the REST CALL you provided isn't working for you? If so it may be that you are missing part of the call /restapi/vc/users/id/some_user_id_here/settings/name/custom_profile.course_1
Could you please be clear with having the information in a DW?
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?
- SyedSa3 years agoModerator
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