TestUser1 | 2021-05-25 09:39:07 UTC | #1
Hi Team,
I am trying to get voicemail message id using api /api/v2/voicemail/search .
I have given this body { "pageSize": 100, "pageNumber": 0, "query": [
{
"fields": ["userId"], "type": "EXACT", "value": "3800f2f4-fdb5-4exxxxxxx" }, { "fields": ["owner"], "type": "EXACT", "value": "user" } ] }
and getting response { "total": 0, "pageCount": 0, "pageSize": 100, "pageNumber": 1, "currentPage": "/api/v2/voicemail/search?q64=H4sIAAAAAAAAAH2OSwvCMBCE8ueG4ia-uhNJFIvghpBEZGYbDRQX2lTUelN60gnjzO7Lcz84LiccUckg2UF6vwJG2WwzaCm0f3CParASABvhqOBERgLGa6efA5uomu4VJmvmY6fUpN2zBi9D4mDLUi0vTapMtiZlpKycEAoYr-ZF7uZ3SkXUJVMG4ygMu7DN4LUocupP-3BNgnRYeHcef3MO3jbLcpROHcWnbrbk8VOpHy6G3MxSqF6A6AtUMDAAAA", "types": [ "voicemails" ] }
can you please help me how to get the message id?
Jerome.Saint-Marc | 2021-05-27 15:04:25 UTC | #2
Hello,
If you are searching for user voicemails (I mean Transfer voicemail to user - not to a group or to a queue), the request should look like this:
{ "query": [ { "type": "EXACT", "fields": ["owner"], "value": "USER" }, { "type": "EXACT", "fields": ["ownerId"], "value": "3800f2f4-fdb5-4exxxxxxx" } ] }
Regards,
system | 2021-06-27 15:04:27 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 11019