| The EmailLoginInUse XML API checks the system to verify whether or not a provided email login is already in use. |
| The base URL of this API is http://api.cisp.com/EmailLoginInUse.XML.asp. |
| |
| Name |
Description |
| ClientID |
Client code identifying the client information to access |
| Login |
Customer email account login |
|
| Name |
Min |
Max |
Type |
Required |
| ClientID |
4 |
4 |
String |
True |
| Login |
N/A |
N/A |
String |
True |
|
| |
| 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. |
| Name |
Description |
Type |
| LOGIN |
Email login that has been checked |
String |
| IN_USE |
Boolean value of whether the login is alredy in use |
Boolean |
|
| |
<?xml version="1.0" ?>
<ICOP>
- <EMAIL_LOGIN_IN_USE LOGIN="john@demo.com" IN_USE="True" />
</ICOP>
|
| |
<%
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/EmailLoginInUse.XML.asp?ClientID=DEMO&Login=john@demo.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("EmailLoginInUse.xsl")
' Transform the xml with the xsl stylesheet and write the result HTML
Response.Write objXML.transformNode(objXSL)
%>
|