DialupLoginInUse XML API Documentation (Last Modified: 9/9/2001 3:22:04 PM)

Basic Concepts
The DialupLoginInUse XML API checks the system to verify whether or not a provided dialup login is already in use.
The base URL of this API is http://api.cisp.com/DialupLoginInUse.XML.asp.
 
Input Variables
Name Description
ClientID Client code identifying the client information to access
Login Customer dialup account login
Name Min Max Type Required
ClientID 4 4 String True
Login N/A N/A String True
 
Return Document
The return value is a standard XML document with ICOP as the root node.
Each section of the output variables listed below is a child node to the ICOP node. Each parameter within that section is an attribute to that section's node.
Validate Output Variables
Name Description Type
LOGIN Dialup login that has been checked String
IN_USE Boolean value of whether the login is alredy in use Boolean
 
Sample Output
<?xml version="1.0" ?>
<ICOP>
- <DIALUP_LOGIN_IN_USE LOGIN="john@login.com" IN_USE="True" />
</ICOP>
 
Sample ASP Code
<%
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.cc/DialupLoginInUse.XML.asp?ClientID=DEMO&Login=john@login.com"

' 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("DialupLoginInUse.xsl")

' Transform the xml with the xsl stylesheet and write the result HTML
Response.Write objXML.transformNode(objXSL)
%>