The ListProxyNetworks XML API provides a list of all networks available for a particular client. |
The base URL of this API is http://api.cisp.com/ListProxyNetworks.XML.asp. |
|
Name |
Description |
ClientID |
Client code identifying the client information to access |
|
Name |
Min |
Max |
Type |
Required |
ClientID |
4 |
4 |
String |
True |
|
|
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 |
LETTER |
Assigned network letter |
String |
NAME |
Assigned network letter and name |
String |
|
|
<?xml version="1.0" ?>
<CISP>
- <NETWORK LETTER="C" NAME="C - Megapop" />
- <NETWORK LETTER="G" NAME="G - UUNet" />
- <NETWORK LETTER="Q" NAME="Q - Qwest" />
- <NETWORK LETTER="L" NAME="L - Level 3 Communications" />
- <NETWORK LETTER="M" NAME="M - GlobalPOPs" />
- <NETWORK LETTER="N" NAME="N - Dial Assurance" />
</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/ListProxyNetworks.XML.asp?ClientID=DEMO"
' 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("ListProxyNetworks.XML.xsl")
' Transform the xml with the xsl stylesheet and write the result HTML
Response.Write objXML.transformNode(objXSL)
%>
|