Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Get Request to Retrieve List of IDs in a Given Recommendations Environment

Avatar

Level 1

21-08-2020

I was wondering if Adobe had any future development plans to allow a client to request a list of IDs that are currently setup in a given recommendations environment.  Right now, I feel like only 2 of the 3 pieces exist to effectively manage entities.  I can use the GET entities to retrieve an entity, and I can use DELETE to delete an entity.  But, there doesn't seem to be a mechanism to simply get a list of ids that are present in the environment.  If this capability existed, one could theoretically download the list of ids and easily do the equivalent of a full join operation (against internal systems) and easily determine if any entities were missing (and then post with a SAVE request) and entities that were obsolete (and then remove with a DELETE request).  

4 Comments

Avatar

Employee

26-08-2020

@JJS1 Through recommendations API you can fetch the list of entities for an environment:

 

https://mc.adobe.io/{tenantId}/target/recs/entities/{id}

If you pass the 'Environment ID' in the path parameters, then only the entities from that environment would be returned.

 

 

Documentation: http://developers.adobetarget.com/api/recommendations/#operation/getEntity

 

Let me know if this helps?

 

Regards,

Karan Dhawan

Avatar

Administrator

02-10-2020

Thank you @JJS1 for sharing this feedback!

The Product Management team is taking this into account.

 

Warmly,

Amelia

Status changed to: Investigating

Avatar

Level 1

04-11-2020

@karandhawan - Sorry - had not been monitoring this discussion, but I don't think the solve you listed above works.  The API reference document appears to require an actual entity id - not an environment id ... so a standard API request would look something like this:

https://mc.adobe.io/{tenantId}/target/recs/entities/11174589_1340?environmentId=41245

If I just substitute our environment ID for the {id} parameter, it just results in a 404 error.

Avatar

Level 1

30-11-2020

@Amelia_Waliany - Any thoughts here?  Is this something that is in some kind of a work queue or do you consider this solved?  If @karandhawan solution works in our environment, I'd appreciate understanding what I am doing incorrectly.  I've tried both:

https://mc.adobe.io/{tenantId}/target/recs/entities/41245

and

https://mc.adobe.io/{tenantId}/target/recs/entities/environment=41245

 

and both just yield 404 errors.