LEADQ SDK





powered by marketing intelligence
LeadQ Tracker SDK  
Sample Form  
Field definitions  
Code Samples  
Docs  
CURRENT USER
not logged on
  Posting definitions  
Type Length Options Test form Endpoint validation
Miscellenious ids
formId * Guid REGEX GUID
campaignId * Guid REGEX GUID
formStep * int
productId Guid REGEX GUID
 
Lead properties
leadFirstName nvarchar 50
leadLastName nvarchar 50
leadPrefixes nvarchar 50
leadBirthDate datetime - Format:(yyyy/mm/dd)
leadBirthDateFormat int - 0=Day, month and year are known,
1=Year is known, ignore day and month,
2=Day and month are known, ignore year
leadGender char 1 F=Female,
M=Male,
U=Unknown/ hard to tell
REGEX GENDER
 
Address properties
leadStreet nvarchar 50
leadHouseNo nvarchar 50
leadHouseNoAdd nvarchar 10
leadZipcode nvarchar 6
leadCity nvarchar 50
leadProvence nvarchar 50
 
Phone properties
leadPhoneWork nvarchar 15 REGEX PHONE
leadPhonePrivate nvarchar 15 REGEX PHONE
 
Mail properties
leadEmail nvarchar 150 REGEX EMAIL
leadKeepInformed bit 1 1 - Yes, 0 - No
 
Special properties
leadMemo ntext -
leadAmount double - eg: 3000,85
leadXMLData ntext - valid xml
 
Callcenter properties
flowId Guid REGEX GUID
flowItemStateId int 0 = new
flowItemInternalRef string 50
flowItemPrefferedCallTime char 1 M=morning,
A=afternoon,
E=evening
 
Regular expressions definitions
EMAIL ^([-_a-z0-9\.]+)?([-_a-z0-9\+]+)@([-_a-z0-9\.]+)\.([-a-z0-9]{2,9})$
PHONE ^(0800|0900|0909|0906)[0-9]{4,11}$|^(00|0|\+)(31?[1-9][0-9]{8}|(?!31)[1-9][0-9]{4,12})$|^0[1-9][0-9]{8}$
GENDER [fFmMuU]
GUID [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$
IP \b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b