CreateLead(String,String,String,LeadSiteType,String) Method
State for the lead.
Country for the lead.
Time zone for the lead.
The type of the site for the lead.
Name of the lead source.
Used to create a new Lead. This overload takes a set of required parameters for the API.
Syntax
'Declaration
Public Overloads Function CreateLead( _
ByVal _state_ As String, _
ByVal _country_ As String, _
ByVal _timeZone_ As String, _
ByVal _siteType_ As LeadSiteType, _
ByVal _leadSource_ As String _
) As ToolkitResult
public ToolkitResult CreateLead(
string _state_,
string _country_,
string _timeZone_,
LeadSiteType _siteType_,
string _leadSource_
)
Parameters
state
State for the lead.
country
Country for the lead.
timeZone
Time zone for the lead.
siteType
The type of the site for the lead.
leadSource
Name of the lead source.
Return Value
The following values are populated in the ToolkitResult object returned by the API method:
- Objid - The Objid of the Lead.
Remarks
For almost all of the data, it can be specified, or not.
The user who created the lead, and the date/time of the create can be specified. The API can also generate a time bomb (for business rules). Finally, additional fields may be set.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family