LogLeadPhone(LogLeadPhoneSetup) Method
Setup object for API invocation.
Log a phone call for a Lead. This overload takes a setup object.
Syntax
'Declaration
Public Overloads Function LogLeadPhone( _
ByVal _setupParam_ LogLeadPhoneSetup _
) As ToolkitResult
public ToolkitResult LogLeadPhone(
LogLeadPhoneSetup _setupParam_
)
Parameters
setupParam
Setup object for API invocation.
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 family
Reference
SalesToolkit Class
SalesToolkit Members
Overload List
LogLeadPhoneSetup Class