Hi,
In this general search api wiki https://developer.genesys.cloud/organization/search/general-search , it shows types value in the request can be : users, groups, and locations.
But, I am able to use "queues" in the types field in the search request as well.
This is an sample.
POST /api/v2/search
Request:
{
"query": [
{
"value": "jun-test-001",
"type": "EXACT",
"fields": [
"name"
]
}
],
"types": [
"queues"
]
}
It works and response returns the queue content..
However, when I tried to use this search api to search Canned Responses Libraries, I encountered following error.
Request:
{
"query": [
{
"value": "jun-test-001",
"type": "EXACT",
"fields": [
"name"
]
}
],
"types": [
"libraries"
]
}
Response:
The request failed with response code: 400. Message: No enum constant com.genesys.diamond.common.elasticsearch.ClusterType.LIBRARIES
So,
1. May I check if anyone can share with me a full supported types list which I can use in the general search request?
2. May I check if there is another type name to support "Library" search? (I don't want to search CannedResponse but its Library. )
Thanks a lot in advance!
Jun
#PlatformAPI------------------------------
Jun Xu
------------------------------