Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!

Get profile through API filtering by custom field

Avatar

Level 3

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

2 Replies

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.

Avatar

Level 1

Hi,

 

Adding "cusByFields" before "byText" doesn't help. Still, many (all?) records are returned intstead of only one.

What do you mean by "Advance Filtering"?

 

Thanks

Piotr