fcSDK Documentation
LogLeadPhone(Int32,String,String,String,TimeSpan) Method

The objid of the lead for the phone log.
Contact's first name.
Contact's last name.
Contact's phone number.
Time that the phone call lasted.
Log a phone call for a Lead. This overload takes a set of required parameters for the API.
Syntax
'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

Parameters

leadObjid
The objid of the lead for the phone log.
contactFirstName
Contact's first name.
contactLastName
Contact's last name.
contactPhone
Contact's phone number.
duration
Time that the phone call lasted.

Return Value

The following values are populated in the ToolkitResult object returned by the API method:
  • Objid - The Objid of the PhoneLog.
Remarks

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).

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Reference

SalesToolkit Class
SalesToolkit Members
Overload List

 

 


© 2010 Dovetail Software, Inc. - All rights reserved.
- Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
- .NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.

Send comments on this topic.