Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

API call to fetch Seegment id on condition

Avatar

Level 1

I used Entity API to pull data of particular profile. In this case i am geting list of all segments profile had qualified.

Requirement is to fetch only one Segments ID based on condition.

Example : Pull all attributes value with segment ID for a profile based on Opaque Id

 

Kindly let me know if this is possible

 

Entity Api i used : 

https://platform.adobe.io/data/core/ups/access/entities

Body : 

{
  "schema": {
    "name""_xdm.context.profile"
  },
 
  "fields": [
   "person.name.firstName",
   "person.name.lastName",
   "personalEmail.address",
   "person.birthDate",
   "mobilePhone.number",
   "homePhone.number",
   "segmentMembership",
   "membershipDetails.enrollMemberMpi"
  ],
  "identities": [
    {
      "entityId""09fea7d8-6671-48bb-9472-30bb7ce84b7e",
      "entityIdNS": {
        "code""opaqueId"
      }
    }
  ],
  "limit"100,
  "orderby""timestamp",
  "withCA"false
}
 
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Administrator

@DavidRoss91 @John_Man@itsme_ssj@nitesh_kumar@Krishna_Musku@CaliseCheung

Kindly take a moment to review this question and share your valuable insights. Your expertise would be greatly appreciated!

 



Kautuk Sahni

Avatar

Employee

@_Saurabh_ 

 

Are you attempting to filter down your results to a specific segment a profile qualifies for?