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.

Parent Objects

Account, Campaign, Contact, Opportunity, Team

Child Components

Activity, Attachment, Book, Campaign.

For information about using attachments with this object, see Using Attachments with Web Services On Demand

Methods Called

The following table details the methods called by the Lead service.

Table Methods Called by Lead Service

Method Name as Defined in Service

Delete

LeadDelete

DeleteChild

LeadDeleteChild

Insert

LeadInsert

InsertChild

LeadInsertChild

InsertOrUpdate

LeadInsertOrUpdate

QueryPage

LeadQueryPage

Update

LeadUpdate

UpdateChild

LeadUpdateChild

Fields

The following table details the required and read-only fields for the lead object.

Table Required and Read-Only Fields for the Lead Object

Child Component Field Name Type

Lead (parent)

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

Activity

AccountLocation

Read-only

CreatedDetail

Read-only

Lead

Read-only

LeadExternalId

Read-only

MEEventName

Read-only

CreatedbyEmailAddress

Read-only

ModifiedbyEmailAddress

Read-only

DescriptionShadow

Read-only

Duration

Read-only

Audit Fields

Read-only

Attachment

DisplayFileName

Required

FileNameOrURL

Required

FileDate

Read-only

FileSize

Read-only

LeadId

Read-only

Id

Read-only

ModId

Read-only

Audit Fields

Read-only

Book

BookName

Required

BookId

Read-only

SystemAssociateFlag

Read-only

ModId

Read-only

Audit Fields

Read-only

The following table details the status key for the lead object.

Table Status Key for the Lead Object

Child Component Field Name

Lead (parent)

Audit Fields

AccountId

CampaignId

ContactId

ExternalSystemId

Id

IntegrationId

LastUpdated

OpportunityId

Activity

Audit Fields

ExternalSystemId

Id

IntegrationId

LeadId

Attachment

Audit Fields

Id

LeadId

Book

Audit Fields

BookId

ModId

The following table details the pick map fields for the lead object.

Table Pick Map Fields for the Lead Object

Child Component Pick Map Field Maps To

Lead (parent)

Campaign

CampaignId

OpportunityName

OpportunityId

Owner

OwnerId

AccountExternalSystemId

AccountId

OpportunityExternalSystemId

OpportunityId

ContactExternalSystemId

ContactId

CampaignExternalSystemId

CampaignId

ReferredByExternalSystemId

ReferredById

Activity

AccountIntegrationId

AccountId

AccountExternalId

AccountId

Address

AddressId

AssignedTo

AssignedToId

CampaignExternalId

CampaignId

CampaignIntegrationId

CampaignId

DelegatedBy

DelegatedById

Dealer

DealerId

FundRequest

FundRequestId

OpportunityIntegrationId

OpportunityId

OpportunityExternalId

OpportunityId

PrimaryContactIntegrationId

PrimaryContactId

PrimaryContactExternalId

PrimaryContactId

LeadIntegrationId

LeadId

LeadExternalId

LeadId

OwnerExternalId

OwnerId

OwnerIntegrationId

OwnerId

SRIntegrationId

SRId

SRExternalId

SRId

CustomObject1Name

CustomObject1Id

CustomObject2Name

CustomObject2Id

CustomObject3Name

CustomObject3Id

Book

BookName

BookId

The following table provides a list of the filterable fields for the child components of the lead object, and a list of user key combinations for each child component.

Table Filterable Fields and User Key Fields on the Lead Object’s Child Components

Child Components Filterable Fields User Key Field Combinations

Lead (parent)

All

LeadId

IntegrationId

ExternalSystemId

LeadFirstName and LeadLastName

Description

Activity

Type

Type and Description

Owner

IntegrationId

Subject

ExternalSystemId

DueDate

Priority

Status

Attachment

None

Id

ExternalSystemId

FileNameOrURL and FileExtension

Book

None

BookId

BookName

Partner

None

PartnerIntegrationId

PartnerExternalSystemId

The following table details the picklists available for the lead object.

Table Picklists Available for the Lead Object

Field Name

AssessmentCategory1 through AssessmentCategory4

Country

IndexedPick0 through IndexedPick5

LeadType

MrMrs

OwnershipStatus

Rating

Source

StateProvince

Status

For more information on the fields accessible through the Lead Web service, go to the Web Services Administration page within the Oracle CRM On Demand application and generate the WSDL file for the lead object.