cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1089
Views
0
Helpful
3
Replies

WebEx - http request

cnagarajah
Frequent Visitor
Frequent Visitor

We have database in which we have Name, Phone Number and VIP status, which we are currently using to query in our UCCX script via XML query.

I am trying to figure out a way to do the same in WebExCC using http request.

HTTP Request Activity Settings:

http request to "fqdn-of-the-database-server /phone/index/{{CallerID}} "

When I query the above with the inbound call callerID, I am getting the following results.
 
<ClientDirectory>
<DirectoryEntry>
<Name>UNKNOWN CALLER</Name>
<Telephone>1234567890</Telephone>
<VIP>No</VIP>
</DirectoryEntry>
</ClientDirectory>

I would like to know how I could capture the Name and VIP info into the WebEx variables.

3 Replies 3

Here is what I am getting for http://fqdn/phone/index/{{CallerID}} when there is a caller ID check:

<ClientDirectory>
<DirectoryEntry>
<Name>UNKNOWN CALLER</Name>
<Telephone>1234567890</Telephone>
<VIP>No</VIP>
</DirectoryEntry>
</ClientDirectory>
 
My HTTP Request Activity Setting:
Use Authenticated Endpoint - Unchecked
Method: GET
Query Parameters: None
HTTP Request Headers: None
Content Type: XML
Request Body: None
Parse Setting:
Content Type: XML
Output Variable: CallerName
Path Expression: $.ClientDirectory.DirectoryEntry.Name
&
Output Variable: CallerVIP
Path Expression: $.ClientDirectory.DirectoryEntry.VIP
Both variable comes out empty during the call flow. Not sure if I am doing something wrong.

If you do a debug on your call, do you see any errors or anything? Do you see any proof that the http call was made on your database server?