Siebel CRM Web Services Reference > Siebel CRM Primary Web Services >

CreateLeads Web Service


Use this Web service to create leads in the Siebel database. If the Web service returns a given contact's details, and if those details match an existing contact in the Siebel database, then the Web service creates a lead based on the existing contact's information. If the contact does not exist in the Siebel database, then the Web service creates a new contact record, and creates a new lead from the new contact.

The new lead can be associated with any existing campaign using the Source Code parameter. The Source Code parameter must be retrieved from the ID or Source ID field of the GetCampaigns Web service response. For more information, see GetCampaigns Web Service.

CreateLeads Web Service Operations

For a list of operations associated with this Web service, see Table 108.

Table 108. CreateLeads Web Service operations
Name
Description

CreateLeads

Creates a lead with provided details. It performs a deduplication operation on lead details, and if the lead does not match an existing lead, creates a new lead.

Request Message Description: CreateLeads

For a description of this request message, see Table 109.

Table 109. Request Message Description: CreateLeads
Node
Description
Type

Lead IO

Used to describe leads. Performs a deduplication operation based on information returned from the node. If required a new contact is created.

Integration Object

Mktg Social Data IO

Used to capture social posts data related to a lead. You can associate multiple social posts to the same lead..

Integration Object

Mktg SM Personal Address IO

Extracts a new lead address from social posts.

Integration Object

Response Message Description: CreateLeads

Supplies the success status for Lead creation. It issues an error message (if any) or a lead ID if the lead creation was successful. For a description of this response message, see Table 110.

Table 110. Response Message Description: CreateLeads
Node
Description
Type

Success Flag

Indicates the status of the CreateLead operation. Status is:

Yes if lead is created properly, then No if not.

String

Error Message

A descriptive error message of the particular issue that occurred during lead creation.

The Duplicate Lead message indicates the operation is attempting to create a leads that is already in the database.

String

Lead ID

The unique ID of the new lead.

String

CreateLeads Web Service Application Interface

This topic describes the application objects called by this Web service. For more information on application implementation, refer to your application development documentation on Oracle Technology Network.

Service Object (Business Service or Workflow)

For a description of the service objects for this Web service, see Table 111.

Table 111. CreateLeads Service Object
Name
Boundary Object Type
Class (If Business Service)

SocialMediaService

Business Service

CSSSocialService

Data Object (Integration Object)

For a description of data objects for this Web service, see Table 112.

Table 112. CreateLeads Web Service Data Object
Siebel Repository Name
External Name

LeadIO

ListofLeadIO

MktgSocialDataIO

ListOfMktgSocialDataIO

MktgSMPersonalAddressIO

ListOfMktgSMPersonalAddressIo

Methods

For a description of the methods for this Web service, see Table 113.

Table 113. CreateLeads Web Service Methods
Operation
Method

CreateLeads

CreateLeads

Example Package for CreateLeads Web Service

To view an example of messages for this Web service, navigate to the documentation library for Siebel Business Applications on Oracle Technology Network, and click the Related Files link next to the link for Siebel CRM Web Services Reference to access a zip file. Extract the files in the zip file.

Request

See the following file to view the sample code:

...\CreateLeadsWebService\CreateLeads_req.xml

Response

See the following file to view the sample code:

...\CreateLeadsWebService\CreateLeads_resp.xml

Interface Description (WSDL) for CreateLeads Web Service

To view the interface description for this Web service, navigate to the documentation library for Siebel Business Applications on Oracle Technology Network, and click the Related Files link next to the link for Siebel CRM Web Services Reference to access a zip file. Extract the files in the zip file.

...\CreateLeadsWebService\CreateLeads.wsdl

Siebel CRM Web Services Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.