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 profile through API filtering by custom field

Avatar

Level 2

Hi,

 

We have a custom field, "fullName", that we have created extending profile resource. We want to to get profile, filtering by that field through API. According to Adobe documentation, we have created the following endpoint.

 

https://mc.adobe.io/{tenant}/campaign/profileAndServicesExt/profile/byText?cusFullName=xxx&filterTyp...

 

Being xxx, the variable that we insert to look for.

 

We just have one profile that meet the filter requeriment so we expect to get it but we get several profiles, none of them meet the filter requerimient.

 

Can anyone help us?

 

Thanks

1 Reply

Avatar

Employee Advisor

Hi,

I am not sure but think the documentation might be incorrect here.

 

If you add the fields under Advanced Filtering, normally there is an API cusByFields created.

/profile/cusByFields/byText?cusHobby=Tennis&filterType=Hobby

 

Note that the filterType value needs to be the Label visible in Advanced Filtering.