'Declaration
Public Overloads Function LogLeadPhone( _ ByVal leadObjid As Integer, _ ByVal contactFirstName As String, _ ByVal contactLastName As String, _ ByVal contactPhone As String, _ ByVal duration As TimeSpan _ ) As ToolkitResult
public ToolkitResult LogLeadPhone( int leadObjid, string contactFirstName, string contactLastName, string contactPhone, TimeSpan duration )
The objid of the lead must be specified (since no other information on the lead is unique), and the description (phone text). A contact for the log must be specified. If the lead is also the contact (and not a real contact), then leave the first, last, and phone fields blank, and this will use the lead as the contact. The length of the phone call (in seconds) must be supplied.
There are a variety of optional items that can be set, including the action type of the call, when the call started, and who logged the call.
The API can also generate a time bomb (for business rule notification).
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family