cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
512
Views
0
Helpful
5
Replies

UCCX Reverse ANI Lookup via WhitePages API, Anyone?

Anyone have success creating a UCCX app for returning an address via Whitepages.com's reverse lookup API?

http://pro.whitepages.com/developer

 

 

 

5 Replies 5

Gergely Szabo
VIP Alumni
VIP Alumni

Hi,

I read the docs and it looks interesting. The service is basically a HTTP webserver: you send a HTTP GET request and expect a result. Now what might be a bit challenging is the format of the result: it's JSON and it's kind of not really the choice of UCCX (XML would be a lot easier).

What you might be able to do is to inject a Javascript Enginge Instance (supported with at least UCCX 7) and use it (might require some RAM). Or create a proxy service, transforming JSON to XML.

I can help you with that, let me know.

G.

Actually it is xml by default. Here's a snippet from the docs:

"

Optional JSON Output

The default output format is XML. You can optionally receive data in JSON by including the parameter outputtype=JSON in the request. For example:"

 

And the full link:

https://github.com/whitepages/WhitePages-PRO-Documentation/blob/master/WhitePages%20PRO%20API%201.1.md

Hi, actually, this is what is says here:

The WhitePages PRO API 2.0 supports only JSON encoding of responses.

G.

 

Noted. I'm checking with them to see if 1.1 support will be retained. If so, XML it is.

Either way, it looks like a nice little project. I can help you with that, let me know.

G.