<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Callback report API in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4696520#M3309</link>
    <description>&lt;P&gt;Hi Arunabh,&lt;/P&gt;
&lt;P&gt;I am looking forward for your response.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Dimple Saggi&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2022 04:03:01 GMT</pubDate>
    <dc:creator>DimpleSaggi04773</dc:creator>
    <dc:date>2022-09-30T04:03:01Z</dc:date>
    <item>
      <title>Callback report API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4691113#M3301</link>
      <description>&lt;P&gt;Callback report API needed which will return processed (success/ failed) callback request from system.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 07:12:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4691113#M3301</guid>
      <dc:creator>DimpleSaggi04773</dc:creator>
      <dc:date>2022-09-21T07:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Callback report API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4691389#M3302</link>
      <description>&lt;P&gt;Hi Dimple,&lt;/P&gt;
&lt;P&gt;Is this query regarding the search API?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If yes, then please use this example posted on Github for callback reporting data.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/CiscoDevNet/webex-contact-center-api-samples/blob/main/graphql-sample/callbackFilter.graphql" target="_blank"&gt;https://github.com/CiscoDevNet/webex-contact-center-api-samples/blob/main/graphql-sample/callbackFilter.graphql&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Since this is powered by GraphQL - you can remove/adjust the filters and add more fields you want in the task details.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Arunabh.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 13:48:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4691389#M3302</guid>
      <dc:creator>Arunabh Bhattacharjee</dc:creator>
      <dc:date>2022-09-21T13:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Callback report API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4693375#M3303</link>
      <description>&lt;P&gt;Hi Arunabh,&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;We are looking for a workaround, to prevent duplicate ANI from Callback list, until callback has been processed on that ANI. So we need some API which will either show unprocessed callback list or processed callback list, so we can check ANI through that API before making callback request on same number. Also please do share postman request snips that will be easier to understand.&lt;/P&gt;
&lt;P&gt;Looking forward for your response.&lt;/P&gt;
&lt;P&gt;Regrads&lt;/P&gt;
&lt;P&gt;Dimple Saggi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2022 22:56:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4693375#M3303</guid>
      <dc:creator>DimpleSaggi04773</dc:creator>
      <dc:date>2022-09-25T22:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Callback report API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4694166#M3304</link>
      <description>&lt;P&gt;Hi Arunabh,&lt;/P&gt;
&lt;P&gt;I do have tried graphql at search API, is there any way we can call this API from http request node from IVR Callflow?&lt;/P&gt;
&lt;P&gt;Looking forward for your reply.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 23:59:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4694166#M3304</guid>
      <dc:creator>DimpleSaggi04773</dc:creator>
      <dc:date>2022-09-26T23:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Callback report API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4694171#M3305</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1073224"&gt;@DimpleSaggi04773&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;is there any way we can call this API from http request node from IVR Callflow:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Answer is not a direct way today. Workarounds have to be used to do so.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;One will need to host a token management service middleware to be able to call it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So short answer is: today there is no straight forward way. If you want to view more details on the workaround you can refer to the token management example - &lt;A href="https://github.com/CiscoDevNet/webex-contact-center-api-samples/tree/main/token-app-sample" target="_blank"&gt;https://github.com/CiscoDevNet/webex-contact-center-api-samples/tree/main/token-app-sample&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;we have used such services to call APIs using flow. Again, this is a workaround. The feature is still on the roadmap.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 00:16:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4694171#M3305</guid>
      <dc:creator>Arunabh Bhattacharjee</dc:creator>
      <dc:date>2022-09-27T00:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Callback report API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4694172#M3306</link>
      <description>&lt;P&gt;Hi Arunabh,&lt;/P&gt;
&lt;P&gt;I understand Token management can't be direct, but my question was on Search Tasks API , how to call that API with graphql query from http node (or postman)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Menas what would be the values for query parameter:&lt;/P&gt;
&lt;P&gt;curl --request POST \&lt;BR /&gt;--url '&lt;A href="https://api.wxcc-anz1.cisco.com/search?orgId=97cdbf45-ebe2-4687-8341-44d5c7abf101" target="_blank"&gt;https://api.wxcc-anz1.cisco.com/search?orgId=97cdbf45-ebe2-4687-8341-44d5c7abf101&lt;/A&gt;' \&lt;BR /&gt;--header 'Accept: application/json' \&lt;BR /&gt;--header 'Authorization: Bearer YOUR_TOKEN' \&lt;BR /&gt;--header 'Content-Type: application/json' \&lt;BR /&gt;--data '&lt;BR /&gt;{&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;"query": "",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;"extensions": {&lt;BR /&gt;"persistedQuery": {&lt;BR /&gt;"version": "",&lt;BR /&gt;"sha256Hash": ""&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;'&lt;/P&gt;
&lt;P&gt;Looking forward for your response.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 00:26:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4694172#M3306</guid>
      <dc:creator>DimpleSaggi04773</dc:creator>
      <dc:date>2022-09-27T00:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Callback report API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4695041#M3307</link>
      <description>Hi Dimple,&lt;BR /&gt;&lt;BR /&gt;Postman has native support for GraphQL&lt;BR /&gt;You can convert the GraphQL query to curl and that will be stringified under the query object.&lt;BR /&gt;&lt;BR /&gt;An example:&lt;BR /&gt;&lt;BR /&gt;curl --location --request POST '&lt;A href="https://api.wxcc-us1.cisco.com/search" target="_blank"&gt;https://api.wxcc-us1.cisco.com/search&lt;/A&gt;' \&lt;BR /&gt;--header 'Authorization: Bearer &lt;TOKEN&gt;\&lt;BR /&gt;--header 'Content-Type: application/json' \&lt;BR /&gt;--data-raw '{"query":"{task(from:1663732800000, to:1664241412732) {tasks{id}}} ","variables":{}}'&lt;BR /&gt;&lt;BR /&gt;The query for callback fields for example will be like so&lt;BR /&gt;&lt;BR /&gt;curl --location --request POST '&lt;A href="https://api.wxcc-us1.cisco.com/search" target="_blank"&gt;https://api.wxcc-us1.cisco.com/search&lt;/A&gt;' \&lt;BR /&gt;--header 'Authorization: Bearer &lt;TOKEN&gt;\&lt;BR /&gt;--header 'Content-Type: application/json' \&lt;BR /&gt;--data-raw '{"query":"{\n  #FILTER: Get the Task details using CallBack filters and logical operators to match a condition\n  task(\n    # NOTE: from and to are mandatory arguments that take the Epoch timestamp in milliseconds\n    from: 1663732800000 #This can be set to Date.now() - (days * 24 * 60 * 60 * 1000) for lookback in days\n    to: 1664315734533 #This can be set to Date.now() in millis\n    #Add a filter that checks if a Callback was made and with a status\n  ) {\n    tasks {\n      callbackData {\n        callbackRequestTime\n        callbackConnectTime\n        callbackNumber\n        callbackStatus\n        callbackOrigin\n        callbackType\n      }\n    }\n  }\n}","variables":{}}'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This is by pasting this example – &lt;A href="https://github.com/CiscoDevNet/webex-contact-center-api-samples/blob/main/graphql-sample/callbackFilter.graphql" target="_blank"&gt;https://github.com/CiscoDevNet/webex-contact-center-api-samples/blob/main/graphql-sample/callbackFilter.graphql&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Into graphQL on postman and then converting it to a raw request to display the curl.&lt;BR /&gt;&lt;BR /&gt;This is what you would configure in the HTTP Client node on flow designer.&lt;BR /&gt;&lt;/TOKEN&gt;&lt;/TOKEN&gt;</description>
      <pubDate>Tue, 27 Sep 2022 21:58:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4695041#M3307</guid>
      <dc:creator>Arunabh Bhattacharjee</dc:creator>
      <dc:date>2022-09-27T21:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Callback report API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4695078#M3308</link>
      <description>&lt;P&gt;Hi Arunabh,&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;I found postman help too, but getting 500 error code while search API from http request node from callflow.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DimpleSaggi04773_1-1664323896483.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/163575iA2E92EB031AA0850/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DimpleSaggi04773_1-1664323896483.png" alt="DimpleSaggi04773_1-1664323896483.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DimpleSaggi04773_2-1664323926477.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/163576iCD5C34D723812265/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DimpleSaggi04773_2-1664323926477.png" alt="DimpleSaggi04773_2-1664323926477.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do have uploaded callflow json file, please remove postfix .txt from file, as system didn't allow me to upload json file here.&lt;/P&gt;
&lt;P&gt;Please correct me if HttpRequest node need different settings&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 00:14:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4695078#M3308</guid>
      <dc:creator>DimpleSaggi04773</dc:creator>
      <dc:date>2022-09-28T00:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Callback report API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4696520#M3309</link>
      <description>&lt;P&gt;Hi Arunabh,&lt;/P&gt;
&lt;P&gt;I am looking forward for your response.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Dimple Saggi&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 04:03:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4696520#M3309</guid>
      <dc:creator>DimpleSaggi04773</dc:creator>
      <dc:date>2022-09-30T04:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Callback report API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4700103#M3310</link>
      <description>&lt;P&gt;Hi Dimple,&lt;/P&gt;
&lt;P&gt;The HTTP node was misconfigured, it needs to have the JSON parse - one cannot set that to null.&lt;/P&gt;
&lt;P&gt;Also you cannot have comments in there because it is a string value.&lt;/P&gt;
&lt;P&gt;Also you have to&lt;/P&gt;
&lt;PRE&gt;escape quotes i.e \"something\"&lt;/PRE&gt;
&lt;P&gt;You may use something like GraphQL to JSON to help with the same&lt;/P&gt;
&lt;P&gt;I have corrected the script and here is the sample script - please convert the .TXT to .JSON&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please correct - Data center - from US1 to ANZ1&lt;/P&gt;
&lt;P&gt;and Org Id, Token etc&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Arunabh.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 21:13:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4700103#M3310</guid>
      <dc:creator>Arunabh Bhattacharjee</dc:creator>
      <dc:date>2022-10-07T21:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Callback report API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4700328#M3311</link>
      <description>&lt;P&gt;Hi Arunabh,&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;I have tested your callflow too, now I am getting 401 error code, I do have updated orgid &amp;amp; token &amp;amp; ANI according to my test environment. But still no luck. Please guide.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;please convert the .TXT to .JSON&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2022 00:54:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4700328#M3311</guid>
      <dc:creator>DimpleSaggi04773</dc:creator>
      <dc:date>2022-10-09T00:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Callback report API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4700401#M3312</link>
      <description>Hi Dimple as mentioned also please check the datacenter url&lt;BR /&gt;&lt;BR /&gt;I had tested it on US1 so it is api.wxcc-us1.Cisco.com&lt;BR /&gt;&lt;BR /&gt;The 401 will be because the token needs to match the org and datacenter url&lt;BR /&gt;&lt;BR /&gt;I.e api.wxcc-anz1.Cisco.com&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Arunabh.&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Oct 2022 12:43:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4700401#M3312</guid>
      <dc:creator>Arunabh Bhattacharjee</dc:creator>
      <dc:date>2022-10-09T12:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Callback report API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4700497#M3313</link>
      <description>&lt;P&gt;Hi Arunabh,&lt;/P&gt;
&lt;P&gt;Appreciate your patience.&lt;/P&gt;
&lt;P&gt;Sorry for that mistake, now I am getting 404 error code.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;please convert the .TXT to .JSON&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2022 22:19:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4700497#M3313</guid>
      <dc:creator>DimpleSaggi04773</dc:creator>
      <dc:date>2022-10-09T22:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Callback report API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4703350#M3314</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1073224"&gt;@DimpleSaggi04773&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is because you have set the url to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It has to have a path i.e /search&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api.wxcc-anz1.cisco.com" target="_blank"&gt;https://api.wxcc-anz1.cisco.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;needs to be&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api.wxcc-anz1.cisco.com/search" target="_blank"&gt;https://api.wxcc-anz1.cisco.com/search&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hence the 404 - URL not found&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.webex-cx.com/documentation/search/v1/search-tasks" target="_blank"&gt;https://developer.webex-cx.com/documentation/search/v1/search-tasks&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Arunabh.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 12:41:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/callback-report-api/m-p/4703350#M3314</guid>
      <dc:creator>Arunabh Bhattacharjee</dc:creator>
      <dc:date>2022-10-14T12:41:41Z</dc:date>
    </item>
  </channel>
</rss>

