06-10-2014 02:00 PM - edited 03-14-2019 01:31 PM
Anyone have success creating a UCCX app for returning an address via Whitepages.com's reverse lookup API?
http://pro.whitepages.com/developer
06-11-2014 01:19 AM
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.
06-11-2014 03:40 AM
Actually it is xml by default. Here's a snippet from the docs:
"
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:
06-11-2014 04:38 AM
Hi, actually, this is what is says here:
The WhitePages PRO API 2.0 supports only JSON encoding of responses.
G.
06-11-2014 04:58 AM
Noted. I'm checking with them to see if 1.1 support will be retained. If so, XML it is.
06-11-2014 05:10 AM
Either way, it looks like a nice little project. I can help you with that, let me know.
G.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide