The article explains the XML formats for verifying licenses via CEBroker web services. For non-Florida licenses, use the tag with the full license number. For Florida licenses, either the tag with the full number or the tag with just the numeric portion can be used. Examples of XML requests and responses for valid and invalid licenses are provided.
Examples of XML License Validation
Verifying Non-Florida Licenses
When verifying licenses outside of Florida, you must use the following format. This format uses the <license> tag, which will include the complete license number.
Test the format here: XML Test String
XML Sent From Your System:
<?xml version="1.0"?>
<licensees id_parent_provider="1234" upload_key="QQQ01ABC">
<licensee>
<licensee_profession>E</licensee_profession>
<cebroker_state>OH</cebroker_state>
<license>E.99999999</license>
</licensee>
</licensees>
XML Response:
<string xmlns="https://webservices.cebroker.com/">
<licensees><licensee valid="true" State="OH" licensee_profession="E" licensee_number="" state_license_format="E.99999999" first_name="JANE" last_name="DOE" ErrorCode="" Message="" TimeStamp="2/4/2019 9:41:43 PM" /></licensees>
</string>
<string xmlns="https://webservices.cebroker.com/>
<licensees><licensee valid="false" State="OH" licensee_profession="E" licensee_number="" state_license_format="PQ.99999999" first_name="" last_name="" ErrorCode="80" Message="Invalid license Number" TimeStamp="7/11/2019 9:18:59 AM" /></licensees></string>
XML Sent From Your System:
<?xml version="1.0"?>
<licensees id_parent_provider="1234" upload_key="QQQ01ABC">
<licensee>
<licensee_profession>SA</licensee_profession>
<cebroker_state>FL</cebroker_state>
<license>SA99999999</license>
</licensee>
</licensees>
XML Response:
<string xmlns="https://webservices.cebroker.com/">
<licensees><licensee valid="true" State="FL" licensee_profession="SA" licensee_number="" state_license_format="" first_name="JANE" last_name="DOE" ErrorCode="" Message="" TimeStamp="2/4/2019 9:42:53 PM" /></licensees>
</string>
<string xmlns="https://webservices.cebroker.com/">
<licensees><licensee valid="false" State="FL" licensee_profession="ME" licensee_number="" state_license_format="ME1234567" first_name="" last_name="" ErrorCode="80" Message="Invalid license Number" TimeStamp="7/11/2019 9:23:16 AM" /></licensees>
</string>
</string>
OR
(This format uses the <licensee_number> tag which will include only the numeric portion of the license number)
XML Sent From Your System:
<?xml version="1.0"?>
<licensees id_parent_provider="1234" upload_key="QQQ01ABC">
<licensee>
<licensee_profession>SA</licensee_profession>
<cebroker_state>FL</cebroker_state>
<licensee_number>99999999</licensee_number>
</licensee>
</licensees>
XML Response:
<string xmlns="https://webservices.cebroker.com/>
<licensees><licensee valid="true" State="FL" licensee_profession="SA" licensee_number="" state_license_format="" first_name="JANE" last_name="DOE" ErrorCode="" Message="" TimeStamp="2/4/2019 9:42:53 PM" /></licensees>
</string>
<string xmlns="https://webservices.cebroker.com/">
<licensee valid="false" licensee_profession="" licensee_number="145678"
first_name="" last_name="" Message="Invalid license Number" TimeStamp="4/01/2009 1:32:45 PM" />
</licensees></string>