Oracle Web Services On Demand Guide > Oracle CRM On Demand Objects Accessible Through Web Services > Core Parent Objects (Web Services v2.0) >

Lead


The lead object stores information on a company or individual with whom an opportunity can be created. It allows the user to identify the companies that might be interested in a product or service. Leads are usually generated as part of a marketing campaign.

NOTE:  A PrimaryAddressLine1 field is used to dynamically map the primary address field from an external application to the primary address field in Oracle CRM On Demand. For more information, see Mapping Primary Address Fields Using Web Services.

Qualifying Leads

In calls to the Execute method, you can specify operations to qualify, reject, or archive leads as follows:

  • <Lead operation="Qualify">
  • <Lead operation="Reject">
  • <Lead operation="Archive">

If the call is successful, the value of the Status field changes accordingly. For more information about qualifying leads, see Oracle CRM On Demand Online Help.

NOTE:  The qualify, reject, and archive functionality is not available as an operation in the Lead WSDL file.

Child Objects

Activity, Attachment, Book, Custom Object 1 through 3, Custom Object 4 through 15, Deal Registration, Event, Team.

Methods Called

Table 368 details the methods called by the Lead service.

Table 368. Methods Called by Lead Service
Method
Name as Defined in Service

Delete

LeadDelete

Execute

LeadExecute

Insert

LeadInsert

QueryPage

LeadQueryPage

Update

LeadUpdate

Fields

Table 369 details the required and read-only fields for the lead object.

Table 369. Required and Read-Only Fields for the Lead Object
Field Name
Type

FirstName

Required

LastName

Required

LeadOwner

Required

ContactFullName

Read-only

Audit Fields

Read-only

LastUpdated

Read-only

LeadConcatField

Read-only

LeadFullName

Read-only

ReferredById

Read-only

Table 370 details the pick map fields for the lead object.

Table 370. Pick Map Fields for the Lead Object
Pick Map Field
Maps To

Campaign

CampaignId

OpportunityName

OpportunityId

Owner

OwnerId

AccountExternalSystemId

AccountId

OpportunityExternalSystemId

OpportunityId

ContactExternalSystemId

ContactId

CampaignExternalSystemId

CampaignId

ReferredByExternalSystemId

ReferredById

Table 371 provides a list of the user key combinations of the lead object.

Table 371. User Key Fields on the Lead Object
User Key Field Combinations

Id

ExternalSystemId

LeadFirstName and LeadLastName

Table 372 details the picklists available for the lead object.

Table 372. Picklists Available for the Lead Object
Field Name

AssessmentCategory1 through AssessmentCategory4

IndexedPick0 through IndexedPick0

LeadType

MrMrs

OwnershipStatus

Rating

RejectCode

Source

Oracle Web Services On Demand Guide, Version 21.0 (Oracle CRM On Demand Release 33) Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.