Hi,
I'm using the Analytics API to create projects from templates. Using naming conventions, I'm trying to share the project to the correct user group. To get the group id (as required parameter for the /share endpoint) I'm querying the user management API.
I'm getting the correct group, but providing the id to /componentmetadata/shares gives an
Error EXTERNAL_API_ERROR: Could not find imsPlcId=null, groupId=XXX in globalId=XXXX
Using the swagger api (/componentmetadata/shares/component/search) to debug things, I'm retrieving group id's that does not match any of the group id's I receive from the user management API. Not sure if this helps, but the Analytics API-Endpoint gives me group id's that seems to have six digits, the User Management API gives me group id's that seems to have eight and more digits. The id's have nothing obvious in common.
Any hints?
Best Holger
Views
Replies
Total Likes
Hey @roth4nd
The Group ID that you see in Adobe Analytics is the legacy one (Analytics - All Admin - User Groups), which is actually like product profiles, but the ones you retrieve via User Management API are user groups created in the Admins Console. Hence the ID doesn't match.
Group in Adobe Analytics:
Product Profile in Admin Console:
Can you try fetching the Product Profile ID - https://adobe-apiplatform.github.io/umapi-documentation/en/api/getProductProfile.html
and use that particular licenseGroupID for sharing the projects.
To get the user IDs you can use the below two User API 2.0 - https://adobedocs.github.io/analytics-2.0-apis/
Views
Replies
Total Likes