The lead represents a connection to an employee of an organization for which there is an interest in developing a business opportunity. Leads should initially be considered as a pre-contact or unqualified contact. LEads can be converted into real contacts (org, per) and even into real sale opportunities (sop).

Database level

The entity's attributes are shown below. Mandatory fields are marked with a red star:

NameTypeLabelDescription
form *String
Respresents the entity form. Will always be "lea".
lea_date*Time/Date
Respresents the creation date of the lead.
lea_per_lastname*StringLastnameRespresents the lastname of the new contact person document.
lea_per_unidString
Respresents the unique ID of the new contact person document.
lea_name*Time/DateTitleA short title representing the purpose of the aquired new contact.
lea_nr*String
Respresents the lead number. Will always be "L-YYxxxx" as serial number, that automatically increments by 1 as each new record is added.
lea_org_name*String
The name of the organisation within new contact person is employeed.
lea_org_unid*String
The unique ID of the organisation within new contact person is employeed.
lea_2firstnameString
Additional name of the organisation within new contact person is employeed.
lea_addresstoString
The address of the organisation within new contact person is employeed.
lea_addr_country_oString
The country adress of the organisation within new contact person is employeed as ISO abbreviation.
lea_addr_country_o_textString
The country address of the organisation within new contact person is employeed.
lea_addr_locality_oString
The lovality address of the organisation within new contact person is employeed.
lea_addr_street_oString
The street address of the organisation within new contact person is employeed.
lea_addr_street_zip_oString
The ZIP address of the organisation within new contact person is employeed.
lea_cch_email_oString
The email address of the organisation within new contact person is employeed.
lea_cch_fax_oString
The fax number. of the organisation within new contact person is employeed.
lea_cch_mobile_oString
The mobile number.
lea_cch_phone_oString
The phone number.
lea_cch_phone_pString
The personal phone number.
lea_cch_website_oString
The website address of the organisation within new contact person is employeed.
lea_descString
Detailed description of the lead.
lea_languageString
Represents the preferred language fotr the new contact.
lea_notesString
Notes about te lead.
lea_org_industryString
The industry to which the contacted person's organization belongs.
lea_per_org_functionString
The position that the contacted person has within the organization.
lea_per_firstnameString
Represents the firstname of the new contact person.
lea_rating*String
Will always be one of {100, 200, 300}
lea_rating_text*String
Will always be one of {less, promising, promising, very promising}
lea_sop_unidString
The unique ID of the opportunity in case the lead is going to be closed as an opportunity. 
lea_sourceString
Represents the state of the lead's source as a number. Will always be one of {100, 200, 300, 400, 500}
lea_source_textString
Represents the state of the lead's source as text. 
lea_stateNumber
Represents the state of the lead as a number. Will always be one of {100, 200}.
lea_state_textString
Represents the state of the lead as text. Will always be one of {open, closed}.

QEE classes level

The class representing the Lead is QEELea.

Inherits from: QEEObject

REST level

The endpoints dealing with Lead are:

xrLea (GET, POST, PUT, DELETE)

xrLeas (GET, PUT, DELETE)