| The NewProxyPOPLookup XML API provides a list of POPs for the networks assigned. |
| The base URL of this API is http://api.cisp.com/NewProxyPOPLookup.XML.asp. |
| |
| Name |
Description |
| ClientID |
Client code identifying the client information to access |
| AreaCode |
Area code to filter the POP list to |
| City |
City to filter the POP list to |
| State |
State to filter the POP list to |
| Country |
Country to filter the POP list to |
| NetworkLetter |
Letter of the network to filter the POP list to |
| Page |
Page number to display (pages are split with one network per page - pass 0 or nothing for all pages) |
|
| Name |
Min |
Max |
Type |
Required |
| ClientID |
4 |
4 |
String |
True |
| AreaCode |
0 |
3 |
String |
False |
| City |
0 |
128 |
String |
False |
| State |
0 |
128 |
String |
False |
| Country |
0 |
128 |
String |
False |
| NetworkLetter |
0 |
1 |
String |
False |
|
| |
| The return value is a standard XML document with CISP as the root node. |
| Each section of the output variables listed below is a child node to the CISP node. Each parameter within that section is an attribute to that section's node. |
| Name |
Description |
Type |
| COUNTRY |
Country for this POP |
String |
| CITY |
City for this POP |
String |
| STATE |
State for this POP |
String |
| NUMBER |
10 digit phone number for this POP |
String |
| NETWORK |
Network name and letter for this POP |
String |
| NUMBER |
7 digit phone number for this POP |
String |
| TIER |
Tier this POP is on |
Integer |
| ISDN |
ISDN or not |
Integer |
| V92 |
V92 or not |
Integer |
|
| |
<?xml version="1.0" ?>
<CISP>
- <POPNUMBER COUNTRY="USA" CITY="Fostoria" STATE="OH" NUMBER="(111) 111-1111" NETWORK="T" TIER="1" ISDN="-1" V92="0" />
- <POPNUMBER COUNTRY="USA" CITY="Toledo" STATE="OH" NUMBER="(222) 222-2222" NETWORK="T" TIER="2" ISDN="0" V92="-1" />
- <POPNUMBER COUNTRY="USA" CITY="Mansfield" STATE="OH" NUMBER="(333) 333-3333" NETWORK="E" TIER="3" ISDN="-1" V92="0" />
- <POPNUMBER COUNTRY="USA" CITY="Sandusky" STATE="OH" NUMBER="(444) 444-4444" NETWORK="E" TIER="1" ISDN="0" V92="-1" />
- <POPNUMBER COUNTRY="USA" CITY="Toledo" STATE="OH" NUMBER="(555) 555-5555" NETWORK="E" TIER="2" ISDN="-1" V92="0" />
</CISP>
|
| |
<%
Option Explicit
Dim objXML, objXSL
' Create the MSXML DOMDocument object for the xml document output of the API
Set objXML = Server.CreateObject("MSXML2.DOMDocument")
objXML.async = False
objXML.setProperty "ServerHTTPRequest", True
objXML.load "http://api.cisp.com/NewProxyPOPLookup.XML.asp?ClientID=DEMO&Page=0&AreaCode=419"
' Create the MSXML DOMDocument object for the xsl stylesheet to transform the xml
Set objXSL = Server.CreateObject("MSXML2.DOMDocument")
objXSL.async = False
objXSL.load Server.MapPath("NewProxyPOPLookup.xsl")
' Transform the xml with the xsl stylesheet and write the result HTML
Response.Write objXML.transformNode(objXSL)
%>
|