Hi all,
In the documentation of Adobe, it is explained how to get a profile using an API by the criteria of a field. This is the example, using the field "LastName"
-X GET https://mc.adobe.io/<ORGANIZATION>/campaign/profileAndServices/profile/byText?text=Miller&filterType=lastName \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Cache-Control: no-cache' \
-H 'X-Api-Key: <API_KEY>'
Do you know if it is possible doing that get using two fields instead of one? The problem that we have is that our profile primary key is two fields.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
if you need to search for 2 specific fields, recommended approach is to create a custom filter.
Then you can use a specific URL for this filter and provide the different parameters
GET
https://mc.adobe.io/<ORGANIZATION>/campaign/profileAndServicesExt/<resourceName>/by<customFilterName>?<customFilterparam>=<customFilterValue>
Documentation reference:
Hi,
if you need to search for 2 specific fields, recommended approach is to create a custom filter.
Then you can use a specific URL for this filter and provide the different parameters
GET
https://mc.adobe.io/<ORGANIZATION>/campaign/profileAndServicesExt/<resourceName>/by<customFilterName>?<customFilterparam>=<customFilterValue>
Documentation reference:
Views
Likes
Replies