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
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Shape 1
Level 1
JJS1
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Shape 1
View profile

Avatar
Shape 1
Level 1
JJS1
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Shape 1
View profile
JJS1
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

Avatar
Affirm 10
Level 3
karandhawan
Level 3

Likes

35 likes

Total Posts

41 posts

Correct Reply

10 solutions
Top badges earned
Affirm 10
Give Back
Boost 5
Boost 3
Boost 25
View profile

Avatar
Affirm 10
Level 3
karandhawan
Level 3

Likes

35 likes

Total Posts

41 posts

Correct Reply

10 solutions
Top badges earned
Affirm 10
Give Back
Boost 5
Boost 3
Boost 25
View profile
karandhawan
Level 3

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

Avatar
Validate 250
Employee
Amelia_Waliany
Employee

Likes

190 likes

Total Posts

449 posts

Correct Reply

73 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile

Avatar
Validate 250
Employee
Amelia_Waliany
Employee

Likes

190 likes

Total Posts

449 posts

Correct Reply

73 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile
Amelia_Waliany
Employee

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

Avatar
Shape 1
Level 1
JJS1
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Shape 1
View profile

Avatar
Shape 1
Level 1
JJS1
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Shape 1
View profile
JJS1
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

Avatar
Shape 1
Level 1
JJS1
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Shape 1
View profile

Avatar
Shape 1
Level 1
JJS1
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Shape 1
View profile
JJS1
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.