PhoneVerify


Click here for a complete list of operations.

CheckPhoneNumbers

This method is the same as CheckPhoneNumber, although you are allowed to insert an array of phone numbers to be validated.

For more information, please visit our wiki.

Test

The test form is only available for methods with primitive types as parameters.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /phoneverify/phoneverify.asmx HTTP/1.1
Host: ws.cdyne.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ws.cdyne.com/PhoneVerify/query/CheckPhoneNumbers"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CheckPhoneNumbers xmlns="http://ws.cdyne.com/PhoneVerify/query">
      <PhoneNumbers>
        <string>string</string>
        <string>string</string>
      </PhoneNumbers>
      <LicenseKey>string</LicenseKey>
    </CheckPhoneNumbers>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CheckPhoneNumbersResponse xmlns="http://ws.cdyne.com/PhoneVerify/query">
      <CheckPhoneNumbersResult>
        <PhoneReturn>
          <Company>string</Company>
          <Valid>boolean</Valid>
          <Use>string</Use>
          <State>string</State>
          <Switch>string</Switch>
          <RC>string</RC>
          <OCN>string</OCN>
          <OriginalNumber>string</OriginalNumber>
          <CleanNumber>string</CleanNumber>
          <SwitchName>string</SwitchName>
          <SwitchType>string</SwitchType>
          <Country>string</Country>
          <CLLI>string</CLLI>
          <PrefixType>string</PrefixType>
          <LATA>string</LATA>
          <sms>string</sms>
          <Email>string</Email>
          <AssignDate>string</AssignDate>
          <TelecomCity>string</TelecomCity>
          <TelecomCounty>string</TelecomCounty>
          <TelecomState>string</TelecomState>
          <TelecomZip>string</TelecomZip>
          <TimeZone>string</TimeZone>
          <Lat>string</Lat>
          <Long>string</Long>
          <Wireless>boolean</Wireless>
          <LRN>string</LRN>
        </PhoneReturn>
        <PhoneReturn>
          <Company>string</Company>
          <Valid>boolean</Valid>
          <Use>string</Use>
          <State>string</State>
          <Switch>string</Switch>
          <RC>string</RC>
          <OCN>string</OCN>
          <OriginalNumber>string</OriginalNumber>
          <CleanNumber>string</CleanNumber>
          <SwitchName>string</SwitchName>
          <SwitchType>string</SwitchType>
          <Country>string</Country>
          <CLLI>string</CLLI>
          <PrefixType>string</PrefixType>
          <LATA>string</LATA>
          <sms>string</sms>
          <Email>string</Email>
          <AssignDate>string</AssignDate>
          <TelecomCity>string</TelecomCity>
          <TelecomCounty>string</TelecomCounty>
          <TelecomState>string</TelecomState>
          <TelecomZip>string</TelecomZip>
          <TimeZone>string</TimeZone>
          <Lat>string</Lat>
          <Long>string</Long>
          <Wireless>boolean</Wireless>
          <LRN>string</LRN>
        </PhoneReturn>
      </CheckPhoneNumbersResult>
    </CheckPhoneNumbersResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /phoneverify/phoneverify.asmx HTTP/1.1
Host: ws.cdyne.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CheckPhoneNumbers xmlns="http://ws.cdyne.com/PhoneVerify/query">
      <PhoneNumbers>
        <string>string</string>
        <string>string</string>
      </PhoneNumbers>
      <LicenseKey>string</LicenseKey>
    </CheckPhoneNumbers>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CheckPhoneNumbersResponse xmlns="http://ws.cdyne.com/PhoneVerify/query">
      <CheckPhoneNumbersResult>
        <PhoneReturn>
          <Company>string</Company>
          <Valid>boolean</Valid>
          <Use>string</Use>
          <State>string</State>
          <Switch>string</Switch>
          <RC>string</RC>
          <OCN>string</OCN>
          <OriginalNumber>string</OriginalNumber>
          <CleanNumber>string</CleanNumber>
          <SwitchName>string</SwitchName>
          <SwitchType>string</SwitchType>
          <Country>string</Country>
          <CLLI>string</CLLI>
          <PrefixType>string</PrefixType>
          <LATA>string</LATA>
          <sms>string</sms>
          <Email>string</Email>
          <AssignDate>string</AssignDate>
          <TelecomCity>string</TelecomCity>
          <TelecomCounty>string</TelecomCounty>
          <TelecomState>string</TelecomState>
          <TelecomZip>string</TelecomZip>
          <TimeZone>string</TimeZone>
          <Lat>string</Lat>
          <Long>string</Long>
          <Wireless>boolean</Wireless>
          <LRN>string</LRN>
        </PhoneReturn>
        <PhoneReturn>
          <Company>string</Company>
          <Valid>boolean</Valid>
          <Use>string</Use>
          <State>string</State>
          <Switch>string</Switch>
          <RC>string</RC>
          <OCN>string</OCN>
          <OriginalNumber>string</OriginalNumber>
          <CleanNumber>string</CleanNumber>
          <SwitchName>string</SwitchName>
          <SwitchType>string</SwitchType>
          <Country>string</Country>
          <CLLI>string</CLLI>
          <PrefixType>string</PrefixType>
          <LATA>string</LATA>
          <sms>string</sms>
          <Email>string</Email>
          <AssignDate>string</AssignDate>
          <TelecomCity>string</TelecomCity>
          <TelecomCounty>string</TelecomCounty>
          <TelecomState>string</TelecomState>
          <TelecomZip>string</TelecomZip>
          <TimeZone>string</TimeZone>
          <Lat>string</Lat>
          <Long>string</Long>
          <Wireless>boolean</Wireless>
          <LRN>string</LRN>
        </PhoneReturn>
      </CheckPhoneNumbersResult>
    </CheckPhoneNumbersResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /phoneverify/phoneverify.asmx/CheckPhoneNumbers?PhoneNumbers=string&PhoneNumbers=string&LicenseKey=string HTTP/1.1
Host: ws.cdyne.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfPhoneReturn xmlns="http://ws.cdyne.com/PhoneVerify/query">
  <PhoneReturn>
    <Company>string</Company>
    <Valid>boolean</Valid>
    <Use>string</Use>
    <State>string</State>
    <Switch>string</Switch>
    <RC>string</RC>
    <OCN>string</OCN>
    <OriginalNumber>string</OriginalNumber>
    <CleanNumber>string</CleanNumber>
    <SwitchName>string</SwitchName>
    <SwitchType>string</SwitchType>
    <Country>string</Country>
    <CLLI>string</CLLI>
    <PrefixType>string</PrefixType>
    <LATA>string</LATA>
    <sms>string</sms>
    <Email>string</Email>
    <AssignDate>string</AssignDate>
    <TelecomCity>string</TelecomCity>
    <TelecomCounty>string</TelecomCounty>
    <TelecomState>string</TelecomState>
    <TelecomZip>string</TelecomZip>
    <TimeZone>string</TimeZone>
    <Lat>string</Lat>
    <Long>string</Long>
    <Wireless>boolean</Wireless>
    <LRN>string</LRN>
  </PhoneReturn>
  <PhoneReturn>
    <Company>string</Company>
    <Valid>boolean</Valid>
    <Use>string</Use>
    <State>string</State>
    <Switch>string</Switch>
    <RC>string</RC>
    <OCN>string</OCN>
    <OriginalNumber>string</OriginalNumber>
    <CleanNumber>string</CleanNumber>
    <SwitchName>string</SwitchName>
    <SwitchType>string</SwitchType>
    <Country>string</Country>
    <CLLI>string</CLLI>
    <PrefixType>string</PrefixType>
    <LATA>string</LATA>
    <sms>string</sms>
    <Email>string</Email>
    <AssignDate>string</AssignDate>
    <TelecomCity>string</TelecomCity>
    <TelecomCounty>string</TelecomCounty>
    <TelecomState>string</TelecomState>
    <TelecomZip>string</TelecomZip>
    <TimeZone>string</TimeZone>
    <Lat>string</Lat>
    <Long>string</Long>
    <Wireless>boolean</Wireless>
    <LRN>string</LRN>
  </PhoneReturn>
</ArrayOfPhoneReturn>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /phoneverify/phoneverify.asmx/CheckPhoneNumbers HTTP/1.1
Host: ws.cdyne.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

PhoneNumbers=string&PhoneNumbers=string&LicenseKey=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfPhoneReturn xmlns="http://ws.cdyne.com/PhoneVerify/query">
  <PhoneReturn>
    <Company>string</Company>
    <Valid>boolean</Valid>
    <Use>string</Use>
    <State>string</State>
    <Switch>string</Switch>
    <RC>string</RC>
    <OCN>string</OCN>
    <OriginalNumber>string</OriginalNumber>
    <CleanNumber>string</CleanNumber>
    <SwitchName>string</SwitchName>
    <SwitchType>string</SwitchType>
    <Country>string</Country>
    <CLLI>string</CLLI>
    <PrefixType>string</PrefixType>
    <LATA>string</LATA>
    <sms>string</sms>
    <Email>string</Email>
    <AssignDate>string</AssignDate>
    <TelecomCity>string</TelecomCity>
    <TelecomCounty>string</TelecomCounty>
    <TelecomState>string</TelecomState>
    <TelecomZip>string</TelecomZip>
    <TimeZone>string</TimeZone>
    <Lat>string</Lat>
    <Long>string</Long>
    <Wireless>boolean</Wireless>
    <LRN>string</LRN>
  </PhoneReturn>
  <PhoneReturn>
    <Company>string</Company>
    <Valid>boolean</Valid>
    <Use>string</Use>
    <State>string</State>
    <Switch>string</Switch>
    <RC>string</RC>
    <OCN>string</OCN>
    <OriginalNumber>string</OriginalNumber>
    <CleanNumber>string</CleanNumber>
    <SwitchName>string</SwitchName>
    <SwitchType>string</SwitchType>
    <Country>string</Country>
    <CLLI>string</CLLI>
    <PrefixType>string</PrefixType>
    <LATA>string</LATA>
    <sms>string</sms>
    <Email>string</Email>
    <AssignDate>string</AssignDate>
    <TelecomCity>string</TelecomCity>
    <TelecomCounty>string</TelecomCounty>
    <TelecomState>string</TelecomState>
    <TelecomZip>string</TelecomZip>
    <TimeZone>string</TimeZone>
    <Lat>string</Lat>
    <Long>string</Long>
    <Wireless>boolean</Wireless>
    <LRN>string</LRN>
  </PhoneReturn>
</ArrayOfPhoneReturn>