Hello,
We found (GET /api/v2/externalcontacts/contacts) this API to search for external contacts with keywords. We have created the contacts with the contact type(schema) which will have the custom fields where we defined a identifier filed which is a searchable column. We are able to search with a identifier column but unable to do for multiple.
Example entities inserted in genesys
{
"id": "e838047e----8eaa7ee96337",
"firstName": "Punitha",
"lastName": "G",
.
.
"externalOrganization": {
"id": "9e231983----837753281620",
"selfUri": "/api/v2/externalcontacts/organizations/9e231983----837753281620"
},
"surveyOptOut": true,
"schema": {
"id": "4c3fee07----dd8d07971e47",
"version": 3,
"selfUri": "/api/v2/externalcontacts/contacts/schemas/4c3fee07----dd8d07971e47/versions/3"
},
"customFields": {
"cod_cli_sap_unique_identifier": "10001",
"type_client_text": "",
"cod_ecommerce_checkbox": true,
"ferm_cli_text": "No"
},
"type": "Curated",
"selfUri": "/api/v2/externalcontacts/contacts/e838047e----8eaa7ee96337"
}
{
"id": "e938047e---****-8eaa7ee96337",
"firstName": "ABCDC",
"lastName": "SADG",
"externalOrganization": {
"id": "9e231983----837753281620",
"selfUri": "/api/v2/externalcontacts/organizations/9e231983----837753281620"
},
"surveyOptOut": true,
"schema": {
"id": "4c3fee07----dd8d07971e47",
"version": 3,
"selfUri": "/api/v2/externalcontacts/contacts/schemas/4c3fee07----dd8d07971e47/versions/3"
},
"customFields": {
"cod_cli_sap_unique_identifier": "10002",
"type_client_text": "",
"cod_ecommerce_checkbox": false,
"ferm_cli_text": "No"
},
"type": "Curated",
"selfUri": "/api/v2/externalcontacts/contacts/e938047e---****-8eaa7ee96337"
}
To search using this API(/api/v2/externalcontacts/contacts), The properties for this api is something like the below one,
{
'pageSize': 20,
'pageNumber': 1,
'q': "10001", // String | User supplied search keywords (no special syntax is currently supported)
'sortOrder': "", // String | Sort order
'expand': []
}
We are able to search with 10001 In order to search multiple identifiers to get multiple contactIds, we have tried 10001,10002 or even 10001;10002. This doesn't seems to work. Is it possible to get multiple contactIds with this API? Could you please help me here? Thank you!
Regards,
Punitha