How to search all the amazon connect customer profiles using API?
everyone.
I am struggling with searching all the amazon connect customer profiles at once by using rest API.
I already know the API that retrieve one or more than two customer profiles via specific key name such as profile ID or account ID etc.
However not list all customer profiles.
Here's my javascript code for searching one profile.
session.profileClient.searchProfiles({
"DomainName": "", // required
"KeyName": searchKey, // required
"Values": [searchValue] // required
}).then((res) => {
console.log('Success response: ' + JSON.stringify(res));
}).catch((errorResp) => {
console.log('Error response: ' + JSON.stringify(errorResp));
});
In this code, I have to put 3 parameters(domainName, keyName, value) and get one or two more results but all the results.
Any help in the right direction on how to list all Amazon Connect Customer Profile would be greatly appreciated.
I hope to get all the amazon connect customer profile list.
I hope to get all the amazon connect customer profile list.
0 comments:
Post a Comment
Thanks